Community Questions & Answers
Push notifications deviceToken
Hi there, I would like to know how to get the deviceToken of my IPhone using Titanium. I use this code below in my app : But i can't send push notifications without the deviceToken. ~~~ var win = Titanium.UI.currentWindow; var label =...
TextField paddingLeft Problem
I launched my first iPhone app built with Titanium last week (called Automotive App currently only available in Canada), and I started getting reports of an odd bug happening with TextField's. What was happening is that the first 1/6 of the TextField was...
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?
2 Android problems (iPhone - Android app)
Hello I have finished my iPhone app, and I would like to get it working on Android. When I tried to run it on Android, it just crashed instantly, nothing works. Now I'm trying to edit it page by page, step by step. I've ran into 2 problems which I would...
Webview: Auto height doesn't work
Hello I have a webview in my app with above that webview a label and an imageview. I made a mainView to hold the label, imageview and webview. Now when I put the webviews height on auto, i can't scroll (well i can scroll a little piece down, but it goes...
Relaunch iOS simulator every time when compile it...
Hi, everybody I have to big problem... every time I rebuild my project, the iOS simulator will close and restart again, it waste so many time. how to solve it ?????
Can't uninstall Titanum Studio 3.0, why?
I am trying uninstall it, for reinstall from zero, but no luck. I don't see uninstall link in Start menu. I do it through "Control Panel\Programs\Programs and Features", process start and end with success, but in real it's nothing. Uninstall icon...
Problems with StoreKit and SDK 3.0.2
I can't make StoreKit module work with SDK 3.0.2. I always get "Couldn't find module: ti.storekit" when the app launches in the simulator or device. If I simply change the SDK version in the tiapp.xml to 3.0.0 it works flawlessly. I'm using the...
Unlicensed module(s) detected. On Plus modules
I am an Indie, trying to add the ti.storekit which I downloaded from the HelpDesk. I added it to my project (same as other modules I use) and when I run I get the following message: "Unlicensed module(s) detected. You must be a subscriber..."....
Android Emulator Windows 7
**Application type:** mobile **Titanium SDK:** 3.0 **Platform & version:** Android 2.2 **Device:** Android emulator **Host Operating System:** Windows 7 64bits **Titanium Studio:** Titanium Studio, build: 3.0.1.201212181159 Hi i have a probleme...
Unable to create new project
Dear all, I am suffering from a silly problem but I cannot deal with it after several re-installing. I got this long long error repeatedly even after I re-install and change workspace and change path of Titanium. ; var f = Ti.Filesystem.getFile(clienteDirPath, 'tmp.zip'); var extractor =...
I have problems launching an Android app with Titanium
I'm having problems launching a simple app for Android. I did what they say in the Install Diagnostics for Windows section here: ...
Open PDF with Intents - Last Year's Solution Not Working
I'm developing a mobile app using Titanium SDK 2.1.0.GA and Android 4.1.2. I'm mainly testing the android version of my code on the device of a Nexus 7 tablet. I've tried every variation I can find of Tony's code to use Android Intents to open a PDF file...
createButtonBar vertical property
Hi all, I'm new to Appcelerator and I'm reproducing my jQuery Mobile app to a more native app (via Appcelerator). In jQuery there is a thing like a controlgroup. This is a vertical list with buttons. The best Appcelerator alternative I've found is the...
cannot run on device (execute_xcode error)
hello. recently I have a problem when try to run app on my iPhone device. this problem never happened before iOS6 & XCode 4.5. error log says like this: [ERROR] Build Failed (Missing app at /.... /MyAppName.app/MyAppName). please see output for...
Can i compile in another ios device without erase all it's app's, ¿¿¿how???
Hi all, i'm developing an app for my web app, and i got a problem. My boss want to try this app in his ipad, so i have created a new provisioning profile in dev.apple.com, etc... and finally i run from ios device in titanium studio, but the problem is i...
Studio problem : Stucked on launching delegate...
Hi, i'm having a problem running titanium projects in studio: in the building process they get stuck in the phase (always at 57%): "Launching : Launching app delegate..." I've uninstalled the studio, deleted everything related to...
problems parsing an xml
Hi all, i have a problem with an xml. I have to parse this: ~~~ <RESPUESTA totalElements="47" session="3992c57c"> <AGRUP_PRECIO VALOR="119"...
Check for Titanium SDK Updates - FAIL
Recently installed Titanium Studio and successfully entered proxy info in order to login. Studio immediately begins attempt of download of SDK which fails with error message (at bottom). It attempts to connect to these two...
Titanium Studio autocomplete
Frequently the autocomplete stop working in "Titanium Studio". Someone could help me solve this problem?
Mountain Lion Xcode 4.5 Build failed missing app
I've just installed Xcode 4.5 in mountain lion 10.8.2. I've installed the ios 5.0 sdk and simulator on xcode downloads. The app is using mobile sdk 1.7.5. I can run the app in 5.0 simulator and 6.0 simulator no problem. When i try to compile to ios...
TableView performance iPhone: Titanium problem?
Hello I'm having trouble in the speed of creating the iPhone's tableview. It has to create 500 records and it takes 30 seconds or so. Is this a problem of the Titanium tableview? Or will it always be this slow? Because I have seen apps where it is no...
startActivityForResult and callback function problem
I am trying to retrieve the path of a file selected by the user. - Application type: mobile - Titanium SDK: 2.0.1.GA2 - Platform & version: Android 2.2 - Device: Simulator and Physical This is the code that I use to launch...
iOS sdk missing but Xcode is installed
hi guys so i'm running titanium mobile on mac, the installation went smoothly. used titanium for 2-3 weeks with no problem. then yesterday its says via my dashboard that my sdk of the iOS is missing and that i should install or update it. the strange...
Errors with my Android emulator
Hello, I have a problem with Titanium. I installed and after configurate my JDK's and SDK paths I will make a simply "Hello world". When I run my app in Mobile web no problems but when I run in my "Android emulator" >< Here is...
Kitchen Sink App won't run, app is loaded in my projects folder
hi i can't run the kitchen sink app. the app is loaded into titanium but the run button is not clickable... i can't find the problem, who can help me pls
Mobileweb layout
This code does not render correctly on mobile web, how can I fix it ? ~~~ var win = Ti.UI.createWindow({ title : 'Welcome', // modal : true, backgroundColor : "#c92" }); var label = Ti.UI.createLabel({ text : 'Enter your mobile...
Rotation problem - spirals off center when moving
I'm having trouble finding a solution to this problem - I have a square which you can drag freely and rotate it. The problem is when rotating. The more I rotate, the more it spirals out of control once I begin to try and move the square. I have no idea,...
Problem responseText is null
Hello. Some advice for you. If the this.responseText is null check this.responseData.text for raw data. HTTPClient can't sometimes parse received content if it has illegal symbols like ?... and with similar problems.
Android Emulator?
Let's say I've created 2 mobile projects to run on the andriod emulator, Project "1" & "2". But after running "1", whenever i run "2", it only shows the app of "1" rather than "2" Tried...
Simple code - Doesn't work !! Why?
Hello, I just created a simple tableview with "touch"-listeners (Android). That's a extremely simple code, but why does it not work ? Please help me, I'm becoming desperate! http://pastie.org/1200471
Distributed App Not Functioning Correctly - Deployment App Works Fine
I've distributed my app through the Google Play app store and for some reason it is not functioning correctly. It is not rendering CSS / Javscript (jquery mobile) on the first page of the app. When you navigate inside some of the styling is there but the...
Icon doesn't show in the Emulator
Guys, I'm new to mobile dev, I installed Titanium 2.0.1 on a Windows 7 64 bits fully updated, and pretty much every Android SDK available in the repository, reinstalled completely like 3 times, and nothing. No even the standart Hello World I can make it...
Studio behind an authenticated proxy (MAC)
Hi I am attempting to use Studio behind an authenticated proxy on a MAC and having no luck. If Studio is run from the command line I get a java error http.1.1 407 Proxy Authentication Required The proxy has been set up and the credentials set in the...
[sdk 1.7.0] How to run fastdev on Windows XP?
Hello, I try to run fastdev server on Win XP (for android project), but I'm obtaining some problems... When I'm runing 'titanium fastdev start' in command line it's throwing an error: C:\Documents: can't open file 'and': [Errno 2] No such file or...
Titanium studio login problem
Hello, I am trying to login on titanium studio because it gives message you are not connected to internet and I am unable to login in titanium studio . I am also connected to internet then too its giving this error message, Please help me out.
Problem with php and titanium studio
hello everyone ! I use titanium studio on mac osx lion, i have a problem with php which don't run. I use desktop sdk 1.2 RC6e. I look for everywhere on the web and I don't found solution... I am despaired, help me please !
Save photo rom website to the gallery
~~~ var images = []; var read = Titanium.Network.createHTTPClient(); read.open("GET", "http://www.hcmc-by-night.com/iphone-event.php"); //this works read.onload = function() { var json = JSON.parse(this.responseText); ...
XHR not work on Mobile Web App Ver 2 Build?
i re-ask the question. i wait for answer something like 3 week. manager pls answer, this is begginer question, and it very important. link: [Link](http://developer.appcelerator.com/question/134906/xhr-not-work-on-mobile-web-app-ver-2-build) Tnx
Need help !Webview eventlistner problem
Hi, I am using titanium sdk 1.8.2 and doing development for Ipad . The problem i am facing is after applying click event listener , I am unable to interact with web-view , control always goes in web view , but its stop the working of web view. I am unable...
XHR Problem in Mobile Web.
Hi, i update to ver 2.0, Open new mobile web beta prohect ver 2. when i try to call a simple xhr i get error: **"Component returned failure code: 0x80004005 (NS_ERROR_FAILURE)"** i am despairing to start active the XHR operation on mobile web...
xhr.responseXML.documentElement ; application stop unexpectedly
var xhr = Titanium.Network.createHTTPClient(); var doc1 = xhr.responseXML.documentElement; /*TRACE] E/KrollCallback( 270): (kroll$2: app://LoginScreen.js) [26397,159013] Unhandled throwable, invocation:[callMethod Network.HTTPClient.(anonymous)...
sqlite and simulator
Hi all, I have a big problem, ~~~ [WARN] Exception in event callback. { line = 125; message = "invalid SQL statement. Error Domain=com.plausiblelabs.pldatabase Code=3 \"An error occured parsing the provided SQL statement.\"...
database - install or open ?
Hello, it's just a question tu understand the difference between install and open .. Because i don't know the difference.
sql to sqlite
Hello, It's possible to update my iphone database sqlite by the mysql database when i have acces to internet ? If yes, how can i do this please :)
problem with the database
Hello, I have some questions: I actually use mysql for my website and for the iphone apply i use sqlite. It's possible to use mysql for the iphone apply or i need to use sqlite ? (i don't want to be connected with my website) 2nd question: `var db =...
Window / View close and switching problem.
Hi, I have a problem to naviguate with windows and view. In my app.js i create a main view which goes on Firstpage.js. In this Firstpage.js I create a view with a activityindicator that I add in the currentWindow. I do a checking of some data during the...
Android setOpacity problem
On Andriod emulator, the setOpacity method doesn't yield the expected result. Instead of changing the opacity to the specified number it makes the whole object opaque; setting by direct assignment (e.g. obj.opacity = 0.2) has no effect either. Using the...
The text in blinking non-stop in a label under iOS, but in android it works fine ! help needed =(
Hello! My label keeps blinking non-stop... its a label which takes the text from a JSON, under a HTTPClient, so, maybe the data is being refreshed over and over again in a 1 second interval or so... but I dont know how to put this on a way that it only...