Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (android)
Browsing all 7655 articles
Browse latest View live
↧

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 Article


Android 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 Article


Merge 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 Article

Switch 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 Article

Error 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 Article


Titanium 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 Article

Android 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 Article

Android 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 Article


How 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 Article


java.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 Article

Hiding 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 Article

how 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 Article

Custom 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 Article


How 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 Article

java.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 Article


response 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 Article

Android: 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 Article


Android: 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 Article

Cannot 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 Article

How 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
Browsing all 7655 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>