Community Questions & Answers

MapView region size in meters

I have to show some annotations on the map loaded with a call to one of my APIs that returns all the elements nearby, to do this I need to know that distance set my filter. Can you suggest a good way to figure out which is the visible area on the map...

Images uploading as .txt

I have an app created for both android and iPhone. I've notice that there are times that the Android app is uploading the images with the extension of .txt I was wondering if anyone has experienced this, if so how can I fix this.

fonts

Hi I am trying to implement custom fonts in Android. I don't know what I am doing wrong. I have downloaded a google font called lobster. And have placed the ttf file inside a font folder which I have placed inside the android folder. I am using titanium...

Studio does not detect any device

Good day, I am having a problem with the last update of Titanium Studio, since then, it does not recognize any devices or emulators attached to run/debud even when "adb devices" shows them. in "Run Configuration" there isn't any...

Check gps connected

Hello does anyone have any examples of how I check if GPS is turned on? Because the app can only work with it on. With the examples I tried it returns true even with gps turned off. sorry for bad english, I'm not flouente in English. Thanks.

Remove rows from picker

I want to show picker values based on selection of above field in form. For that purpose I need to remove picker rows and populate the new values. For IOS below code is working but for its throwing exception. Any idea? ~~~ var _col =...

Splash Screen image Not Displaying

Hi, I used customised splash screen in my titanium Android App with the name Default.png, anytime i run this App on any Android device instead of splash screen it shows black , and this same image, i used it in another project...

Facebook Module Issue

I updated titanium to the latest version (3.4.1.201410281727) and am now having a problem with the facebook module. It seems to function fine on iOS but I get the following error when trying to run the app on android. ~~~ 11-20 20:55:18.631:...

Android Webview is not taking cookie

Hi, I am redirecting to web view from titanium code through event firing/listening.After redirecting to webview html page I am setting cookie using document.cookie and redirecting to another html page using javascript location.href function.In that html...

Memory leak...

Using this code: index.js: ~~~ var args = arguments[0] || {}; function klik() { Alloy.createController("debug").getView().open(); $.destroy(); $.index.close(); } $.index.addEventListener("close", function()...

Android backbutton navigation

_I know this was asked before several times and I did my homework to try all proposed solutions with Titanium SDK 3.4.1GA. :)_ I've got 3 windows (A, B and C) in my application with a menu to switch between them. I want backbutton to behave exactly as...

Problem creating simple listView

Hi, I'm making a small app and I'm trying to show datas in a listview, following the listviews overview documentation, but i always get this error : ~~~ [ERROR] : XMLModule: (KrollRuntimeThread) [12,14305] Error parsing XML [ERROR] : XMLModule:...

window aplication activity

hi applications lagoons sometimes I realize that when the application is stopped before the data is saved and then re-opening the application asks whether you want to retrieve. In summary, it is possible to run a code in titanium when the activity stops...

Cannot unsubscribe from push channel

I am trying to implement a feature with which users can unsubscribe from a push notification channel. Subscribing to and receiving push notifications works just fine. However, unsubscribing gives an error: Failed to disable push -...

Showing 1-50 of 16,499 1 2 3 4 5 6330