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
0
votes
2 answers

Titanium SDK: The Google Play services resources were not found

I'm currently working on getting an old Titanium SDK 1.x app working in the modern era on Titanium SDK 3.1.2. One of the challenges I've managed to find myself stuck on is after upgrading from Google Android Maps API v1 to v2 I'm consistently…
0
votes
2 answers

Simple Popup Menu Titanium Android

I just want to show a simple popup menu containing menu items in vertical ordering. Just like Titanium's option dialog. But without radio buttons. I have used androidView as follows, but how can I dismiss this dialog when an option is…
Aqeel Ashiq
  • 1,988
  • 5
  • 24
  • 57
0
votes
2 answers

Titanium iPhone store variable value in shared preference

I am new on titanium and iPhone development, i want to know how to store value of variable in share preference and get that value on another js?
Sajid
  • 320
  • 3
  • 20
0
votes
1 answer

Android 4.3 User Profiles Restrict Titanium Application To Access Database

i'm creating simple application that consume data from database.. I'm installing that application on the device and it works perfectly.. After that, i update my device OS to android 4.3 (my device is nexus 7) from update center and i try to use user…
Michael Frans
  • 613
  • 3
  • 23
  • 49
0
votes
2 answers

Titanium : Attach objects/variables with a view

I am creating some views in a loop iterating over list of objects. Now I want to register event with each view, which does something on the current object of the list. for (var vs = 1; vs < 4; vs++) { iMovie = moviesList[vs]; if (!iMovie) { …
Aqeel Ashiq
  • 1,988
  • 5
  • 24
  • 57
0
votes
1 answer

Webview not loading again while clicking on the tab again

I'm working with titanium and developing tabbed application same as kitchen sink My Home tab loads html data from the json file Here is the code, HomeContent.js function HomeWindow(title) { var self = Ti.UI.createWindow({ title:title, …
Rajat Modi
  • 1,343
  • 14
  • 38
0
votes
2 answers

Launch titanium picker view when a button is pressed

As I came to know that we cannot use custom image or background/border/text color in pickerview in titanium yet. So I came up with the idea of showing a button to the user with custom image/font, and when user clicks the button, the picker view…
Aqeel Ashiq
  • 1,988
  • 5
  • 24
  • 57
0
votes
2 answers

How to pass data from one window to another in Titanium?

I want to to send data from one window to another. Example: I have a text field and a button on first window. When click on window I need to send text field value to the second window? I found a tutorial, but it's not in MVC.
user2648752
  • 2,123
  • 5
  • 21
  • 29
0
votes
1 answer

Titanium ImageView Width attribute not working Android

I have set width attribute of the imageView. But it is not taking up the width. It is not the aspect ratio thing. It is something else: // Create an ImageView. var content = Ti.UI.createView( { width : '100%', height : '90%', bottom :…
Aqeel Ashiq
  • 1,988
  • 5
  • 24
  • 57
0
votes
1 answer

Titanium App reserves child view on multiple searches

I am building a Titanium mobile App for iOS. I will be referring to three different screens; A home screen that has a tableview, a "master" screen that has a "search field" and a "detail" screen. When I navigate from the home screen to the master…
dnevels
  • 397
  • 1
  • 2
  • 12
0
votes
1 answer

Titanium Alloy: get element (node) by tag- or classname

How can i get an element collection by tagname or classname in alloy? Are there javascript equivalents on a object (I know its not on the controller or $) like .getElementsByTagName() and .getElementsByClassName()? Or how can i retreive a xml…
0
votes
1 answer

How to maintain TSS styles when changing height / toggling view visibility?

Consider an expanded and a collapsed View, one visible at a time, toggled on click events. In a TableRowView, I can set the TableViewRow height and toggle between the expanded and collapsed Views. The views show, but the TSS styles are lost - for…
Joe Beuckman
  • 2,264
  • 2
  • 24
  • 63
0
votes
1 answer

Array referencing in Javascript

I've just go into developing apps through Titanium's Appcelerator and therefore this is my first experience with Javascript as well. Running into a confusing thing with regards to referencing array values and I was just hoping someone would be able…
JonoCoetzee
  • 969
  • 2
  • 15
  • 30
0
votes
1 answer

How to create pdf file of the webview content in titanium

I am new to Titanium. I have a webview. The content of the webview can be a pdf file, or a url. I want to save the webview content as a pdf file. I have created webview using the below code: var webViews = Ti.UI.createWebView({ left : 0, …
Aswathy Bose
  • 4,279
  • 4
  • 32
  • 44
0
votes
0 answers

How to refresh the tableview after deleted

i am able to delete tableviewrow when click on button,bt one problem is that it delete from row from database but not reflected in view.js file.to see effect of query i need to start application again.i want to display the row when click on button…
Deepak Borade
  • 191
  • 2
  • 5
  • 15