Questions tagged [titanium-mobile]

Use this tag for questions about the cross platform Titanium Mobile SDK. If your questions is specific to Alloy, Android, iOS or modules add the related tags like [titanium-alloy] too.

Titanium-Mobile is an open-source JavaScript based platform for developing mobile applications.

Supports Android and iOS (iPhone, iPod, iPad) using a mostly common set of Mobile APIs which render using each platform's native controls and features.

Resources

Related tags

1832 questions
3
votes
2 answers

Resizing the tabgroup header height in Titanium Android

I am new to mobile development with Titanium Studio. I am developing an app for android. When I tried running it in WXGA720 screen emulator, which was looking good. But when I tried the same with WXGA800-7in screen emulator, it looks terrible.…
balanv
  • 10,686
  • 27
  • 91
  • 137
3
votes
1 answer

touch html 5 canvas trouble

I have a canvas element that I am using in a webview (titanium mobile) I am having problems with the simple event handler. When I touch the canvas to start to draw a line, the line jumps to the center point of the canvas after approx: 1 second of…
jlukin
  • 43
  • 5
3
votes
2 answers

Titanium.UI.TextArea for text display: Content positioning to start reading text from beginning

I am building a tabbed mobile application in Appcellerator Titanium. I need to fill one tab with a big text-segment, and are using a TextArea to do this: var explanationView = Ti.UI.createTextArea({ enabled: false, editable: false, …
mariusnn
  • 1,847
  • 18
  • 30
3
votes
2 answers

What is the correct way to use Devise gem authentication with Mobile (Rails)

I am using Devise gem for web authentication in my Application. Now i am about to write a mobile app for my Application which includes Sign in / Sign up process. What is the correct way i should use to sign in a user and authenticate each call made…
balanv
  • 10,686
  • 27
  • 91
  • 137
3
votes
2 answers

Adding timer in Titanium mobile application

I want to add a timer to my mobile application, which I'm developing using Titanium framework. I didn't find any related thing in documentation. Can anybody suggest a solution for this problem. Thanx
Ammar
  • 1,811
  • 5
  • 26
  • 60
3
votes
1 answer

Difference between single and multiple execution context in Javascript (Titanium)

I am really confused regarding single and multiple execution context in Javascript. I referred this http://developer.appcelerator.com/blog/2010/08/execution-contexts.html though I got a good overview of JS context. But I don't know when it is good…
3
votes
2 answers

Is targeting additional platforms in titanium just a matter of UI changes?

If I have an iphone app in titanium and then want to also have that same app working on android and ipad, to have it working nicely on each platform is it just a matter of making some UI changes or does it require rewriting a significant amount of…
Tesla
  • 793
  • 1
  • 10
  • 22
3
votes
1 answer

Disable runtime error dialog in Android (titanium)

Is there any way to configure the titanium android such that it won't show runtime error dialog to users?
coderek
  • 1,860
  • 14
  • 20
3
votes
1 answer

How Does .jss feature really works in Titanium mobile SDK?

I found this related question on stackoverflow and some other few blogs and Posts. None of them clarify how does this JSS thing really works.... What I am trying is to do a simple Implementation of JSS just to checkout how this thing works and…
Sahil Grover
  • 1,862
  • 4
  • 26
  • 57
3
votes
2 answers

Appcelerator Titanium - How do I place an image at the bottom of the screen

I have a main view, then on that view I have, as children, two labels and an image. I want the labels to flow one after another from the top of the screen and I want the image at the bottom. I get the labels to flow properly by setting…
Doug Wolfgram
  • 2,064
  • 4
  • 27
  • 42
2
votes
2 answers

Titanium: Tab's icon image not working

I am trying to change icons of my tab group's tab, but it doesn't show the image. For iOS I've used below code: var win1 = Titanium.UI.createWindow ({ url:'Tab1.js' }); var tab1 = Titanium.UI.createTab ({ …
Maulik
  • 19,348
  • 14
  • 82
  • 137
2
votes
4 answers

Uncaught SyntaxError: "Unexpected end of input"

I have reviewed several responses to this matter however I can not find an error in my code. button1.addEventListener('click',function(e) { pesquisa.open("POST","http://10.0.2.2/jobfinder/teste.php"); var params = { pesquisa:…
Vera Rodrigues
  • 83
  • 1
  • 10
2
votes
0 answers

titanium mobile: display rightButton or rightView in Map Annotation in Android issue

Hello friends, I am facing an issue in map-pin in Titanium Development and in map annotations I set and leftView and rightButton and also its work fine in iPhone but in android its not display rightButton and also try rightView but its not display…
Nikunj Jadav
  • 3,417
  • 7
  • 38
  • 54
2
votes
3 answers

Titanium: How to check Table is exists or not in Database?

How can I check weather specific table does exists or not in my database before execute query ? Example : I want to check weather Detail table exists or not in InfoDB I want to do some thing like :- var createDB =…
Maulik
  • 19,348
  • 14
  • 82
  • 137
2
votes
3 answers

Is having multiple SQL db's a bad idea for a single application?

I'm designing an iOS application and have decided to separate the persistence requirements into three separate SQL databases. Static Data - read-only but downloaded from external sources Client Request Data - data that the client is queuing to send…
Brett Ryan
  • 26,937
  • 30
  • 128
  • 163