Push notification GCM for android and iOS ?
Hello i found many examples to add gcm notification into my project for android and ios , but all are old , and when i used them i got many errors , so can any one just tell me how to add GCM to my app...
View ArticleTitanium.UI.TableViewSection.headerView
i have a problem with Titanium.UI.TableViewSection.headerView headerView not works.//.... var customView = Ti.UI.createView({height:'auto'}); Â var customLabel = Ti.UI.createLabel({ top:10, bottom:10,...
View ArticleTableViewSection.headerView doesn't work
Hi, I've a problem with tableViewSection.headerView. Here is my simple code of app.js:Titanium.UI.setBackgroundColor('#000'); var win1 = Titanium.UI.createWindow({ title:'Tab 1', backgroundColor:'#fff'...
View ArticleIs it possible to catch Fatal Signal errors?
Hi, after some modifications on my app now I no longer get IllegalStateError but Fatal Signal 11 error. As the previous error also this appears in a random way. What kind of error is this? Is it...
View ArticleAndroid 4.0+ Image Compression
Is there a way to compress images on Android devices using 4.0 or greater? I've tried using the ImageFactory: var compressedImage = ImageFactory.compress(event.media, 0.2); f.write(compressedImage);...
View ArticleSending message to email with out using EmailDialog
Hi All , I have requirement , sending small message and text field content to destination email with out showing EmailDialog box in window and also i don't mansion any from email id also. when i press...
View ArticleApplication Installer abnormal process termination problem
Hello all, i am having a weird problem. When i try to run my program it is giving me:[ERROR] Application Installer abnormal process termination. Process exit value was 1I've searched and tried...
View ArticleHow to change the signature Algorithm of the keystore of my app
This question is about this issue: My app gives 'Package file was not signed correctly' error on google play store. how can I change my siganture key algorithm? i already have a key and it's alias is...
View Articleandroid module - fire event back to javascript.
i am able to fire event back to javascript from module class which is extended from KrollModule. But i have opened another activity from module class using Intent--startActivity(some new activity) now...
View ArticleCrash log on device without Play Store
From what I gathered apps can only log 'themself', as in I can not use the logging apps that exist in play store. I couldn't find a hint in the titanium docs. I want to test my app 'in the wild', so I...
View ArticleDisplaying maps for indoor navigation
We are in the process of creating an app which will feature indoor navigation. Logically this would require some kind of map to show the planned path on. However we are unsure what is the best way to...
View ArticleAndroid Push Notifications - deviceToken
Hi to all, I have struggling to test the android push notification system through ACS but weird things happen. I test the following scenario: I have installed the app and using...
View ArticleAndroid Service - Call Multiple Times With different Intents
I have a problem on how to call an already running service with different intents values. I have requirement to select a images from gallery and post it to server via service. Could anybody give right...
View ArticleApplication crashes after a period in the background (including services)
As reference, this is on Android. I'm noticing this issue with several applications I've done with Appcelerator, all of them: no matter if they are simple apps or complex apps, but is more frequent in...
View ArticleIs it posible to get bios Date and Time of the Android device ?
HI. i want to access android device bios date & time instead of device local date & time. is there any way to access device bios information ?
View ArticleIs it possible to slice an image into real small pieces?
Hi, I have a square image and I wish to slice it into 16 real pieces of same dimensions. Is it possible to do that in Titanium? I saw some questions about this but it is not clear if the sliced image...
View ArticlesetData nullpointer exception, but data not null
Hi, I'm seeing a strange error on a call to setData, which only seems to be happening on Android (not on iPhone). I've narrowed it down to the following: Ti.API.info("reload 7: " + data.length);...
View ArticleAndroid emulator won't install application
Hi, emlulator has opened but won't install application. Titanium Command-Line Interface, CLI version 3.1.1, Titanium SDK version 3.1.1.GA [INFO] : Running emulator process: python...
View ArticleAndroid: TiMedia: (main) OnResult called: -1
I'm getting the following messages in my log when selecting a photo from a gallery: [ERROR] : TiMedia: (main) [19607,322454] OnResult called: -1 [INFO] : I/dalvikvm-heap: Grow heap (frag case) to...
View Articlewatermark to an image
Hello, anyone know how to insert a watermark when taking the photo. I've been researching and have encotrado with toImage (), but really do not know how someone could help me. Thank you.
View Article