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...
Another Tableview Problem...
I've been having another problem with the tableview... performance wise... The tableview scrolls fine, without the lag. It's loading the table is where the issue lies. I've got class names on all tableviewrows. When the window opens, the table takes about...
1.6.1 SDK download stopped in middle. Now update doesn't show
Started downloading 1.6.1 SDK from within Titanium and lost my Internet connection. When it came back online I restarted Titanium Developer, restarted Mac, etc. and the update doesn't show. 1.6.1 does show in the Titanium SDK version when editing projects...
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...
Why doesn't changing a window.url value change where the nav bar points?
Hi, I'm trying to write a login function that changes the home tab from taking you to main_windows/home_logged_out.js to main_windows/home_logged_in.js. The following event (in app.js) fires on successful login: ~~~ // Once login is finished, grant user...
Blackberry is scheduled for general release in Q1 of 2011: Michael Szul
[url]:http://developer.appcelerator.com/question/87941/blackberry-apps-with-titanium According to [Michael Szul][url] Blackberry is scheduled for general release in Q1-2011. So when you guys are going to have BlackBerry support? I have a client that...
Prevent Closing Modal Windows from animating
I am trying to prevent animation while modal windows are closing (sliding down) -- I just want it to disappear. Using the animated property and setting it to false works with opening a modal window, however not when closing it. ~~~ modal.close({ ...
Append the value of a clicked row into an array?
How do you append the value of the clicked rows into myArray? For example when a row is clicked/checked it will add the value into the array and if clicked on again/unchecked then its gets removed from the array. Here is my code so far ~~~ var win =...
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...
Create PDF in Mobile-Apps
Hi @ all, Googled around but found no answer. So i may ask here if there is the possibility in Appcelerator to create PDF´s and is there an howto? Regards Thomas
simple app with embadded navigator
Hi, Someone can explain to me how to load a page directly from the app without quit it ? using the internal navigator (i had do this before with the old lib 0.8/0.9 but now when I'm trying the simulator existing every time a simple code are awesome ;)
Multiple videos in iOS
OK... big question which probably has no answer but here goes... What I'm after developing is an app which can play 2 videos at once from an external http source. Is this possible?
Install Error with Titanium Mobile 1.6.1 and iPad App
With Titanium Mobile 1.6.1 I get an install error while "Run on device". With XCode 3 I get this error: ~~~ Install Error /Users/…/App/build/iphone/Classes/ApplicationRouting.m:14: error: no type or storage class may be specified here before...
Icon on status bar
Hello. I am working in a Music Player Application which play songs from URL. When I play music inside my application, I need to create a play icon in the status bar. When I select play, the playerpage.js should be shown. I looked at...
Filesystem: createTimestamp and modificationTimestamp are the same
Hi, I'm currently working with Titanium.Filesystem. The problem is when I want to match if the file is older then 1 day, if so then update the file. When I used createTimestamp and modificationTimestamp they always get the same result. response: ~~~ var f...
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__,...
Ti.UI.createSwitch doesn't exist for iOS ?
Documentation says tu use Titanium.UI.createSwitch but that throws a 'cti_op_call_NotTiFunction' exception. ~~~ uncaught exception 'org.elipse.module', reason: 'invalid method (createSwitch) passed to UIModule' ~~~ I find it hard to believe this is a...
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...
Is it possible to change just the background opacity of a tableview row?
So the opacity property changes the whole row's opacity but is it possible to change just the background color/image's opacity; like a backgroundOpacity value? Now, I know I could create a pure custom row but it would be great/more flexible to 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 =...
Border Radius on one side only
Hi ! Is it possible to set the border radius of a button for one side only ? For example, I would like the top corners to be rounded but not the bottom ones. Thanks
Webview innerSize
Hi, i have a problem with a html page in webview, some times the innerHeight are 1px and the innerWidth are 10px. But the size of the webview is 500x400px. The html page contains a body (500x400) with a canvas (500x400). Has every one a idea?
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...
Tabgroup menu item background color
Is it possible to set a background color to each item of the tabgroup menu? Regards.
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...
Still unable to LAUNCH any mobile app on iMac but works fine on my work iMac
Hello, No matter what I do I always get this issue when I create a mobile app ~~~ Traceback (most recent call last): File "/Library/Application Support/Titanium/mobilesdk/osx/1.2.0/iphone/builder.py", line 678, in...
Android TextField drawing broken when using % width inside a tab window
Hello everybody, I've been implementing a configuration screen for my application. This is a tabbed layout, with a configuration tab displaying 3 textFields to type in your username, password and company in order to login into a web service. I've chose...
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,...
Autoformat Telephone number in Textfield
I want to custom Telephone number format as (###)[###]-[####]. I implement in Change Event but I don't know keycode of character inputed. Is it same as ASCII? Thanks!
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({ ...
Button on navigation iphone and android
I am using titanum, and i would like create two button "login" and "fogot.." on the navigation bar. Please help me.
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 +...
get IP-Address/ device number or any unique data of the andriod device
I need to use a url ''….com/test/login?user=username&device=deviceNumber/IPAddress inside the application. So that the server can know from where the url is accessed. Is it possible to get any of such data.
Android - save Audio to playList (local) and play when there is no wi fi
Hello , I am creating a Music Player application which plays songs from server through url, so wi fi is necessary . My requirement is "When the user clicks the save to local playlist button, the auido should be saved locally and played when there...
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...
How to get Recent Call from Iphone using titanium ?
I am having problem with get recent call from iphone.I don't know. Can you help me ? Thank so much
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 =...
Error Loading Preferences on Windows XP
Hello, i've gone through many posts which cite a similar issue, but either they're on a different platform, or they seem to have missed out an installation step. i recently downloaded and installed Ti Dev 1.2.2. I already prepared my system for Android...
How to get Recent Call from Iphone using titanium ?
I am having problem with get recent call from iphone.I don't know. Can you help me ? Thank so much
My first app in AppStore :)
Thanks Appcelerator for this wonderfull API ttp://itunes.apple.com/us/app/supercartelera/id424976874?mt=8&ls=1
Closing a navigation windows causes app to crash out
I'm having a problem with a navigation based app. I'm three windows deep in a navigation group (so WinA->WinB->WinC). On WinC I allow the user to edit data. If they do change it, I enable a save button. When clicked, it saves the data and I close...
Showing 35,151-35,200 of 47,503 1 … 699 700 701 702 703 704 705 706 707 708 709 … 951