Community Questions & Answers
Android Apps don't Fly on Android Marketplace - Key parts missing
It appears the latest Ti release is incomplete. (Mac OSX) I'm able to compile and run android apps on a device, sign and package them (following this sites instructions to the t.) and they fail to work when packaged for the android market. We've had...
Google Adsense and Android
Okay, I give up. I have had 4 different Google Adsense accounts disabled, and have narrowed it down to Appcelerator Titanium being the issue. This time they said it is because I am using IFrames, which I am not, but apparently when using WebViews, it is...
tab group disappear
Hi, i have the first window with a tab group of 3 tabs. i read data from xml and display them in table row and when i click on item. ~~~ row.addEventListener('click',function(e) { var winArticle =...
Styling of TableViewSection
I've made a TableView where I add 2 sections separately, but I want to style the sections and it won't let me. I've tried the documentet way and tried the solution in this question:...
How to do multiple JSON calls on the same page? Please help!
Hello! I am rather new att Appcelerator and I am trying to develop an app that receives information from an API. On a page I want to make multiple calls to the API with the createHTTPClient and then display the results from these calls onto the page in...
Accessing filesystem with php or js (desktop)
I want to make a very simple desktop app that displays a list of files in the users document folder (OS X). I have made a html5 + css3 layout for the listing. Thats was the easy bit. Now I have to write some code that looks in the document folder and show...
textinput background fade effect
Hi. Does anybody know how to implement fading while input element is focused? Almost any input element in Apple's applications generates this effect - background becomes dark if input is focused. I use ugly hack with changing transparency of additional...
1.7.0 searchBar not firing focus event
~~~ var search = Titanium.UI.createSearchBar({ showCancel:false, }); search.addEventListener('focus', function(e) { Ti.API.info('focus'); }); ~~~ This works fine in 1.6.0 but not in 1.7.0
UI.TableView "Editable" customisation.
Hello, I currently have a UI.TableView with entries and the Editable flag set to true, this enables the swipe-to-delete function which I am fairly happy with. Is there any way to customise the label on the "Delete" button or add extra buttons...
Impossible to test on device after installing xcode 4.
Impossible to test on device from titanium, after installing xcode 4 have you the same pb ?
Loading external DLL's ?
Anyone aware of - if Titanium Desktop is able to load external dynamic link libraries? (.so / dylib / dll) ? I've searched through the docs and Q&A's but can't seem to find anything.
Is CDATA ignored in the Locale resource XMLs?
I am trying to make an app that has an & in the locale files and the compiler pukes unless I html encode it with %26. Is this a bug?
class detection for Ti.UI objects
This seems like a naive question, but how do I detect the class of a Titanium UI object? Let's say I have an event e and e.source is the UI element that triggered that event. How do I tell if e.source is a Ti.UI.Label or a Ti.UI.ImageView?
Possible to appendRow to the top of a tableView instead of the bottom?
I have just implemented the Pull To Refresh feature in my app. The only problem I am seeing is that the new appended rows using `tableView.appendRow(row)` are showing up at the bottom on the tableView. I need them to append to the top of the tableView. Is...
update DOM incrementally during loop, not output all in one hit at the end...
I'm using python with jquery to output a loop to the dom using "append", but the output appears in one hit at the end, not incrementally during the loop. Here's a simple example ~~~ countdown = 10 while countdown...
Possible to animate sliders as I set their value?
Hello, Is it possible animate the movement of a slider? A simple mySlider.value = 123; yields the slider snapping to position - I'm looking to animate that process. I've tried several things without success. I wrote my own function and it works but it's...
App in emulator crashes
Recently my app started crashing in the android emulator on two different computers and the kitchensink will not install with the error: Failed installing com.appcelerator.titanium: pkg: /data/local/tmp/app.apk This occured after I updated via SDK...
How would you handle submitting the same app twice (with ads & without)
I'd like to offer a free version of my app with iAds and then offer another one for $.99 without iAds. How would you deploy this? Is this is what the Appstore toolkit does? New territory for me here so looking for someone who's done this and took the...
It wont build
Installed, detected iOS SDK, and if i try to build it it shows this: ~~~ Traceback (most recent call last): File "/Library/Application Support/Titanium/mobilesdk/osx/1.6.1/iphone/builder.py", line 1276, in <module> main(sys.argv) File...
Need some paid training this weekend
My team needs some basic training and help this weekend/Monday. Just a couple hours getting up to speed on concepts and coding an Appcelerator app for the iPhone... looking at our project spec and guiding us on the best way to leverage the SDK. If you're...
Desktop Packaging Fails
(1.2.2) When I try to package a desktop app I always receive this error no matter what. "Packaging Failed. HTTP Status: null" Please help.
certificate chain not found for ...
When i try to package my app of course after filling all the required data, including the keystore file (wich i created as in the tutorial) i get this error: Certificate chain not found for: AppXYZ. AppXYZ must reference a valid KeyStore key entry...
// ImageView pinch to zoom and pan
Im trying to pinch to zoom and panning an image like the images in the "Jersey Shore Yourself" App. I have found nothing here in the docs or q&a :-(
Getting Image URL After Upload To Facebook
How do I get the image URL after I upload it to facebook. When I use the facebook GraphApi and hae the id returned upon successful upload I can not get any object properties. Any help is appreciated. Here is the...
JSon and compression
Hello, I have to retrieve json datas from a server. It works fine. The only problem I have, is that I have to retrieve a lot of records to fill my table and it produce a quite huge json file. Is there a way to compress the json in server side (PHP) and...
Share a text with Facebook
Hi, is there a way to share a text on Facebook with Titanium mobile ? and how ? Regards
Phone call during uploading a picture
Hello, I need to upload some photos or videos to a server with my app. What happens if the user receive a phone call ? Does it continue in background ? If no, what should I do to finish uploading correctly ? Regards
Time triggered event
Hello, just am trying to trigger an event based on the current time. For example: if it is 10:00 am some music is played, if it is 11:00 am a picture is displayed. Any ideas how this can be achieved using the Titanium API? Thank you
iPhone StatusBar Styling Errors, Need help!
I have searched and searched the Q&A trying to find an answer this this issue with no luck. All the suggestions people have posted to try and change the iPhone statusbar style in an application do not work. I need to change the StatusBar to...
Syntax Highlighting for TextArea?
Does anybody know a module or JS file for highlighting the JavaScript Syntax in a TextArea?
Check which window is open in a NavigationGroup
I have a NavigationGroup with 5 windows in it. Now I want to check, which of these 5 windows is opened in the NavigationGroup. Is there a way to do this?
Geocoding zip codes
Is there any plan to have the geocoding services support geocoding zip codes? It's a pretty common requirement.
Geolocation not working - giving "is not an object" error
Hi folks, I'm using Titanium SDK 1.6.0 and iOS SDK 4.3, and trying to hook into geolocation to get the user's current location. I'm using code cribbed from the foursquare.js example in Kitchen Sink. However, when I try to make Titanium.Geolocation...
Twitter hash tag tweets
Hello I am trying to search all tweets with a given hashtag. I have a working code to search all tweets from a given user (for example @prayforjapan). Now I'm trying to get all the tweets from #prayforjapan. This isn't working.. Now to search for the...
Android Map Route support??
Is there any ETA on when routes will be supported for maps on Android ? ~Brian
Twitter: Get hex tweets
Hello I have a working twitter app (like the one in kitchensink) to get all the tweets from a user (for example @prayforjapan) Now I would like to show all the available tweets for that hash too. For example #prayforjapan. Does anyone know how to do...
Double-tap to zoom Scrollview at point of doubletap
Hi, I have a ScrollView that contains an ImageView. I'm attempting to mimick the feature in the Photos app on iOS devices whereby a photo zooms to the point on the photo where the user double-tapped. E.g. if you double tap in the top right hand corner,...
Xcode 4 & iOS 4.3
Does anyone have an idea if Xcode 4 and iOS 4.3 will work with Titanium Mobile 1.6 I want to make sure before upgrading my system. Thanks
Xcode 4 & iOS 4.3
Does anyone have an idea if Xcode 4 and iOS 4.3 will work with Titanium Mobile 1.6 I want to make sure before upgrading my system. Thanks
Xcode 4 & iOS 4.3
Does anyone have an idea if Xcode 4 and iOS 4.3 will work with Titanium Mobile 1.6 I want to make sure before upgrading my system. Thanks
Xcode 4 & iOS 4.3
Does anyone have an idea if Xcode 4 and iOS 4.3 will work with Titanium Mobile 1.6 I want to make sure before upgrading my system. Thanks
Locale Problem on iPhone
I have two strings.xml files in which I write some literals in order to have a multilingual application. But I have a problem since yesterday which is the following: I cannot see my app 'writing' the literals in my app, some I added yesterday are not...
Dynamicly create textfields or other UI elements
Does anyone have some suggestions on how to add/clone/duplicate textfields or UI elements, example by clicking a "plus"-sign button or something similar?
Best approach to multiple insert on database
Hi, What is the best approach (in terms of performance) to perform multiple insert query operation on sqlite3 db? I have to insert 4000 to 5000 records upon receiving the xml response from the webservice. Thanks in advance. :)
Force restart
Hi , I have a question concerning how to restart the app. For now when I leave my app and reopen the app, I have my previous page visible, is it possible to force the application to restart every time you leave it? Thanks for your help
Android Splash Screen - Can I add a sleep or delay?
I have a single splash screen image (Default.png) for an Android app. No animation. I'd like to have the app display the splash screen longer, maybe 2-3 seconds longer than it is currently. Currently, the splash screen barely shows because it loads so...
Facebook into titanium
Hello I am trying to integrate facebook into my mobile app. Does anyone know a good tutorial for this? I have found a few (not so clear tho) but they all need an App ID. So how do i integrate a page that isn't an app.. for example...
Error on launching kitchenSink
Hi guys, im new to this and having mac os 10.5.x I dont wanna upgrade to 10.6 so thats why im using the ios 3.1.2. I also downloaded the latest Titanium Developer 1.2.2 and kitchenSink 1.6.0. When im trying to "launch" the kitchenSink Project i...
Facebook connect button issue
HI, We developed an android mobile app using appcelerator 1.6.We have used FB plug-in for share and like feature. When ever we trying to connect to facebook using f-connect button , I am getting an error as "Sorry! The application 'APPNAME' (process...
JavaScript Global Error Handling
I just converted a webapp I have been working on and Titanium is fantastic however some people are still getting these JavaScript errors they had got before I was never able to re-create thus the reason for my question why is there no event such as...
Showing 35,551-35,600 of 47,750 1 … 707 708 709 710 711 712 713 714 715 716 717 … 955