Geolocation Service stops when App goes in background after several minutes
Hi, I use the following geolocation service code for android devices to track user location continually : Ti.App.Properties.setBool("service_running", true); Ti.API.info("Starting geoloc ...");...
View ArticleError with Getting Started FaveBooks app. Please Help!
I was working my way through the inline link getting started app and having all sorts of success until I reached the end and added the "Add a Book" code. Now I'm getting an error "Can't find variable:...
View ArticleTi.Media.showCamera on iPhone 5s is stretched
When calling Ti.Media.showCamera the image is stretched vertically to fit the iPhone 5 taller screen. Seems like there was some previous bug that was similar for the iPhone 4. However when I implement...
View Articlethe toolbar does not disappear with the keyboard
var Cancel = Titanium.UI.createButton({ color : '#000', height : Ti.UI.SIZE, width : Ti.UI.SIZE, backgroundImage : 'none', title : 'Cancel', }); var FlexSpace = Titanium.UI.createButton({ systemButton...
View ArticleDetect the availability of External SDCard on Android
Hi there, I am using the following to check the availability of External SDCard. Titanium.Filesystem.isExternalStoragePresent( )I found that it always return true even external SDCard is not mounted....
View ArticleAlertDialog behavior on Android
Hi! The docs tell me: "On Android, the default alert dialog displays text information, via a title and message, without any button s. As the user can use the system hardware back button to dismiss it,...
View Articlethe toolbar does not disappear with the keyboard IOs
the toolbar does not disappear with the keyboard
View ArticleAnimated view passes behind others views
Hi ! I have an animated view and a strange behavior in my application. If i do this, my view moves with an animation and passed behind others views randomly.imgSelector.animate({ top : newtop, duration...
View ArticleNotification Sound in push Notification
I want to alert sound when notification is received by receiver. Below is my code and sound is not playing when is send notification through cloud var data={ title: 'Example', alert: 'Sample alert',...
View ArticleMaps on android... just won't work!!!
Hi Guys. So.. ti.maps plugin is a breeze in iOS 7, it just works! I come over to Android and its just a world of pain! Ive followed the guides, updated my SDK, installed the google play services '...
View Articletitanium 3.2.1.201402041146 keeps asking to update Titanium CLI 3.2.1
titanium 3.2.1.201402041146 keeps asking to update Titanium CLI 3.2.1. After accepting the update everything seems to work fine. But after a little while it asks me again to update. If I do in CLI:...
View ArticleGetting children views inside parent one.
Hi! The case is to get child view by id or another identifier. First and most known solution is make it like the following:function updateMessage (row, data) {...
View Articleexecute batch file from hook
Hi I have created test.js file under /myProject/plugins/ti.alloy/hooks location. in test.js exports.cliVersion = '>=3.X'; exports.init = function(logger, config, cli, appc) {...
View ArticleExecute batch file after build
Hi, How can i execute batch file after successful build? I want to copy apk file in some directory. I have kept in builder option and create one program which execute it but that fires before apk...
View ArticleAndroid device not receive push notification
Hi all ! I'm setting up push notifications to my android app and I've a problem... After configuration (GCM etc), I create a channel an registre my device with token id and user id with the...
View Articledisabling selected row's/template's background color in list view onClick
Hi, how to fixed the backgroundColor of row in listview before and after click that row ? suppose in the table view if i set backgorundColor transparent then the selected background color of the table...
View Articlesent SMTP email using socket
i am trying to send email using SMTP without using ACS and i used this code btn1.addEventListener('click',function(){ var socket = Ti.Network.Socket.createTCP({ host: 'smtp.mail.yahoo.com', port: 465,...
View ArticleApp keeps stuck on the splash screen
Hi, My app freezes on splash screen, when I build for an android device using the "Run" option. If I build with Debug, it works fine. This is the log of my app[INFO] : TiApplication: (main) [225,425]...
View ArticleProblem Updating Titanium SDK
Hi, Every time I try to upgrade my titanium SDk I get this error message.Error extracting zip file - /var/folders/q5/yscs6n4x02l3_4hlqvggqvl80000gn/T/release-download archive is not a ZIP archive I am...
View ArticleRefresh Tableview Rows with Every New Search
I have a search bar that returns usernames to rows of relevant searches. When a search is made, the rows display the returned values, and when the search bar is cleared, the tableview is cleared, but...
View Article