Community Questions & Answers
Option Dialog crash!
I having a issue on the option dialog UI, when I open the 'window' has this option dialog UI define, the app will crash. I know in kitchensink there is no issue. Using Titanium Developer 1.2.2, SDK 1.5.1, iPhone SDK 4.2. error: <script...
SingStar-esque Development
Our company is wanting to investigate coding a PlayStation SingStar like karaoke mobile application to achieve both a karaoke like rating system and an auto-tune like voice alteration. I assume that for mic streaming and processing I'll need to build...
Why nginx doesn't have log for mobile request?
I have sent a request from both iphone and android platform to nginx server nginx/0.7.67 + Phusion Passenger 2.2.15 with this code in ruby: ~~~ log_format main '$remote_addr - $remote_user [$time_local] "$request" ' ...
How do i updated the appicon and default screen in android
Hey Guys, How do i update the app icon and default screen in android? I updated the app icon and default screen with photoshop, but i still see them when i run the emulator. im using window 7 Titanium Developer 1.2.2 Titanium SDK 1.5.1 for android.
How can I implement iPhone specific button icons?
Hi, On the iPhone, there are a number of button icons that you can add to your app's buttons. These include a back arrow, forward arrow, plus sign, a bookmarks "book", and a "open windows" button. Here's what I mean (from Mobile...
Can't get iPad app to compile
I have the latest iOS sdk, Titanium, etc etc. I'm trying to create an iPad app, and using just the generated template, it hangs when trying to build. Anyone have any idea as to what I can do?
ScrollabeView inside TableView crashes regularly after scrolling
Getting this exception regularly after adding a ScrollableViews (which works, before the exception) to TableView rows: var view1 = Titanium.UI.createView(); view1.add(thisLabelTitle); var view2 =...
Anybody have code for a calculator?
Hi, I was wondering if anybody has code for a calculator. Thanks! Patrick
Android Nav
Hi, I have an app for iOS, and now I'd like to modify it to be compatible with android. I'm having trouble, among other areas, of dealing with navigation. I have a top and bottom nav bar, and I use win.setToolbar and setRightNavButton, etc but none of...
Accordian Widget
Hi - as you will figure out, I am new to Appcelerator. I have a working iPhone / iPad app developed using JQTouch and JqueryUI. One of the very nice looking and functioning widgets is the accordian, which is basically a vertical tab set. See sample here:...
Titanium + Windows + Android annoying slowly response
Hi,I'm trying to develop an application for an Android device. I found Titanium behaves with a very slow response in every step involved in the creation of a project and the things go worst at the time one try to launch the application in the Android...
Localization
Right now there is the possibility of internationalize some text thanks to i18n folder. How can I do the same for images, files... Thanks very much!
Titanium not able to run any apps
>>>PROBLEM SOLVED: I went back up one more level and reinstalled the Android SDK. All ok again. My prevously working installation of Titanium seems to be broken. I get this when trying to run an app in the emulator: ~~~ [INFO] Launching Android...
Httpclient returning no responseText/responseData.
I am trying to log in to a web page (based on this example:http://bradvernon.com/2010/03/titanium-mobile-synchronous-network-request-workaround/). When I log the URL I am using and paste it into my browser, I see exactly what I expect, which is JSON. ...
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...
Showing 37,501-37,550 of 47,483 1 … 746 747 748 749 750 751 752 753 754 755 756 … 950