Community Questions & Answers
Basic Project Not Building on iPhone
Hi- I'm new to Titanium, but I'm having an issue. I've created a new project, and without touching any code within it, I get errors when I try to compile for iPhone. I am using iOS SDK 4.3 and Titanium SDK 1.6.2. I wonder if this may have something to do...
Create Calendar
Hi, Here the code i use to create a calendar: ~~~ var calendar = Titanium.Android.Calendar.createCalendar({ hidden: false, id: 265, name: "calendrier compte fiscal", selected: true }); function showCalendars(calendars) { for (var i =...
WebView in TableViewRow doesn't wants to reload when focus (and fail)
Hello, first I have two tabs. In the first one, i can call a window which contains a TableView, and one of the rows is a webView with data in a string ( var data = '<html>Test</html>'; ). But if I scroll down too much, that row becoming...
Facebook on Android
Hi all! I'm porting an IPhone app on Android, both developed with Titanium. In IPhone app I need Facebook to show some data. In Android I have problem with this method: 'Titanium.Facebook.requestWithGraphPath();' I'm using a path like...
Android menu Question
How am i able to acces the .js file that includes the android menu? Why do i need this? I have a tabgroup which allows users to fill in data to create a new user or company. Now i want to have a Android menu button, that when pressed activates a...
Module can use other xcode project files.
Hi, I am creating a titanium module for iphone. I need to select multiple video files from library. I have find the solution in xcode as ELCAlbumPickerController. Now I want to use this in Titanium module. For this I copy all the class in that and create a...
iPad grouped tableview background (+ Lighthouse doesn't open)
Hello Can anyone tell me how to fix the problem with the tableview grouped background? It's not working. I found some questions with the answer to check the following...
vertical scrollableview ?
Hi, I need a vertical scrollableview. I understand that the titanium scrollableview is horizontal only. So I am trying to use the scrollview. I need some kind of resistance and bounceback if the swipe is too short. My first attempt is here but doesnt work....
Walking Directions from Google Maps
Is it possible to get walking directions from Google Maps API by default? In other words, I'm using the '&mode=walking' switch in the URL string and STILL get DRIVING first -- forcing users to tap the walking button every time....
How to handle user sessions?
Hello, Titanium SDK version: 1.6.1 iPhone SDK version: 4.2 I am a bit confused about what is the best practice when dealing with user "sessions" in the app. Like it is now I save the users token in a property and then check on each page that it...
Multiple type push notification
Hello everyone, I have an app that receives push notification and I saved it in the home, so ~~~ Titanium.Network.registerForPushNotifications({ types: [ Titanium.Network.NOTIFICATION_TYPE_BADGE, Titanium.Network.NOTIFICATION_TYPE_ALERT,...
Dinamic TableView error
Hi, I have a problem with a tableview. I would like to create a table view that show more details when you click on a tableviewrow. This is the tableview before clicking on a row: http://img228.imageshack.us/i/tableview1.jpg/ This is the tableview after...
Where is the "event" list for addEventListener ?
I'have a probably stupid question, but it keeps bugging me... Where is the list of possible "event" for the method "addEventListener". Didn't find it in the API documentation... Thanks in advance !
Android Calendar...How does it work?
Hi! I have several questions about the Android Calendar Object: - When i create a new one (using Titanium.Android.Calendar.createCalendar();) i got an error wich says "cannot find function createCalendar in object [Ti.Android.Calendar]" - When...
using titanium developer behind a proxy
after installing titanium developer, we are trying to sign up to your service from our company behind a proxy. After starting titanium developer there is no reaction for about 20 seconds (a splash screen would be fine), then the llgin/sign in screen...
Run on iPhone
Hey again I was here yesterday, but you know, new day, new issues ;) Just kidding, I freaking love titanium. This time I need some help with errors appearing when I try to run on the iphone, I get this; --- Install Error [ERROR] Error: Traceback (most...
Email Dialog Issue in Android
When a button is clicked,emailDialog is opening.but it doesnot have Disacrd button.How to Discard the message.But it works fine in iphone. Thanks in Advance, Pavani
Titanium + 3rd party open-source iOS library
Hi, I found a third party open-source iOS library called OpenEars that does text to speach on the iPhone. It is designed to work with xcode and objective-c. I was wondering if there is any way that I can make a Titanium app that uses that capability. Thanks
Blend Modes
Hi, I've seen quite a few mentions of the (undocumented) Blend Modes in Titanium Mobile, but I didn't find a real demo of how to use it. Is this the kind of blend modes photoshop uses? I'd love to be able to use that feature. Could enable some cool...
How to custom font on android ?
I used titanium sdk 1.6.2, i need to custom font android, but can not. Please help me. Thank so much !
Keeping Static Local Database
I have what is hopefully a simple question. I have a sqlite local database that I have in the Resources folder. I won't have ANY user local data stored in this DB. Thus, I don't need to worry about upgrades or anything like that. I simply want to use the...
createScrollableView crashes app, regardless of where I put.
This has happened with other features as well... I cannot create a scrollableView without the app crashing. I put the following anywhere in my app and when the page is loaded the app will crash and the simulator will exit... What the hell is going...
Earn $50 Via Paypal for Android Setup help
I just installed all of the latest software and SDK's and Android is not being detected properly. I will pay someone $50 via Paypal to help solve this problem. I have already dont the workaround and copying the adb to the new folder but this did not work.
Does Titanium support ios 4.3.2?
I am hesitant to update my iPad... but would like to if Titanium will not have any issues.
Facebook Graph API session broke my webView...?
Hello All, Quick Summary: Titanium Version: 1.6.2 Platform: IOS 4.3, and Android 2.2 Using the Facebook *Comment* social plugin in a webview in conjunction with the Titanium Facebook module seems to be incompatible and requires the user to...
Screens do not look like ones online in docs where is my code? Where is the editor
I created my project and I can see it in the left but I see no option to edit code and I do not see the sample code the doc says will be created. I am trying to create a PHP desktop project. When I click on my project I see dashbord edit and test. When...
Tab events on android, do they work?
Hi I am having some real problems adding any kind of tab events to either tab groups or tabs. I need an event to tell if the tab has been changed (and to what) which would be fine if i could get focus or singletap to work, but they just don't. I am also...
Push notification WHILE the app is open and active?
I just noticed that if my app is currently open and active on my phone at the time I send a notification to it, the notification alert never happens. How do I trap that notification so that I can display it?
CreateTimestamp
Just Curious how to arrive at the correct epoch value from a value of '1243819826000000' or '831131912326000000'. I've been recieving these values when calling createTimestamp on a file object. Any suggestions?
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...
Android application will not run
I'm at my wits end. I had a new project that was working fine when all of the sudden I'm getting this error and the project will no longer run: [ERROR] Failed installing com.company.project: pkg: /data/local/tmp/app.apk. I've combed the Q&A for a...
Trying to save external file in app's filesystem
My ipad app records and plays back audio recorded in the app. Once audio is recorded it can be played back, saved to the FileSystem, and played back from the FileSystem. All is well. My problem is saving a .wav file opened from Apple Mail. My app can...
Titanium.UI.iPhone.NavigationGroup undefined
Hi there, I am getting an error when I try to install my app on device:<br /> Result of expression 'Titanium.UI.iPhone.NavigationGroup' [undefined] is not a function. <br /><br /> System: iPhone 3GS with iOS 4.3<br /> Ti: 1.7.0...
Grouped TableView for Android! A good workaround!
Hello all. I wanted to contribute my work here for those of you looking to use grouped tables on Android. I created a sort of workaround to make it look like a grouped table. I hope this helps...
Can't find variable XPathResult
Hi there, I'm using this function to grab xml data via XPath and I get this error ~~~ var expression = '//plist/dict/array/dict/dict/string[2]'; var elements = doc.evaluate(expression,doc,null,XPathResult.ANY_TYPE,null); ~~~
Audio Player - Error Capturing
Im working on getting a streaming radio client working in an Iphone App. everything works great, except for this little issue: is there any way to have valid error capturing for the Audioplayer. i really don't want the user to see the technical error...
Running my First App, unsure how...
I am completely new to this and have especially bought a mac-mini and joined up with the apple dev programme, however i cannot seem to get started. the xcode-4 does not install as the dmg is "not recognised" so whilst i wait for support from...
Can't build for Android
Hi All! I'm trying to build my app for andriod and keep getting these errorlines. I've done a full rebuild, deleted my AVD:s and cleared the build folders. My log error is here: [http://pastie.org/1815987](http://pastie.org/1815987)
internal ec2 ip redirect after install
Just a heads up. Installed titanium dev just now and after the sign up page I was redirected to http://ip-10-112-7-143.ec2.internal/install-success/?p=v2:5ad1be56-5829-4b56-8d3f-3f17a9a6be3e|5dbd17a2d0fb11cceab23de42f3acc54 I'm guessing that shouldn't...
Adroid TabGroup "close" event does not work
It seems that the "close" event does not work for TabGroup on Android (but is ok on iOS) ~~~ var Tbg_Main = Ti.UI.createTabGroup(); Tbg_Main.addEventListener("close", function(){Ti.API.info("Close !");}); ~~~
start app (iphone/android) without tabbars, but with titlebar ??
Hi, This is possible ?? I not want to have tabbars in the first window... For example I try this. app.js ~~~ var win = Titanium.UI.createWindow({ title:'Home' }); ... win.open(); ~~~ But in both android/iphone I cant see the titlebar. I see other...
How to change Date Format
1St question Mydate = 04-17-2011 Date format I want is 2011-04-17 2nd question Mydate = 04-17-2011 Date format I want is 0417 (MMDD)
Titanium Developer forgets settings for Android distribution
Hi Every time I make a change in my project or close Titanium Developer, I have to fill agail all fields. ¿Why this settings are not saved? I'm using 1.2.2 version on Linux
Twitter effect
Hi guys! I have a question, long ago I want to know how to simulate the effect that makes twitter when a user moves the finger left or right on a tweet. Then, appears a hidden menu. It would be possible to make that effect with Titanium. Thanks.
XML Request sent, but not receiving a response
Code below. I am unable to receive the XML response which is being sent by the server. I can confirm that the request is received and the response generated from the server's API logs. Other applications which receive responses from this same request...
Don't create iphone subdirectory in /images
Not a question but a heads up for iPhone and iPad development. If you want to have a separate folder for OS specific images, don't name it simply images/iphone or images/ipad -- the emulator will show them but the device will not. Instead use...
XHR connection fails now and then without reason.
Hello! I am using a XHR connection to my own Rails 3 API and when I click a send button sometimes I get the below error message. If I click the button again directly after it works fine. What can be wrong? ~~~ Error:Error Domain=ASIHTTPRequestErrorDomain...
Global settings: best practice
Hello Whats the best way to keep config for your app (for example some colors to use, global config stuff)? Use Titanium.App.Properties.setSomething Or creating a config.js file somewhere, and put all the vars there? If the best way is creating a...
Kitchen sink camera examples on an iPhone 4 bug
There's a thin white bar at the bottom of the screen on all the camera examples on an iPhone 4. It looks fine on an iPhone 3gs. Has anyone figured out how to remove this? Using the top value as an offset doesn't work for me.
how to add a picture in the middle of the navbar ?
Hello, I'd like to have a navbar with two button to the right and one on the left and add 3 icons in the middle "pictures" I hope to have an answer please because I too galley with this problem
Showing 34,901-34,950 of 48,766 1 … 694 695 696 697 698 699 700 701 702 703 704 … 976