Community Questions & Answers
AlertDialog modal AND blocking. Howto ?
I realized that showing AlertDialog (alert.show()) doesnt block further instructions in the stream (so its not truly modal isnt it ?). How can I wait for the result of the Alert ? Ti sdk 1.5.1 - Android 2.2
call a nav group from outside the file it's originated
I'm having an issue where i have a nav group for my app and in iOS from any controller that's controlled by the nav group you can pop a new view on top of the stack. I see that i can do that as long as I'm in the file that I call it from. how do i add a...
Mobile SDK 1.5.1 failed to run on iOS 4.2 Simulator on OS X 10.6.6
I recently updated OS X to 10.6.6 and my Xcode version is 3.2.4 with iOS SDK 4.2. Now I can not run KitchenSink or even a newly created mobile project on iPhone Simulator. Here is the console log on Debug level: ~~~ [INFO] Compiling JavaScript...one...
Got an Android interface but no default helloworld app
I am trying for the first time Titanium (1.2.2) on windows XP with JDK 1.6 and Android SDK revision 8. I follow the getting started guide. Everything is allright till the final step. When I try to emulate (for android) the default app, I got the android...
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...
Remote images not loading in 1.6.0 on android imageview
I can not get a remote image to load using imageview and the 1.6.0 continuous build for android. here is my code. if i save the file and load it locally, it works. but if i comment out local image and uncomment the remote one, it will not load. this...
How to get OptionDialog display in Landscape
Hello, My Project is completely running in Landscape. The only Element displaying in Portrait is the OptionDialog. Landscape not supported? iPhone, 1.51 & 1.52
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 ?
HTC Desire HD & HTC Desire Z crashes on touch event
Hi all, our mobile application crashes after android update (2.2.1) on HTC Desire HD & Z... the crash log on android developer console are this ~~~ java.lang.NullPointerException at android.widget.TextView.onTouchEvent(TextView.java:7202) at...
Android: borderColor + opacity = fail?
It seems opacity doesn't work when you set a borderColor to a view. It just lightens the view's color. Is this a bug or am I doing something wrong? ~~~ var about_view =...
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.
Displaying a popover seems to mess up the navigation group stack
Here's the basic layout. 1. I have a window (mainWindow) which contains a navigation group (navGroup). 2. The navGroup is bound to another window called homeWindowP. 3. homeWindowP has a ButtonBar set as the rightNavButton 4. Clicking a ButtonBar...
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...
Admob intergration with android
Hi Has anyone already successfully integrated ADMOB advertisements with android? Any response would be appreciated......
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...
backgroundGradient in TableViewRow
In the documentation it says that the object TableViewRow has the property of backgroundGradient but I tried to use it with no success. Anybody knows something about this? Cheers Pablo
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...
Foursquare upload photo
Hello, I´m trying to upload a pic using foursquare api. I found this example: ~~~ <form action="https://api.foursquare.com/v2/photos/add" method="post" enctype="multipart/form-data"> <p>Venue ID: <input...
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)...
Where is Android app property list in Emulator
Can someone please tell me where to find this? I just want to edit it for testing.
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...
Not Downloading the Kitchen Sink
http://screencast.com/t/3TsGprWpFusC Any ideas why?
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...
Content Type of the (Photo) Media Object?
I am having trouble with the photo upload. Specifically, I need to get the content-type (jpg or png), filename and ideally a thumbnail. The success handler of Ti.Media.openPhotoGallery gets an object that appears to only have .mediaType (photo or video)...
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...
Post video to YouTube ---
any plans to provider tighter Titianium to YouTube integration to make it "easy" to post a video taken on handset to a user's YouTube account? Thanks in advance... ~~Brian
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:...
Sending data using JSON to REST service
Hello, I've been following http://developer.appcelerator.com/guides/en/remote_data.html and i'm trying to use the following code for my Rails app: ~~~ var xhr_task =...
scan with twain scanner using desktop titanium
Is it possible to link with a TWAIN datasource and save the resulting image(s) as jpg file(s)?
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...
"Install Now" button is greyed out for iPhone
I have 2 lines: "Obtain WWDR ..." and "Obtain Development ..." I have selected Provisioning profile. What I can do more?
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 1 … 748 749 750 751 752 753 754 755 756 757 758 … 952