Community Questions & Answers

Android and GPS

I'm trying to get the gps coordinates on android using the normal code( from KS ). If I do this in a file 'geo.js' as a window's url and the window belongs to a tab it works ok. When I switch to other tab, the gps stops. When I focus again on the tab ,...

Anyone has used MCV as MVC framework with Titanium?

Being an MVC **and** Titanium beginner I'm not sure about which MVC framework combines flexibility with a steep learning curve. PureMVC seems to need heavy learning and probably unfolds its advantages only in complex projects. I found [MCV from Andrea...

EXC_BAD_ACCESS (SIGSEGV) Titanium crash

Hello, I have a server that has two separate accounts. On one Titanium, Emulator and all is working fine but on the pother account titanium is crashing and giving me an error. I have tried to find the answer to this but I couldn't. Since the log is to...

Window Not Reopening Properly

I'm developing an Android application with Titanium 1.5.1. I have a TableView which I want to use for navigation. This is my event listener for one of my TableViewRows: ~~~ thisRow.addEventListener('click', function() { win1.open(); }); ~~~ Clicking...

interface builder and xcode

when i creat a class with interface builder and safe it after write a class with it so it will overwrite the class in xcode it overwrites it but i doesnt change anything in xcode . why ?

To make a Website

is it possible to make a mobile website with appecelarator titanium? and if possible then how can i develop mobile website? if anyone has idea then please suggest me. Thanks in advance.

Application of Maps in iPhone.

How is it possible to display google map with a image view in Titanium sdk 4.1 and later... Currently I'm developing a application(module) in which the geolocation of the application user can be shown using google map. The code shown below doesnt generate...

run emulator blank

Hi there, I am running titanium developer 1.2.2 on win xp and am not able to test my applications. When I go to the test and package option the run emulator is blank. How can I fix this? I have searched on the internet but no clear solutions. I have...

Running applescript in OSX app

Hi All, This has been asked before but got no answer. Does anyone know if its possible to run an applescript from a desktop app (mac only). So when a user presses a button it runs the script , then possibly gives "job done" message. Hope that...

Using XML file as database

Hi Everyone, I'm new to Titanium so please pardon me if the question sounds silly :-). I'm stuck in a situation here - I've created an XML database. Now i would like to bind this data from the xml file onto my TableView which is placed on my js file....

Java not found

Hi, I have just downloaded titanium 1.2.2 and trying to setup the developmet environment wherien java not found error occured while selecting mobile apps for android. It's on windows and I do have jre 1.4 / 1.5 versions under C:\program files not sure if...

Dynamic zindex Bug

So I've asked this on the IRC but couldn't get an anwser cause nobody knew why. So i'm posting a project here which reproduces the problem (with comments for explanation) In short: I'm changing the zIndex Value for a ImageView (or View for that matter)...

Cannot call method "open" of undefined with Android

Hi, I'm trying to run correctly my app on my device. It starts perfectly but crashes few seconds later with this message error: ~~~ TypeError: Cannot call method "open" of undefined ~~~ I touched the tiapp.xml many times but no way. Is there a...

All of a sudden app wont load on android

All of a sudden my app wont load on the android emulator. I've tried clearing out the build/android folder. I've closed and reopened the Titanium Developer. I've tried deleting the app on the emulator. The app runs fine on the iPhone emulator. Everything...

Problem with setString from an Array?

[Here](http://pastie.org/1451295) is my code. Notice anything in there that would be giving me this error in the console?: ~~~ [WARN] Exception in event callback. { expressionBeginOffset = 9129; expressionCaretOffset = 9142; expressionEndOffset =...

HOW to connect SQLite 3 with Ti???

i am working on a a login validation app,for which i need to create one DB using SQLite 3,in which i need to create one table of username and password.but i dunno how to create the table ,insert the value and then connect it to my app,i hav made one event...

How to show Activity Indicator while loading a webview?

Hi. I'm pretty new in titanium and I would like to know when a webview is opening a remoted page or a website, how can I show the activity indicator (toolbar) that says "Page is loading" ? Maybe it is a stupid question but this lets me learn...

change UserAgent in desktop app?

Hi, i my app have a function, open a website in a window. fortunately, Titanium is base on Webkit, means i can open a window with a site url directly , it's wonderful! the problem is , the UserAgent always "Mozilla/5.0 (X11; U; Linux i686; en-us)...

Ad-Hoc some image missing

I was following some of the example from Q&A and build the app via X-code, although it got one error, fortunately it still can distribute and run on the device using the Ad-Hoc. But there is a problem, some of the self define image is missing from the...

different cookie in different window ?

Hi, i'm working on a small desktop app what can open multi browser window, and login same website with different user account. my idea is open few window, setup different cookie sandbox. is that possible in Titanium ?

RSS feed Mobile Web

Hi, I made an RSS feed app that takes in the rss feed for a website. (I used the source code in Kitchen Sink XML_RSS) After getting the fee it goes to the url that it is pointing to when I click the feed. However, I wanted to change the url.. For...

Mobile App with iOS 4.2 SDK always loading..

Hi all, I'm a newbee in TI and i have watched the 101, 102, 103 videos, but i'm having errors trying to do a basic mobile app. I have installed TI 1.5.1, the last XCode with the following ~~~ Mac OS X SDKs: Mac OS X 10.5 -sdk...

218 views
asked 2 years ago by Cesar Felce
last activity 2 years ago

how to install into eclipse

hi there, sorry if I sound thick. but I did not find any useful information how to install titanium into eclipse. I am on ubuntu 10.x what I did: I built titanium from source (since the installer raised an error that some libraries where not found). I...

barImage working in emulator not on device

I can see the image fine when I run the code in the emulator but if I run it on a device does not work. Kitchensink version of barImage works fine on both emulator and device so I know its not a device issue. https://gist.github.com/775274 Solved but i...

Help Distributing app problem (Error installing)!

Hi guys. I'me having difficulty with testing the app on my iphone. Every time I click on install an error pops up. please check the screenshot http://qkpic.com/6fab1 Is it because of my app coding? because I'm pretty sure provising profiles,etc are all...

How to share a mapView between windows, for Android

Hello, I'm developing an application for Android and I want to have 2 pages that uses a MapView for different purposes. Researching this site I've found that on Android you can only use one instance of mapView on the application. So I would need to know...

some test videos

anyone have any videos I can use to test? Preferably formatted for the iphone already, 480x360 mp4s?

.nativePath() & General API Question

Firstly thanks to Aaron for pointing the .nativePath() out to me. Sorry Aaron i marked the thread before getting a chance to thank you. .nativePath() where would i have found this property. I cant see it listed in the API here:...

Titanium Desktop, write user properties.

Hi there, i am just exploring Titanium Desktop, and have come against an issue with some testing code from the website. Here is the code, supposed to write to file if the file exists, else create the file then write to it. It does not, The error in the...

Parsing JSON

Is it possible to parse this json data on titanium mobile? {"com.util.Personels": { "pers": [ { "perno": "0000058", "firstname": "fname", "lastname":...

Pre-built database

I created a sqlite database that I want to distribute with my iPad app. Where do I put the file and how do I connect to it? The Kitchen Sink example is using this: ~~~ var db = Titanium.Database.install('../testdb.db','quotes'); ~~~ I can't find API...

Showing 37,601-37,650 of 47,569 1748 749 750 751 752 753 754 755 756 757 758952