Community Questions & Answers
App crash after google maps web view update
Hi, I have an ipad app for clients geolocalization, I'm using a webview to display google maps(I need google maps not apple maps), the problem is when I update the geolocalization, the app close without any error message. here is my...
Picker view animation failed
Hi guys, I've a window wit two views, and I call both from each other with a transition (animationstyle.curlap). On the first view there is a picker view with an animation (slide in e slide out) that is fired by a button. if I don't use a transition...
nl.fokkezb.pullToRefresh with ListView instead of TableView
https://github.com/FokkeZB/nl.fokkezb.pullToRefresh has a great widget to do pull-to-refresh on a tableview. I'd like to implement this on a ListView. Has anybody done that already or knows how to customise the widget? I've not yet been successful at...
v2 Android Map Content Renders Only When Map In View Hierarchy Root
I've upgraded to the Ti.Maps module for using Google Maps API v2 on Android and I've found that the view only renders map tiles when it is added to the window. Adding the view into a parent view which is then added to the window results in the map tiles...
pdf generator is not working on titanium3.1.0GA
I am trying to generate PDF from label. In Ti3.1.0, add module com.kuchbee.pdfgenerator to Ti and try to the built-in example to generate PDF. The simulator or device can't start the app, even if reset many times. It just started the splash then ended with...
Rgraph on real device (not on mode debug but after packaging)
i tried the rgraph module, it work well on iphone, android emulator and on mode debug in real device, but when packaging the project and installing the ".apk" on my android device(2.2 and 2.3), it does not work. can some one help me?
Markers can t be deleted in map
Hi, Here is my html code: ~~~ <script> var map; var infowindow; var y= 0.0; var x= 0.0; //var requestback= new array(); function initialize() { alert("x-----"+x+"y-----"+y); var pyrmont = new...
Compose an image from 'n' images
Hello everyone, In Android, depending on some info, I compose an image out of "n" images. This image will be show in a every row in a table. Composing that image slows very much the app. Here the example code: ~~~ row =...
Install on Android Device
Hello, i can install my app to Android device but today i have updated my Ti Studio and i can't install to my device, it says ~~~ [ERROR] Invalid --target value 'dev?ce' ~~~ what should i do?does anyone have same problem?
[ERROR] : Couldn't determine the proper encoding.
[ERROR] : Couldn't determine the proper encoding. Make sure this file: My App Name.app is UTF-8 encoded. Does anyone know how I can fix this error? It's showing up since I've added a web view where I add in some HTML I get back from a JSON feed. The HTML...
callback function... help me please!!!
i've a array with elements content one url of the json data: ~~~ jsonData['programas'] = 'https://eurekalab.com.mx/apps/radiocongreso/index.php?option=com_obrss&task=feed&id=2'; ~~~ and i've a function to read this array and save in file for each...
platform=ios formFactor=tablet not working
Hi! I'm trying to change the width of my TableView with id table. ~~~ "#table" : { top: 200, height: 100, width:280 } "#table[platform=ios formFactor=tablet]" : { width:500 } ~~~ But this is not working. Is there...
Animate imageview added to tableviewrow
Hey, I'm trying to make a tableview by adding a couple of views to a tableviewrow, and want to animate an imageview from opacity 1 to 0 on click, and reveal another imageview by animating from 0 to 1, and revert on clicking the hidden view. ~~~ ui =...
Explanation about timeout behaviour in httpclients
Hi there, I created a communication cache to send my app coms in order with only one httpclient. The issue that i was experiencing was that if i set the timeout to a big number (say 10 seconds only for sending a small text), the phone sometimes stayed a...
problem with same title
my code is as follows. its working. but if am having buttons with same title and different color it is pushing finally checked button color i need it as one after other. var hintCount = 0; hint_btn.addEventListener('click',function() { ...
Google map problems with appcelerator app on Samsung mini, other phones are fine
Im having some problems with google maps on android im using this module [google maps v2](https://marketplace.appcelerator.com/apps/5005?2122935910) which is V2 It works on nexus 7, one Experia, and a HTC phone but on 2x samsung phones. The Samsung mini...
Webview while zooming black screen is coming
Hi Guys, While zooming the webview in my application.black screen is coming and going.recently i updated my os to 4.1.earlier it was working fine.this is happening in __sumsung __ device.using 1.Titanium SDK:3.0GA 2.Platform &...
UrbanAirship.resetBadge() not working
I have some standard code (taken from the docs) with UA Push Notifications working fine on iPhone. Badge numbers are reset when the app opens or resumes. when the app is closed, and i do a push with a +1 badge, the badge updates accordingly. great. when...
How to stay callback function ?
I have label in callback function. But when I closed window, label text will disappear. How can i make to stay the label text ? here is example ~~~ Ti.CloudPush.addEventListener('callback', function(evt){ var label = Ti.UI.createLabel({text:...
createHTTPClient set property
Hello, on my property no data will be stored Thanks in advance here is my code ~~~ function APIManagement() { this.currentMoviesURL = "my url"; this.becomingMoviesURL = "my url"; this.resultJSONData = null; var self =...
Audio and buffer
Hi Is there a way to play the audio data from a buffer? I can't find anything in the docs so I'm asking people who know. Thanks
How to push notification stores in app ?
I tried to do "Titanium.App.Properties.getString" in label text. But when I open or close window, it will disappear. That means it doesn't store in app right? hm...any help? ~~~ Ti.CloudPush.addEventListener('callback', function(evt){ ...
purpose geolocalization
The code ~~~ Titanium.Geolocation.purpose='GPS Activate'; ~~~ or ~~~ Ti.Geolocation.purpose='GPS Activate'; ~~~ not shown the dialog box to allow the use the GPS on the iphone or on the simulator. PD:The GPS service is...
Run Configuration: NullPointerException
Hello, A few days ago I have updated my Titanium Studio to the latest version (Titanium Studio, build: 3.1.0.201304151600). Since then I'm having problems to run my iOS simulator from within titanium. When I build my project with the command line,...
Titanium maps number of step problem
Hi folks I m using Ti.3.0 for ios and I added map to my application. and I have problem with number of step. route line not following the driving line correctly. I use this...
Android Emulator Error
[ERROR] : Build process exited with code 1 How can I solve this Problem
Emulator Problem
I am getting the this type of error. [ERROR] : Build process exited with code 1 Please help me to get a solution of this problem I am windows user and i am using android sdk version is 2.2
Supporting Google Universal Analytics
Hi All-- Does anyone know if any of the Titanium marketplace apps support the new Google Universal Analytics? http://analytics.blogspot.ca/2013/03/expanding-universal-analytics-into.html If so, which ones? Or is it just a matter of changing the UA code...
[iOS , SDK 3.0.2 ] Problem with click on tablewviewrow
Hello to all you guys! I have a problem with the click on tableviewrow, here is an example of one of my tableviewrow : [image row](http://img90.imageshack.us/img90/271/schermata20130424alle11.png) My problem is that when I press/click on row the...
How can i add custom account into my phonebook just like gMail app adds.
Hi, I am trying to add another custom account under the contacts phonebook. This option should fetch and show contacts from my custom web application. To make it clear, i want to have custom account under phonebook just like gmail app or facebook app...
Background Service - also App is not startet?
Good morning, iám reading about the background service for iOS. My only question i have - what happend if device switched off... After restart the service should starts too. Not only when app starts! How can i do this? Alternative way? Thanks for helping!
Flipboard like page turn/change effect can we get in titanium?
Hi, I was looking for any example which will give me page turn effect as it happens in flipboard website "http://tympanus.net/Development/FlipboardPageLayout/", i had found one example "https://github.com/wongpeiyi/flipium" but it is...
Height problem for textField in android
Hi all.. I am developing app usingTitanium SDK 2.1.3.. And Android SDK 4.0.. I am facing the problem in TextField..I have set border color for it..and i did not set height value in it..and border style is none.. The problem is textfield height...
Android printing
I am trying to get my Android app to print using intents. I have tried everything I have read about it with no luck. I am using the latest Titanium version This is the section using the intent ~~~ var intent = Ti.Android.createIntent({ action:...
CommonJS and Event Listener calling prototype function
I am trying to have Event Listener call a prototype function (method?) inside a CommonJS object as follows: ~~~ MainMenuEntry.prototype.initializeEventListener = function() { this.mainMenuEntryView.addEventListener("click",...
Getting Error while Updating Titanium SDK
Hi, I have just installed Titanium Studio on my Laptop. I have started updating Titanium SDK. Almost all the package have been updated successfully, but its not able to update Titanium SDK. Its throwing an error i.e. java socket timeout exception I tried...
Play video on TV
I would like to know if it is possible to play a video that is on the iPad on a samsung smart tv. I would like to do the same as the iMediaShare app do. Thanks, Nicolas Messager
What is happening with the consoles?
Since de last SDK update, a MS-Dos windows if open with emulator.exe console (difficult to find errors)  and from Titanium Studio, the console selector grows and grows!  Anyone else is happening?...
Can't install Titanium, getting a SendRequest Error
I tried to install Titanium Studio, I downloaded it from [here] (https://my.appcelerator.com/resources) and executed the file, when it started to download the components I suddenly the following error message: ~~~ There was a problem downloading required...
galaxy S4 or S4 width
Hi, i have an horizontal menu which displays 4 images. im wondering about the best practice the manage all screens width. my code : ~~~~~ var topContainer = Ti.UI.createView({ top : 44, width: '100%', height : 46 }); var toutTab =...
Does this look familiar to anyone?
I've been trying to build a simple project using the CLI in Windows 7 but haven't been successful as of yet. I've verified my paths are the same as those suggested in the documentation and have followed the setup steps as well. So far, this is the closest...
Is there a way to prevent Android OS from restarting the application after a force close event?
I was wondering if there was a tiapp setting I could use to prevent the an Android application from restarting after a force close event. When the application restarts, it complicates isolating the errors in the log file. Titanium SDK: 3.0.2.GA Android...
custom sound with push Notifications using urbanairship
can any one help me to use custom sound in push notifications i did add the sound file in the resource directory and create successful push but the the sound is not playing ps : the sound is formated as apple recommended and i am using urbanairship module
Monkey Talk Integration with Appcelerator Titanium
hi, I used Titanium to develop an application. The next step in the application process is to test the application using automation. I came to know that monkey talk is the widely used automation tool for testing. Can any one tel me how to integrate the...
How to get model data associated with current ScrollableView page?
I have a TableView inside a ScrollableView, and as the user scrolls left and right through the ScrollableView I want to update the associated TableView. But I'm having trouble getting the model data for the particular ScrollableView page in order to load...
Titanium Alloy BackboneJS I/O Speed Where is the bottleneck?
Hello Everyone! I am currently using Alloy to build an App using the Model-Tableview binding. The App currently shows a list of categories, then when you click on a category it does a lookup using SQL (custom collections.fetch) where I join between the...
ti.NETWORK not included in my modules
Titanium Studio, build: 3.1.0.201304151600 (c) Copyright 2012-2013 by Appcelerator, Inc. All rights reserved. Build: jenkins-titanium-rcp-master-417 (origin/master). Windows 7. Titanium Mobile Application for android Hello, I´m trying to make an app...
Table data not visible on first load - is visible on refresh
Titanium Command-Line Interface, CLI version 3.1.0, Titanium SDK version 3.1.0.GA Copyright (c) 2012-2013, Appcelerator, Inc. All Rights Reserved. [INFO] Building using iOS SDK: 6.1 [INFO] Building for iOS iPhone Simulator: 6.1 [INFO] Building for...
New Mobile Module Project Problem Occurred Creation Problems
I am trying to create a new module but get a internal error Detail; - Could not move: C:\Users\JANDEN~1\AppData\Local\Temp\module_temp8635866962544976850.tmp\cccc. - Could not move:...
MapView Animate make it's region change
var mymap = Ti.Map.createView({ mapType : Titanium.Map.STANDARD_TYPE, top : 0, left : 0, right : 0, bottom : 0, userLocation : false, animate : true, regionFit : false }); function getLocation()...