Community Questions & Answers
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...
Create views to mimic the tabGroup
Hey forum, I was wondering if anyone knows how to create views to mimic a tabgroup at the bottom. I want to keep the look but change the background colour and after some searching it seems that I can only do that by creating views and customizing...
Global static variables
On startup my application loads some constants from a remote server and keeps them in memory for use by other classes. In Java, I would have static variables in a certain class and access these static variables from any point within the app. How can I...
Android OS Version Support
What versions of Android OS Does Appcelerator Support? Does Appcelerator support Honeycomb?
Calendar Module for iphone
I download the Stelford Titanium Calendar module and was trying to compile it. I keep getting: (8 failures) xcodebuild failed Full errors below: <script src="http://pastebin.com/embed_js.php?i=b2j106cL"></script> anybody show...
TextArea content modification
Is there a way to insert text (via, say, a button event) into a TextArea? The TextArea APIs seem fairly opaque.
style property on a button
Hey guys I am trying to use the right nav button and settings its style. ~~~ var playerBtn = Ti.UI.createButton({ style:Titanium.UI.iPhone.SystemButton.PLAY }); win.setRightNavButton(playerBtn); ~~~ I can see the button, but the play icon isn't showing...
Packaging Error Titanium 1.2.2
I keep having a problem when building an app for distribution. I keep getting a packaging error, with a very long list in an alert. I have tired several different things to fix this. I uninstalled titanium, Xcode and reinstalled. Cleared out the build...
try/catch/finally
~~~ try { var x = Titanium.Network.createTCPSocket({..}); } catch(e) { alert(e); } ~~~ Your framework for exception handling is incorrect, e should not be a string, should be an object where e.message is the string.
Renaming the editable table Delete button.
Is it possible to have the "Swipe to Delete Row" button on editable table views say "Archive" instead of "Delete" as the iPhone Mail app does? Better yet, is it possible to have some rows say "Delete" while others...
Video Player error
I took an example from Q&A in order to get familiar with how to use the Video Player. I'm getting the following error. If anyone can point me towards the resolution, it would be greatly appreciated. Code snippet follows the error message. I'm on...
Application load event?
Is there an event listener that will detect when the application launches? For example, I have this in my app.js app.addEventListener('load', function () { showHome(); }); However, this event fires when images are loaded, and I only want it to...
Please release the XCode 4 bugfix already
These updates are critical. The XCode 4 betas have been out for months and Titanium still gives an error when I try to run the simulator, or distribute my app. ~~~ [ERROR] 14 0x000000010051e2cb -[Xcode3Project initWithFilePath:extension:error:] (in...
Suds.js NullPointerException won't let app start.
This bug is on Android. On iPhone the app runs perfectly fine. The suds.js file is just like the one in KitchenSink. Copy/Pasted. When I run the app, I get this on the splash screen: ~~~ Wrapped java.lang.NullPointerException: uriString...
passing variables
hi, i have tableViewRows and when i click. i want to pass variables to the second window.. i have this but it is not working 1st window : ~~~ var articleView = Ti.UI.createView({ left : 0 }); var imageArticleView =...
Titanium Mobile won't "save changes" for app icon filename?
I'm trying to change the app icon file name on my project in the "Edit" tab of Titanium mobile. Each time I click "Save Changes" on the project details, click on another project, then come back to my original, the app icon file name is...
cannot put image on the left in tableViewRow
hi, here is my code : ~~~ var articleView = Ti.UI.createView({ left : 0 }); var imageArticleView = Ti.UI.createImageView({ image : imageArticle, left: 0 }); var titreArticleView = Ti.UI.createLabel({ text : titreArticle, left :...
Picker window is behind current window
I have a tabgroup and a window in front of the tab group. I've added a regular picker to the window. When I click on the picker to change the value, the options open behind the window so you can't see it. If I close the window and go back to the tab...
Very basic session handling
I perform various Ajax requests with the app and PHP server. I want to simply: (1) get and store the session cookie created in PHP (get and store it in the app). (2) then send it to PHP (from the app) whenever needed. I can't find advice on this anywhere.
Advantages of Ti.Geolocation.forwardGeocoder?
Hi, I'm currently using `Titanium.Geolocation.forwardGeocoder` to translate addresses to lat/lng. The limitation of this not working for zipcodes is causing me headaches. If I switch to another API is there anything I'm losing (e.g. performance?). I'm...
Soap client for WSDL webservice
[Answer](http://developer.appcelerator.com/question/118440/need-the-way-to-consume-my-webservice)
WebView touch events
Are there any known limitations on WebView touch events? Or specifically on WebView touch events on the iPhone simulator? For instance, in a 'touchstart' event handler in the WebView's Javascript (which does get successfully called on the start of a...
Play Audio in background Android
Hello. I am working in a music player application where I need to play to audio from url inside the application . Using createAudioPlayer I played the music.But I could play it in the musicPlayer.js alone. When I navigate back to previous page, the music...
Android - View Not Attached to Window Manager (ActivityIndicator)
We have a fairly involved app where we have window A open window B. On window B, the user picks something and the window closes. Window A then does some network operations and consequently we display an activity indicator on window A. We are getting...
Fullscreen with clickable tabs
Hey guys, I'm trying to create a demo app it won't do much but change the image with the tab is clicked, however, I wanted to make it fullscreen with little tabs at the bottom. I was wondering if this was possible and if there's some demo code online or...
VRToolkit Module -- Has anybody looked at this?
http://www.benjaminloulier.com/articles/virtual-reality-on-iphone-code-inside Looks pretty amazing and exactly what I need, which is marker recognition. Can anybody take a quick look at the github source and see if this is something that can easily be...
iTunes App Store data sets
Hi guys, We've just made fresh App Store data sets. If you want some, plese go to [www.datasets.biz](http://www.datasets.biz/products). We develop Ti apps too and use our data sets for market research mostly. Code strong.
Problem after Upgrade for iOS 4.3
After, i have upgrade Xcode and iOS i can't compile the app to run on my phone, appears that Result: -------- [BEROR]CodeSign error: The entitlements file '/Users/andre/Documents/Mobile/Troller/build/iphone/ Resources/Entitlements.plist' is...
App won't work twice in a row
Hi ! I have a TabGroup on Android and one of this tab shows a map with several annotations. It works great. But if I close the application, relaunch and come back to the map tab, it crashes. Here is the logCat output : http://pastebin.com/VkHji8j7 Any...
Create a window using python
I am trying to create a python function that will create a window at the moment i have ~~~ from Tkinter import * def confirm (message): root = Tk() root.title='' root.geometry=("200x200") ~~~ which throws " 'module' object has no...
Geolocation altitude and speed on iPhone
I am trying to use the geolocation speed and altitude on the iPhone. However the geolocation function keeps on returning 0 as an altitude and -1 as the speed. Also the altitudeAccuracy stays on -1 and the accuracy itself will not go below 500 (this is...
Advertising
Has anyone successfully integrated their iphone AND Android app with an ad network using Titanium? All experiences appreciated.
Mac book Pro 2.3 Ghz good enough for titanium???
is this good/fast enough to develop iPhone apps? MacbookPro 13-inch: 2,3 GHz * 2,3-GHz dual-core Intel Core i5 * 4 GB, 1333 MHz * 320 GB, 5400 rpm1 * Intel HD Graphics 3000 Or what is the minimum?
Ti.App.fireEvent Not Working - Code examples inside
I have a Ti.App.fireEvent and a Ti.App.addEventListener set up as you can see in the examples below. It is supposed to detect if a user who has previously logged in had selected to store their login info and auto login. Well, it isn;t working and I am not...
How can I package and deploy to someone else's iPhone or iPod touch
I was wondering if there is a proper way to deploy to someone else's phone for testing. I don't yet have the apple developers license, but I am just saving the pennies to do so and build for myself, and also have someone else run the same tests and QA for...
IPhone App Development on PC using Titanium
Does anyone developed an IPhone App on PC (Windows XP)? Where I can get IPhone SDK for PC?
Add a button to a map Annotation popup
Hi ! When you click on an Annotation on a map, you have a small rectangle displaying title and subtitle. How can I customize this rectangle ? I would like to add a button ot it that would open a new activity with data relative to this annotation. Thanks
Append Section to Table
####Problem: Is there a way to append a section to a table? You can do myTable.appendRow(row), but it appears to fail if you add a section element, that is, a TableViewSection. Is there such thing as an appendSection() method? ####Example: Ultimately what...
MapView Freeze if moved while adding annotations
Hi ! I am trying to show 135 annotations on my map (not all displayed at once when first screen is displayed). Coords are coming from JSON web service. The thing is that if I move the map while it is adding annotations, it will freeze for a dozen seconds...
Apple approval time..
Has anyone noticed a huge delay in approval these days?!.. earlier they used to come back within single digit days.. not anymore. Wat's goin on!? Updated: Thanks all.. it appears @8 business days is what I should expect. I will wait. Appreciate the info.
Mark point on an image
Hello I have a floor plan of a certain location. Now I would like a place to be highlighted, or draw a flag or something (with an image or whatever) when you choose a place. So for example I have room 1, 2 and 3. When I choose room 1 it gets...
Showing 35,351-35,400 of 47,663 1 … 703 704 705 706 707 708 709 710 711 712 713 … 954