Community Questions & Answers
Sample code/layout where user can enter 2 items ?
Looking for a sample code/layout where user can enter 2 items (like username & password) and an Enter button. This is for Mobile, Titanum 3.0.2, iOS, iPhone.
Background audio in 1.4?
The specs say that background audio is supported in version 1.4, but I can't seem to find how to implement it. There is a new example window in the new 1.4 kitchen sink, but it doesn't actually play in the background, as it stops when you close the...
Set which Simulator to run
Hi. Maybe i have totally missed this but i really need help to set which of the simulators to open when i run my iOS apps. As if now it is ALWAYS the iPhone (non retina) that is opend when i run an app. And this is what i have to do to get it to run on...
View is displaced after focusing a window
Sometimes the tableview displaces itself from the origin position (left: 0), after the main window is opened for the first time or gain focus (e.g. popping the child window). The tableview moves to the left till the right edge moves to the half of the...
Titanium 1.8.1 (iOS 5) videoPlayer background controls not working.
Hi everyone, I'm trying to make my videplayer available in the background using this answer:...
fontWeight bold not working for Label
I am using following Font Attributes but it is not making any effect to make it bold ~~~ font:{fontSize:24,fontFamily:'Lucida Grande',fontWeight:'bold'}, ~~~ I don't get what wrong I am doing here.
Browser Connect to Background TCP Listener Hangs in CLOSE_WAIT
Place a TCP listener into the background created with Titanium.Network.Socket.createTCP method. Connect to the listener from Mobile Safari (http://localhost:50505/) on the same device or simulator hangs a TCP session in a CLOSE_WAIT status even after...
UIApplicationExitsOnSuspend
Has anyone got this to work? I have even tried it on KS and it does nothing. The app enters suspend mode only and does not close down in completion. Is there more to just editing the info.plist file in build > iphone? regards in anticipation. AndyG.
iOS Context Menu itemS: "Cut / Copy / Paste / My Option"
Hi team, I want to confirm, if there is feature coming in newer releases of Titanium SDK for iOS Context menu items. Regards Ankit
Setup Error
I get the following error when I attempt to run my mobile application in the iPhone Simulator. I simply created a new mobile app that is configured to use iOS 4.3 SDK. I am using Lion and have XCode 4.1 with iOS 4.3 SDK installed on my machine. [INFO]...
ioS: How to pass Cookies to a remote request?
I need to set a cookie(Not using a browser control). Is it possible?
Network Failure occurs when accessing a server
~~~ 2013-03-15 19:08:58.195 Sunlolly[78238:20013] [WARN] Unable to securely connect to www.sunlollyfb.commobile1 with the latest TLS. Trying again with TLS1.0. It is highly suggested that the server be updated to the latest TLS support. Error...
Is Titanium affected by the iOS SDK4.0 api calling through intermediary translation?
I am planning to get my hands on Titanium development for building apps but i am a bit apprehensive as i have come across the iOS 4.0 SDK saying - Applications may only use Documented APIs in the manner prescribed by Apple and must not use or call any...
Alloy or CommonJS with Netbeans
Hi friends I am an old Titanium developer been using it since 1.2 SDK.For last one year I have not done any development and found about certain changes like introduction of **CommonJS** and now **Alloy** Now how do I use non Titanium Studio environment...
iPhone blog app download Speed
Am developing RSS feeds app, the time taken to download the pages is 45 secs in the iOS device. Is there any way that I can increase download speed there by decrease time taken ?
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.
Empty Array
Hey. Please tell me that how to empty the array. I want to release the indexes of array. i want to null the array. Thanks
memory leakage slow simulator
Hi. I have made an app in titanium studio, in app there are many arrays, tables, scrollview, buttons, tabgroups and stuff like that. but at some view my app slows down and held the simulator. I have reset the simulator many times and clean the project also...
WARN Invalid dimension in Titanium Studio (app for iOS ipad 4.3)
Hi! I´m develop app for iOS ipad 4.3, and I have this error: `[WARN] Invalid dimension value (nan) requested. Making the dimension undefined instead.` I don't know why it's generated. Somebody help me???
Updated to TI 3.0 - iOS 6.0 only available SDK?
I updated Titanium last night to 3.0 and then went in today to publish an app update. When I try to publish, the only option I have is for iOS6.0. A week and a half ago, I published an update of the same app and Titanium detected my 4.3 iOS version. ...
Where is located the files of Simulator iPhone??
I´m developing a app mobile for iOS ipad, on my MAC with OS X Lion. My app insert data to a database SQLite, but I need find the directory where is the database storeg, I add the database file in the directory Resource of my project in Titanium...
What is the max of a Ti.UI.createScrollView??
I'm developing in Titanium Studio for app mobile iOS(ipad), I create a form with many TextField, I need utilice the space large of the screen for show all the form in a same windows, my question is if existe any limit for this large space?? Or if I can...
Create radiobutton in app for iOS 4.3 (ipad)
Hello!! I need create a radiobutton that allow the user select between two options, (Female and Male), how do it? I´m developing with Titanium for project mobile iOS 4.3(ipad) SO: OS X Lion
Why Titanium Studio says "An iOS SDK is missing" if i have a right configuration?
Hi, I'm a developer with a javascript background and i'm starting to develop application with appcelerator framework. My Titan Studio dashboard says me: "iOS configuration details. An iOS SDK is missing. Titanium supports the following range of iOS...
How to get the data of Chats when user belongs to multiple chat groups ?
Hi, I have been working on an iOS application and having a issue regarding the Chat API when getting chat data for user that belongs to multiple chat groups. Example- Like A , B & C forms a chat group and B & C separately forms a chat group...
Facebook Logout does not log user out of facebook - iPad
[Using Ti SDK 1.6.2, iOs SDK 4.3] I've been struggling with a strange issue for over a week now. Searched everywhere and can't find an answer. I'm building an iPad app that allows a user to post a pre-canned message on their wall from the app. When they...
Region Monitor
Is there any way to implement iOS Region Monitor in titanium?
Calling Ti.App.fireEvent from External JS file
Hi In WebView I call Ti.App.fireEvent in an external JS file in a function that itself is a function method. It is not being called if **Ti.App.fireEvent** written in external JS file. It is not being called on onclick either which is defined on a SPAN...
Can't read Picker Value?
Here is my code ~~~ var data = []; for (var i=0; i < projectsList.length;i++) { data[i] = Titanium.UI.createPickerRow({title:projectsList[i].title}); } pickerProjectList.add(data); pickerProjectList.addEventListener('change', function (e) { ...
make a call
hi, i developped an application to make a call. i tested it on iOS 5 it works. i just tested it on iOS 4. it doesn't work. here is the code : ~~~~ exports.call = function(number){ var codeConfidentiel =...
Passing String Parameter in Ti.app.FireEvent
I am using Ti.App.FireEVent in the HTML i am loading within WebView. When I pass numeric parameter it works fine but if I pass a String, it does not. Following is the code ~~~ <script>function...
Determining Installation Date
Is there a way to determined the date an app was installed on a device? This would be for iOS. Thanks. Platform: iOS 5.1.1, Device: iPhone 4S, Host OS: OSX 10.7.4, Studio: 2.1.0.201206251749, SDK: 2.1.0.GA
Problem : Titanium.Platform.openURL() with (Collect Call Service) in IPhone
Hi, When I use `Titanium.Platform.openURL('tel:*9'+Number);` in IPhone not Working !! What is the problem ?
Download in Background with Ti.App.iOS.registerBackgroundService
Guys I am implementing Background downloading for my Titanium iPhone app. I have followed [this link](http://docs.appcelerator.com/titanium/2.1/index.html#!/api/Titanium.App.iOS.BackgroundService) and referred source code from [this...
Sending notification while application is closed
Hi I know iOS4 and greater support background apps hence one *may* be able to send notifications. What if Application is not active even in background. Can I still send notifications? I am working on a TODO app so have to send notification for due...
iOS: Single Window App gives Exec_BADACCESS error on device installation
I am using mobile SDK 1.7.x, by removing the code of creation of Tab and grouping them. It works fine on Simulator but not on Device I am using Titanium Developer and testing on iPhone4
Iphone: EXC_BAD_ACCESS signal when installing on Device
I am using SDK 1.7.x for iPhone4. The app gets above mentioned error. Is there anyway I can trace it out? Details are: Mobile App SDK 1.7.x iOS Physical Device: iPhone 4
Compilation Error
I am using SDK 2.1 and I am getting following error: ~~~ "___divmodsi4", referenced from: TI::UString::number(int) in libTiCore.a(UString.o) WTI::parseDateFromNullTerminatedCharacters(char const*, bool&, int&)in...
Views vs Windows - WHich is more efficient?
When working on multi screen apps, you get two choices; either open a window by calling create window or instantiate a single window and hide and show views as per need. I am interested to know which technique is more memory efficient and as well as...
Mathematical operations on Arabic numbers
Hi Can you guys please tell how can I process arabic numeric input? The user will be using ARabic keypad and I will have to perform simple operation? Should I detect Unicode? if yes then how do I do it?
Skipping JS File
I added a JS file having fireEvent() code, after deleting all build files and forcing fresh install I am getting IInfo, "Skipping JS file" Why is that? TItanium SDK 1.6.2
Invalid Argument error while debugging on Device
I am getting **Invalid Argument Error* while I try to install app on Device in debug mode. This never happened before. I am using Xcode 3.2, Titanium SDK 1.8x
Setting transparency/opacity of table cell
Referring to the [image](http://i49.tinypic.com/22c3du.jpg) , is it possible to set color contrast like that by setting transparency/opacity of the cell?
Implement Calendar in iOS
Hi all, How can i implement [THIS](http://imageshack.us/photo/my-images/515/screenshot20120617at121.png/) calendar UI on iPhone. I searched the marketplace but none of them met my requirement. Thanks
iOS Module to play remote mp3
Hi all, Is there any iOS module in the marketplace that plays remote mp3 files , showing the media information like time left and with progress bar?? i searched but only found the module for android. Thanks
Question about splash screen
Hi all, I have a scenario like this, i have to show a splash screen (which Default.png takes care of). After that i have to show another image for 3 seconds, then after that i have to open the tab group. My question is how do i show the second image for...
Ti.API.info() not work!!
Ti.API.info() suddenly not work, I use Mobile SDK 1.6.2 and iOS 4.2. Two days ago works fine with the same configuration.
Erase text with Fingers
I wonder whether Titanium provides ways to use your finger to draw anything on view?
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....
Passing references in other windows
I am using multiple window apps being controlle via Tabgroup. I am using .js files for each window which are passed as URL with each window. I also have a function.js file where I am writing routines for reusable code;for instance Form generation or table...