Community Questions & Answers

Titanium mobile 1.6.1 [ERROR] Required javac not found

Hi all, I have downloaded Titanium Developer 1.2.2. and I have set up the JAVA HOME, and it is all working when i do javac -version, java -version. And I import the KitchenSink project, it was launched using Titanium SDK 1.2.0, BUT when I changed it to...

786 views
asked 2 years ago by bin wang
last activity 2 years ago

Anyone get the camera to work on an iPad 2

I'm using code from my iPhone app to open up the camera and it seems to create the control in what appears like a pop-up item (pointy arrow UI element on its bottom) - as if it wanted to attached to a button in a toolbar. But, that control flies from view...

Built in sort icon

Is there a constant for the sort icon? I found these icons, but don't see it: http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.UI.iPhone.SystemButton-object I am looking for the icon that has the 3 lines with bullets next to it. There is an...

Pass tableViewRow data to new window?

I've got a table view with some short descriptions as their text. I open a new window when one of those rows are clicked. However, that new window needs to work as a sort of "Details" window for additional data related to the clicked...

684 views
asked 2 years ago by T.J. Mahaffey
last activity 2 years ago

navBar on iPhone

hi, i have a window with a picture in the navBar. i have a tabGroup too with three tabs. the problem is that the title 'actualité' for the first tab is displayed on the picture of the navbar. i want to remove it..what should i do ? thank you. ~~~ var...

Label positions

Hello, I've begun to put my hands on Appcelerator, and the first feeling about it is very cool... However, making a page with a nice layout with multiples labels is kind of hard for me. Maybe, I did not get the point about those attributes: __right__,...

Regarding Titanium.Contacts

What I would like to do is press a button called "select contact" and it let them pick from their contacts, but only ones that have a value for SMS. Is this possible with the Titanium.Contacts part of the API, and if so, does anyone have a...

Android no setImage on Ti.UI.ImageView ?

I have code that upon a use action, the image changes using the setImage accessor for the ImageView. This works fine on the iPhone but on Android I get an error Cannot find function setImage in object [Ti.UI.ImageView]. I could probably work around this...

Android - Load image from cache

I have a tableView..the row consists of labels and imageViews which receives data from server through url. It takes a long time to load all the 25 to 30 rows. And also when i come back to that page , it calls the url again. I have an idea of storing to...

ExitOnClose Question

Hi, in trying to debug a different issue I found something confusing (at least to me). Even when setting exitOnClose my application still shows in the running list? It does seem to close in that running it again doesn't resume the app but restarts it. ...

createImageView crash

Hi All, I'm an experienced programmer but new to Titanium. I must be doing something very silly. I can't get an image to load up. The following code just causes the iPhone emulator to exit with no error messages etc: ~~~ var win1 =...

Map Cleanup Issue

After upgrading to 1.6 here is an issue I see. My app uses a "main window" and lightweight-windows for a custom tab approach. If I exit the application from the 'tab' that has a MapView on it and then restart he application the MapView fails...

Using app.jss in existing projects

I have some projects developped with Titanium 1.6. Is it possible to apply styles with specific selectors? Because I have many window objects that begin with "win", etc ... I tried this: ~~~ win*{ color:'green'; } ~~~ But it didn't...

image property in Button

Hi ! What is this image property in Button ? Doc says "the image to display on the button to the left of the title". It seems to be different from backgroundImage and it would be great. But when I set it to an image path, my button disappear.

Window never cleared

Hi ! I have a mapView and clicking on the rightbutton of an annotation opens a new window. In this window I add some labels. The problem is that if I come back to the map using the back key, and open a window of an other annotation, the previous labels...

XML

Ti.Xml.parseString problem undefined its not supported why ?

First App: Kids and Home

So after 7 months (8 if you count the latest update) Our app has finally been released worldwide, in 2 languages. It's completely made with titanium and html5. our painting module was created using the ti.paint. I would also like to thank Adriano...

Stop animation

Hello I am trying to stop an animation. I looked into kitchensink app how they do it, but it doesn't seem to work for me. I use the following code: ~~~ var a = Titanium.UI.createAnimation(); a.top = 400; a.left = 0; a.duration = 5000; flag.animate(a,...

Positioning image

Hello I'm trying to position an image on another image. I have a floor map and i want to put a flag on a certain point. I have found a way, but I think it's a little stupid. Here's the code I'm using: ~~~ var flag_init = Ti.UI.createImageView({ ...

XML

Hi, i have a problem with parseString i get the following error : TypeError : cannot call method "parseString" of undefined. I just have a XML file, look at this : var setupXml = Ti.Filesystem.getFile(Ti.Filesystem.applicationDataDirectory +...

Can you build an ipad and iphone app at the same time

Hi, I'm a bit confused why there's an ipad option separate to mobile, does this mean you can only create an iphone app and ipad app separately? Opften newer ipad apps in the store are able to work on both and are able to simply tweak layout for each. Is...

Local xml parsing

Hello Sir, In my Home Screen I have start button when i start button is pressed i handled these actions to parse the local xml values the following codings are attached: var f =...

Showing 35,151-35,200 of 47,503 1699 700 701 702 703 704 705 706 707 708 709951