Community Questions & Answers
Building project with Titanium studio and extending it on Xcode.
I have created a black application in titanium studio for iphone. on running it shows its default view i.e a view with 2 tabBars. now i opened the project on xcode and i can see that native code of my project. what i need is that, now i want to develop or...
zIndex beinbg changed
~~~ parent_obj.left_pane = Ti.UI.createView({ top : the_screen.getLeftPaneTop(), left : the_screen.getLeftPaneLeft(), width : the_screen.getLeftPaneWidth(), height : the_screen.getLeftPaneHeight(), backgroundImage :...
tableview with check box, how to add it??
function abc() { var win = Titanium.UI.createWindow(); // create table view data object var data = []; data[0] = Ti.UI.createTableViewRow({hasChild:false,height:'auto'}); data[1] =...
Facebook 'apprequests' method send request but not notification
I want to invite Facebook friends to try my app with Facebook 'apprequests' method. Titanium.Facebook.dialog('apprequests', { message : "Welcome to maahApp", appId :<my app id is here>, access_token :...
ERROR
I am having this error while installing the application in iphone 4s. Please help ** BUILD FAILED ** [ERROR] : The following build commands failed: [ERROR] : PhaseScriptExecution Pre-Compile...
Mobile Safari Meta Tags Not Working If Loaded Via LOCAL Webview
We have an app that uses a lot of webviews, and have managed to get the web content (images and text) looking correctly on iPHone4 high res and on older iPhones by making the page very large, and having the page scale automatically using this meta tag in...
App crashes while Testing on iPhone Device
Why app is crashing ? What is the reason of app crashing in iPhone device while testing ?
HTTPS url for API is not able to execute on ios Device
Hello friends, I am working on a app in which app is communicating with web service under VPN connection on HTTPS url. I puzzled when same code is running fine on simulator and got fail to hit service on real device. In past i face same issue whan i have...
iTunes Sync App failed to install
Hey. When i install ipa then i want to install that ipa on my device, but it gives me error on iPod device "iTunes Sync MyAppName failed to install" Please help me that how can i install that ipa on my device Thanks.
DONE button on Numeric KeyPad-can this be done in Appcelerator?
http://www.neoos.ch/news/46-development/54-uikeyboardtypenumberpad-and-the-missing-return-key
Iphone Simulator And Device Error
I can't beleive there is no suggestion and solution for my problem in titanium. From last few days i am getting following error when i run my app on iphone simulator and in device. When i go to iphone folder in build directory and deletes the content of...
iPhone Back Button on a Tabgroup
Hi, My main window (with fullscreen and exitOnClose set to true) has a tableview and upon click on a row, I am opening a tab group. With the tab group active, I want the back button to take me to the main window instead of exiting the app. When the...
iOS, Android - Exit App
Hi guys, please how to close / minimize / exit application ? For Android I found this solution: ~~~ var activity = Titanium.Android.currentActivity; activity.finish(); ~~~ There are also some other ? And I need some for iOS ( Only iPhone ). I don't...
Expandable list
Hi guys I'm trying to create a vertical list of items, that upon click expands into a form. For instance the list could contain the following list of items: - Spring - Summer - Autumn - Winter If the user taps on Summer, I'd like to display a form here...
Titanium Support Game Center or Not.
Does Titanium supports Game Center or make it easy to use? And if Titanium supports game center please guide me how to use and manage Game Center.
Titanium Supports Game Center or Not ?
Does Titanium supports Game Center or make it easy to use? And if Titanium supports game center please guide me how to use and manage Game Center in application.
orientation issue in iPhone but working fine in Android
Hi I'm having issue. the following code is working fine in android but in iPhone it is not working. orientation remains PORTRAIT. function movie_remote(navController,video_url) { var win,video_url; var osname = Ti.Platform.osname; ...
opening tab
hi friends, i have 4 tabs in my app. But i want to open second or third tab when opening tabbed window. It opens first tab by default. How can i open different tabs when opening window? thanks
windows corrupt
I open windows as follows: app.js: ~~~ var NavigationController = require('NavigationController').NavigationController, TestWindow = require('main_windows/tmain').TestWindow; //create NavigationController which will drive our simple application var...
Switch to Titanium sdk 1.8.2
Hi I have my code build in Titanium sdk 1.7.2 and i want to switch to the latest sdk. When i run the code in sdk 1.8.2 it gives the following error: [INFO] Titanium SDK version: 1.8.2 (03/23/12 13:18 651e593) [INFO] iPhone Device family: iphone [INFO]...
Server Video Download and save in iPhone Gallery
Hi Guys, I have video at server, i'm downloading it and want to save it to iPhone gallery. I use the same technique as i download image from server and save it to iPhone photo gallery using Titanium.Media.saveToPhotoGallery () method. Same method i'm...
Saving image @2x using toImage()
What I want to do is save a screenshot of a view as a @2x png People have mentioned that there has been a fix https://jira.appcelerator.org/browse/TIMOB-4884 but it still doesn't work for me. I am thinking it might be easier to do this by cropping a...
Having trouble with "TAB LIST", please help.
So here is my code, i'm having trouble implementing a few things. 1. On the Tab List I would like to know how to have a new individual page open up for each item in the list, at the momment it's just the same window for all the items on the list. 2. I...
Application crashing when running in background on iPhone
Whenever I quit my application from iPhone Simulator and relaunch from same place so application is returning me an exception ~~~ The application has crashed with an unhandled exception. Stack trace: 0 CoreFoundation 0x02e8a052...
Statusbar overlaps iad on ios6
Using latest builds, statusbar overlaps iad view on iOS 6 tested on 3.5-inch iPhone 4. It seems to be OK on 4-inch iPhone. Happened on actual device and simulator. Where and How do i report this? Thanks see screenshots overlap on iphone...
I got this error and App just shuts down when I run.
[ERROR] clang: error: linker command failed with exit code 1 (use -v to see invocation) [ERROR] [ERROR] Error: Traceback (most recent call last): File "/Users/pradeep/Library/Application...
problems parsing an xml
Hi all, i have a problem with an xml. I have to parse this: ~~~ <RESPUESTA totalElements="47" session="3992c57c"> <AGRUP_PRECIO VALOR="119"...
Background Services
Q) I create one application it work properly .but i wan to set that when my application is close and than anyone shake my iphon that application automatic run or open ? How can i do this ?
Acessing photo Gallery Items programtically
Is there anyway to access photo gallery items by using code without launching Photo Gallery Window>
Facebook-like Static Menu - iOS
I'm on a mission to try to find out how some of the big guys' apps would function in appcelerator. A week or two ago, Dan Tamas did an amazing job figuring out how twitter handles their swipe-to-reveal feature on tableviews...
iPhone resolution
Is the resolution on iPhone 4 not 640 * 960 ? Ti reports 320 * 480
UIWebView Retina Display- Measurements in CSS
I asked [question](http://stackoverflow.com/questions/11775057/appcelerator-uiwebview-retina-display-measurements-in-css) on Stackoverflow, I desperately need help.
Memory Leak Problem
Hello, i've realized a very simple application just to test the Navigation Group. Then i tried to check for memory leak with Xcode4 (Instruments tool). Unluckily it find me many memory leaks when i push the button and then navigate back. I'm using...
App freezes on splash screen - From Apple
So I am in the process of submitting my app to apple. Apparently apple rejected the app because the app freezes on the splash screen, but I have never seen this happen on my device, simulator or any of the other devices I have used. Any ideas? This is on...
tab group disapears
Hi! I have some kind of login window, it's opening at the the start of app, also I have tab group with few wins on it. So when I push login button(that is placed on the login window) I close login window and open bar group. On one of the windows logout...
Ti.Platform.locale
Ti.Platform.locale "Locale, as a combination of ISO 2-letter language and country codes. For example, en-US or en-GB. See the ISO 639-1 and ISO 3166-1 alpha-2 sections of wikipedia for reference." works only when the definition of language is in...
Can't find variable: TwitterApi at app.js
When i try to run twitter application it shows me the following error.....I include the twitter_apss.js file in program also include the oauth_adapter.js but still its shows me same error....plzzz help me [ERROR] error loading path:...
VideoPlayer bug: iOS 5 (or iPhone 4s with iOS 5)
I have been developing an app that supports streaming video and audio, among other things. I've gotten everything to work perfectly on my iPhone 3S with iOS 4 as well as my Android device. Tonight, I deployed the app to my new iPhone 4S with iOS5 and now...
Missing iOS SDK in Titatium
This may have been answered before but I am currently having issues trying to get Titanium to recognize my iOS 4.3 SDK. It recognized it before but after some issues with my Mac it no longer works. I have uninstalled and reinstalled Titanium several times....
Russia vs Czech Republic Live Stream euro 2012 API for iphone espn550 HQ HD
Russia look the most favorite to win Group A and if compared to their standards, it looks to be all easy wins for them except for one team which is Czech Republic. Russia qualified for the European championships at the top of the table. According to their...
Good books for C objective oriented programming for iPhone dev
Hi Guys, I am new to iPhone dev. Can you suggest some best books for C Objective Oriented with iPhone app dev? thanks, Prashant
Ruuning App on Device
Hello, my app is running good on the simulator, but when trying to compile on iPhone i get: [INFO] Performing clean build [ERROR] clang: error: linker command failed with exit code 1 (use -v to see invocation) [ERROR] [ERROR] Error: Traceback (most...
How do you invoke google "Maps" native Iphone app with starting and destinations parameters?
I tried http://maps.google.com/maps/.... and they give me the regular google map. I like the google native app layout , features etc and I want that to be displayed from within my Appcelerator app with starting and destination parameters. Any clues?
What version of Titanium SDK support e-compass data retrieving?
What version of Titanium SDK support e-compass data retrieving?
call functionality work on iphone 4 but not in iPhone 4s with ios five
how to differentiate iPhone and iPod in Titanium. i want to hide call functionality in iPod. I am using titanium sdk 1.8.2 .
How do you remove the title bar from a tabgroup?
I currently have two tabs in a tabgroup, and now I would like to remove the title bar from this tabgroup so I have more screen real-estate to play with. How do I achieve this?
Geolocation - location event not being fired
I'm trying to make an app which based on user's current location will update some information, just like is done in Kitchen Sink example, but I'm passing through some problems. Kitchen Sink works great, but mine doesn't. I noticed that the location event...
iPhone Settings Screen
Hm ... I have been through several tutorials and material and I have never found anything about how to create a settings menu on iPhone's settings screen. Is that possible to be done with Appcelerator? If yes, any pointers please? Thank you, G.
Resize Image after capturing with iPhone Camera?
Is it possible to half or even quarter the size of an image which was captured using the iPhone camera. The application Im working on currently uploads all photos taken to a server, however some of these images exceed 2MB in size, which is not...
exit(0) iphone
Hi. How can I exit from application if I pressed the cancel button in terms & conditions window? Thanks