Perform Action when user clicks on Android Notification
Hi guys I have code that displays an android notification and when someone clicks on that notification, the app comes to the foreground, if it was in the background before. But I want to additionally...
View ArticleAndroid Searchview Focus underline color (Not in Action bar)
Hello, I have a SearchView above a list of items. Due to the colors and styles in my application I want to be able to change the color of the underline. |___________| ^^^^^^^^^^^^^^ That Could it be...
View ArticleMerge multiple push notifications in tray (android)
I'm developing an app in Android using ACS push notification. For each notification received, it's displayed one by one, I want to know how can I merge them into only one notif item. I'm aware from the...
View ArticleSwitch tableview inside tab
Hello, I have a tabgroup, the 1st tab has a tableview with categories. When the user clicks one of categories, i want to hide the categories tableview and show another tableview with products. Also...
View ArticleError with select table: no such table
Hello! Im trying to work with .sqlite or .db in android and ios but Android is killing me. In ios, the code works fine but in android I have this problem: Uncaught Error: no such table: hotels (code...
View ArticleTitanium on Win7 (64 Bit)
Hi, after having massive problems to get it run, kitchensink starts - but only, when i start an emulator manually. Furthermore, the logging does not work. Andorid-sdk is 1.6, Win 7 (64Bit), 32-Bit...
View ArticleAndroid SDK Not Recognized, no solutions working...
I have been at this for days. I am running Windows 7, Core i7 3rd gen, laptop brand/model Toshiba Satellite P775. 1. Installed Titanium 2. Tried to install Android SDK from Get Started, installing 2.33...
View ArticleAndroid Show/Hide Status Bar
On Android how do you show or hide the status/notification bar on demand e.g. when the orientation changes to landscape, hide the status/notification bar?
View ArticleHow to refresh a window after removing a view?
Hi, I have a function that removes a view from a window, however the rest of the window doesn't resize to "fill in" the empty space the way it would if the view wasn't added in the first place. Is...
View Articlejava.lang.NullPointerException on...
Hello Folks, I currently have an application in the google play store and recevied a crash with the following stacktrace: java.lang.NullPointerException at...
View ArticleHiding the title bar in Android not working
I can't seem to hide the titlebar/navbar in my android app. I have set the navBarHidden and fullscreen properties in both my tiapp.xml and my app.jst: Â tiapp.xml:...
View Articlehow to have GPS function in Android with both route and compass function?
I have tried on Titanium map approach which provide route from point to point, however, there are no compass function inside. Next , I tried on Ti.Map's module approach, there are both route and...
View ArticleCustom URL Scheme - iPhone & Android
Hi, I am looking on how to implement the Custom URL Scheme feature (i.e launch the mobile app when clicking on a link in safari or e-mail) for both iPhone and Android. My goal is to send an e-mail with...
View ArticleHow to include Andro12C calculator with my Application
Am using 3.2.2 sdk, Alloy and Android Emulator. I came across some Financial Calculator and is it possible to include an external Android Calculator into my application. What is the procedure to...
View Articlejava.lang.NullPointerException
Hello everyone, I'm using titanium 3.3.0 in windows 7. I'm using a physical device. My problem is this error that suddenly appear: [ERROR] TiApplication: (main) [12572,13263] Sending event: exception...
View Articleresponse from HttpClient doesnt fill tablerowView
Hi, i am trying to connect to a URL using httpclient in my app , and it printed the response to the console but to print it on TABLEROW VIEW is printed empty , view my code below : var conn =...
View ArticleAndroid: TableView scroll event contentOffset returning null
Anyone has workaround for this issue? https://jira.appcelerator.org/browse/TIMOB-7877 This works for iOS but not for android.
View ArticleAndroid: background service stop working after 5-10 min
I've created sample two-tabbed Alloy application in Titanium studio. Created service bg.js in assets folder with the following code: Titanium.API.info('Hello World, I am a Service'); function update(){...
View ArticleCannot access iBeacons (com.liferay.beacons)
Hi, with this little snippet I make my first steps in this new world: var beacons = require('com.liferay.beacons'); beacons.setAutoRange(true); beacons.startMonitoringForRegion({ identifier : 'Region...
View ArticleHow do you insert a row after another without replacing the next?
I have invoked insertRowAfter() function like this: tableview.insertRowAfter(0, rowx); where var tableview is a tableView, 0 is number assigned to the row in the array, and var rowx is a pre-made row I...
View Article