Community Questions & Answers

Not able to run project using android emulator

When trying to run the project, it gives this error on my Ubuntu 13.10. These are the Errors: [ERROR] : Invalid "--device-id" value "titanium_1_WVGA800" [ERROR] Application Installer abnormal process termination. Process exit value was 1

Change status bar color on Android

I would like to have a white status bar on my Android app, rather than the standard black. Is is possible? I already have customized the theme for using a 9-patch splash screen and hiding the title bar. Probably there is an item to be set there but I did...

Alloy Collections- Two sets for same model

I am using alloy and loaded collection from my model as below. ~~~ var mycollections = Alloy.createCollection('mycollection'); mycollections.fetch({query: some_custom_query_with_few_columns_from_model}); ~~~ This load perfectly and my collections gets...

Best Practice, Events

Considering that after published the app's logic remains in Javascript is it more efficient to.. A. Have one event listener catch multiple click events and determine from the event's source what to do next. -or- B. Have multiple event listeners

converting pixel units to dp

My designer has given me a brand sheet and wireframes in pixel units, however pixels are not translating to "dp". If I maintain his requests, all the fonts and images are massive, not to mention Android and iPhone treat all these...

How To Update A Tabbed Table

I am trying to understand how to update a specific table with in a specific tab. Could some one assist me with the Syntax Code In My XML ~~~ <Tab title="Event List" icon="KS_nav_views.png"> <Window title="Event...

Picture on specific row

In tis function below, I need to show/hide an image (rowImg) on the clicked row. Like this is, the image only appears at the last row. Can anyone Help ! function processData() { var dCnt = 0; for ( dCnt = 0; dCnt < tableDataLoad.length;...

Alertbox buttons order in Android

I have a alertbox as follows, var dialog = Ti.UI.createAlertDialog({ buttonNames: ["Yes","No"], message: "Do you want to close this alert?", title: '' }); dialog.show(); I want the Yes button on the left and the No...

Return value from common js

Hi, I have created one common js named `test.js` (\Myproject\app\assets\test.js) . ~~~ exports.DisplayMessage = function(strMessage) { alert(strMessage); }; ~~~ I have used these js in my controller. ~~~ var testObj =...

Is Publish not working properly?

HI all i had done changes in application and those things are reflecting fine in simulator and emulator.I don't have problem with these.But the problem is when i clicked on my project and selected in publish then had generated apk for android but my...

Camera blurring pictures?

Hello, I've got a strange problem. The API Ti.Media.showCamera blurs my images. I uploaded to pictures for comparison. First screenshot taken with the normal device camera: [from device](http://cl.ly/image/3u1Z2S131Z1j) Second screenshot taken out of...

addClass / removeClass

Hello all, I am facing this problem: if I do ~~~ $.removeClass($.debugInfos, 'hidden'); ~~~ when the application is in the boot process (still showing the splash screen) the app crashes few moments later with a nullpointer exception. It does not crash...

barImage messed-up and status Bar black

Hello, yesterday i changed the SDK version from 3.2.0 to 3.2.1. Since that my barImage is absolutely messed-up and on every screen where the barImage should appear is a black statusbar or rather a simple black line with the height of the normal statusbar....

Ti.Storekit Broken-PLEASE HELP!!

I have the ti.storekit module enabled on my app, and keep getting: [ERROR] : ** BUILD FAILED ** [ERROR] : The following build commands failed: [ERROR] : Ld build/Debug-iphonesimulator/Gold\ Quest.app/Gold\ Quest normal i386 [ERROR] : (1 failure) When...

Android Module - defining menu using xml

I am developing an Android Module, I add my customised menu xml "context_menu.xml" to it by placing it in folder **/platform/android/res/menu/** in Module Project It can successfully packaged but when I include the module in another Mobile...

Emulation or Real Device Issues in Android

Running Studio 3.2.x and SDK 3.2.3 on OS X Mavericks and developing for iOS and Android. My app runs in iOS simulator but having tons of problem running same app in Android Emulator and Android device. Here are the errors I am getting: emulator:...

Showing 3,451-3,500 of 63,551 165 66 67 68 69 70 71 72 73 74 751272