Community Questions & Answers
Enabling Native Apps To Open File In Titanium App
Many native apps have the ability to open a file they have in another app. For example, if you have a pdf saved in iBooks it offers you the ability to open that file in another app, such as the generic mail app. How do I enable it such that, for example a...
error after new update
~~~ [ERROR] unable to sign jar: java.util.zip.ZipException: duplicate entry: lib/armeabi/libstlport_shared.so [ERROR] : Build process exited with code 1 [ERROR] : Project failed to build after 2m 21s 883ms ~~~
problem while running on device after the last update
~~~ [ERROR] Exception occured while building Android project: [ERROR] Traceback (most recent call last): [ERROR] File "C:\Users\Moghazy\AppData\Roaming\Titanium\mobilesdk\win32\3.1.0.GA\android\builder.py", line 2553, in <module> [ERROR] ...
QRcode Scanner Twist
I installed a module for QR code scanner, it works fine. After scan, It gives link and also information about parsed content. After on click on the link, it redirects to a website or the site where pdf's or ebooks could be downloaded. But if I want to...
android amulator 7in doesn't work
android amulator 7in doesn't work hegive me this message ~~~ [INFO] : Emulator process exited successfully [INFO] : Project built successfully in 13s 517ms [INFO] : Emulator not running, exiting... ~~~
how to reduce app size in android emulator
how to reduce app size in titanium appcelerator for android
Underscore.string or stringjs?
Hi, I want to know which one of string libraries (Underscore.string or stringsjs) is better for appcelerator or at all? I'm using Alloy 1.2.0 and Titanium 3.1.0GA
iPhone,iPad and Android Application not running using Ti.SDK 3.0.0GA, 3.0.2GA, 3.1.0GA
Hello Everyone, I have one problem,i have created Single Window Application project in Titanium for iPhone,iPad and Android using Ti.SDK 3.0.0GA, 3.0.2GA, 3.1.0GA. If i create project using Ti.SDK 3.0.0GA, 3.0.2GA, 3.1.0GA than it can not run...
Camera Functionality for IOS & Android
Titanium.Media.showCamera({ success:function(event) { // called when media returned from the camera Ti.API.debug('Our type was: '+event.mediaType); if(event.mediaType == Ti.Media.MEDIA_TYPE_PHOTO) { var...
Camera Functionality for IOS & Android
if (Ti.Platform.osname === 'iphone' || Ti.Platform.osname === 'ipad') { var win = Ti.UI.createWindow(); var recordVideoButton = Titanium.UI.createButton({title: 'Record A Video', bottom: 3, height: 30}); var recordVideo = function(){ ...
RBAC in alloy
Hi, I want to know how can RBAC in my appcelerator alloy project? What is your suggestion? Thanks
How to perform a search on the Database using searchBar
I've created an app for iOS and android platform which includes an sqlite database. I'm using tabBar and I've created a new window containing a searchBar. Can anyone pls tell me how can I use this search bar to search the database and display the search...
How to update the search Table
Hi all, I've created a app for iOS and android platform. I'm using tabBar. I've created a search window containing a separate seachBar and a table for recent search items. whenever i type in the searchBar i get the result in a new window but the problem...
Why Nobody is Answering My Question?
This is the [Link to my Question](http://developer.appcelerator.com/question/153694/how-to-refresh-the-table-view-data#comment-177994) and nobody is answering...at least tell what is it that i'm doing wrong here. Pls Help.
How to refresh the Table View Data
I've created an app using tabBar. I've created a separate search Window Containing a searchBar and a TableView to display the recent search items. Whenever the return event is fired a new window called searchresult.js opens up displaying the data searched....
Animate windows to left/right
Hi , How can i animate the two window .Like new window comes in from right side and current window goes out to left side . Titanium sdk :3.0.0
auto scroll
hi i am able to scroll the images using scrolllabel view tag now i want them to scroll automatically without any touch so plz help me i had tried it using setinterval but its not working
QRCODE SCANNER
I want to start a QRCODE Scanner application for IOS and Android. Please guide me about the modules
I want EULA to show only the first time
Hey guys I've been struggling on this one for a while. I built an EULA (End of User Lisence Agreement) that will come up when the app is opened. However, I ONLY want the EULA to come up the first time and after the user clicks accept to never come up...
How to enable the part search
I'm using tabBar for an iOS and android app which includes sqlite database. I've created a separate search window with a searchBar in it. This searchBar searches for the data in the database. But I'm facing a small problem. I have a table name subject in...
how to connect Database for appcelerator Mobile app?
Hi, Am using Titanium Studio 3.1.0.Now am doing simple Table app.i want to show some datas on tableview .i want to receive datas form database. 1.how to create database? 2.how to connect database? 3.how to display datas on tableview?
Getting the type of a UI element
HI, In Titanium how can I check the 'type' of a UI element. ie : var eventListner = function(e, object){ // is object of type 'Titanium.UI.Button' }
how to reduce app memory size?
hi, how to reduce appcelerator Mobile app memory size?
animation click
~~~ now i want to do when i click on view animate up and when i click again animate down like this $.dinnerView.addEventListener('click', function() { $.grayView_3.animate({ bottom : 120, duration : 200 }); }); i wont when i click again it be...
appcelerator with jquery mobile
Hi guys I am trying to follow this code : http://developer.appcelerator.com/question/121/use-of-jquery but it's just not working. I keep on getting can't find variable from my include. Please see my pastebin. http://www.pastebin.com/mPkPyuCz i've been...
console log message colors
Is there a way to set the color of the console output messages, e.g. Ti.API.info, Ti.API.debug, etc., a la IRC? I know that .error is red and trace is gray, but am being way too nitpicky wanting to organize my .info output with colors? Thanks.
multiple selection of rows
Application Type:mobile,platform:android,os:windows 7,Titanium sdk:3.1.0 I am able select multiple rows after selecting when I click the button the selected rows should be opened one by one.can anyone give me an idea...
Country issue
I have designed an event app in iPhone and it works here in india, but i want that app to run in singapore through iTunes and adhoc enterprise process. Its not getting installed over there. What must be the error. Phone use- Iphone 5 Titanium...
How to get the window's UIViewController inside an appcelerator iPhone's module ?
I'm trying to develop an Appcelerator module to use adwhirl inside appcelerator titanium studio. I'm currently doing it for iPhone. The AdWhirl SDK "wants" to know the UIViewController* instance for the view where i put the AdWhirl banner view....
Android Module "create" method can not be recognize
my problem is when i create a android module,it will auto create the "ExampleProxy.java" file in the project.in the js,I use below code,the module can work in app. var module = require('com.company.name'); var proxy =...
How to call single app.js file to multiple os platforms!
Am using Titanium Studio 3.1.0.i have iOS and android SDK's.Now i want to call single app.js file to multiple os platforms. here my code: (function() { var osname = Ti.Platform.osname, version = Ti.Platform.version, height =...
How to create navigation bar for iPhone android using appcelerator titanium?
Hi, How to create navigation bar for iPhone android using appcelerator titanium?
pagination as dots in android
am using scrollable view i need dots for pagination for android. is it possible?
how to call multiple platforms by single app.'s file!
Am using Titanium Studio 3.1.0. i have iOS and android sdk.now i want to run single app.'s file to call multiple os platforms by single app.js file. This is my code. (function() { var osname = Ti.Platform.osname, version =...
help me...
Am using multiple .js file in my android appcelerator application.whenever i run my application working fine in emulator but if i use by device thats loading first .js file only.i want to load all js files..plz any one help me...
App crash problem
Now am developing appcelerator simple application Now i have application crash problem.plz help me.
can we get the rowid value from sqlite database
var id = rs.fieldByName('rowid'); i gave like this but null value is getting any help
HelloWorld Run as Android Emulator Errors
Hello, When I run a Hello World project, the console trace this: [INFO] Titanium SDK version: 3.1.0 (04/09/13 12:45 485b313) [INFO] Waiting for the Android Emulator to become available [INFO] Fastdev server running, deploying in Fastdev mode [INFO]...
sqlite database
i need to retrieve the data from database as in the order it is in database one by one. is it possible. thanks
set effect color to camera android
How to set color effect white balance camera for android? Help me!!!
How to create a Favourite Button...
hey I'm new to titanium studio. I've created a project for both android and iOS platform which includes an sqlite database. Can anyone pls tell me how can I create a favourite button which when clicked saves the data and shows it on the favourites page or...
While launch the app i got this error in DDMS log.
I got the error this error while launch app in tablet. 06-07 17:18:17.612: E/AndroidRuntime(3852): at android.view.ViewRootImpl.setView(ViewRootImpl.java:496) 06-07 17:18:17.612: E/AndroidRuntime(3852): at...
Titanium Studio not recognizing that Android SDK is installed
Hi, When I try to run a sample hello world project, I get this error: **An Android SDK is missing. Titanium requires Android platform 2.2.** I click on the **Install or Update Android SDK** button, and the Android SDK Manager pops up, and spends about an...
Advanced documentation for titanium sdk
Hi to all, I'm preparing an entire thesis argument based over titanium platform and on it's components and their functions( kroll/bridge, v8 for android, javascriptcore for ios, platform structure, interactions beetween platform components, etc... ): can...
Best practice for developing
Hi, - Alloy 1.2 - Appcelerator SDK: 3.1.0GA - iOS and Android I want to know what is the best practices for developing in appcelerator? Like best practice for **opening windows**, **access to local and general objects**, **working with database**,...
Multiple Reminders Issue, Data from WebView
~~~ exports.WebView = function() { var self = Ti.UI.createWebView({ width: '100%', height: '100%', }); self.openUrl = function(url) { // remove...
Dollar sign does not show in iOS ( ipad )
When I use String.formatCurrency(price) the Dollar sign ( $ ) shows unknown symbol
problem while running app in android
[INFO][dalvikvm-heap( 402)] Grow heap (frag case) to 3.772MB for 117088-byte allocation. this is the error am getting when running app any titanium appcelerator. upto flash screen it is working. can anyone please say what is the reason.
Tricky Table View..Please Help
~~~ function Table(){ var win1=Titanium.UI.createWindow(); var url='https://www.shobiziems.com/titanium/sap_user/get_venuemap.php'; var xhr=Ti.Network.createHTTPClient({ onload: function(){ Ti.API.debug(this.responseText); var...
Error creating custom field on photo
I am trying to attach a custom string to a photo which a user uploads on the server. I use the following method: ~~~ Map<String, Object> data = new HashMap<String, Object>(); data.put("photo", f); data.put("custom_fields",...