Community Questions & Answers

Photo of profle

Hi, I doing a profile module but I have a problem: When I select a photo from photo Gallery and I send to a imageView, this process is correct but when I close my app and I open of new don't has the image I select before Any idea of how save this image?

Android APK Expansion Files

I have an app built for Android ready to go on the market place. The problem is on this app I have numerous videos that need to be in the application. I have looked on here for a solution regarding APK Expansion Files, yet I haven't came across anything....

Problem with navBarHidden in Android with SDK 3.3.0

I've been developing a simple android application and everything was fine before I've updated the SDK version to 3.3.0. My problems are related to Window.navBarHidden attribute. As seen in the docs - it's no longer possible to define that attribute on...

Datatime from sqltite

want to reading a datetime value from a Sqlite database and assign it to datepicker control. and also need to set time in label like 12:53 am like In Table, reminderTime datatype id dateTime..its saving values like 12137880000 plez help

Select data from multiple classes

I'm currently working on getting data from parse.com. What I want is to get data from more than 1 class. I'm testing in android platform. This is my current code now which will retrieve data from ONLY 1 class. ~~~ var parseURL =...

TableView search property not working?

Hi all, I tried to insert a UI.SearchBar in Tableview but when I try to search for something, the result is always "no resuts"! Here is the code: ~~~ var window = Ti.UI.createWindow({ title: 'List job', backgroundColor: 'white' }); var...

ti setup - how do you run this?

I'm running Windows7 64 bit. I keep seeing references to running "ti setup" to fix config issues. I keep seeing instructions to **run the Terminal and run "ti setup"** When I open the Apccelerator 'terminal' from the Appcelerator...

More Problem 3.3 /pls help/

Hi all, More questions and problems would be 1. Why is it that on the first, sets the location of the SDK, go for a few minutes and then re-SDK error. 1/a. / a. It is since then that we tried to ask the genymotion was, so I set the sdk and see the...

App detection from mobile Website

Hello, i built an iOS-App and a website for it. If you visit the Website i want to check if the App is already installed or not. If yes, the user should have the option to open it, if not i want to link in appstore.... My question: What do i have to do...

beginner with Alloy and XML

Hi, I am a beginner with Titanium Studio and Alloy. I need make a simple app with 3 buttons and 2 labels. I'm looking for documentation of Alloy XML to make views. But not found documentation to draw the buttons, labels, grids and other common elements....

Android app crashing when opened.

Application type: Mobile Titanium SDK: 3.3.0 Platform:Android 4.x Device: Android GenyMotion Emulator & Sony Xperia E OS: OSX10.9 Titanium Studio: 3.3.0 I have recently updated the SDK version of my app to 3.3.0 and when I attempt to build the app it...

Download File from dynamic url

Hi everyone, hope someone could help me. Here's the issue: I have an URL like this "http://site.com/imgsrc/getimage.php?id=JK2Q", and if I open that url in a browser... I get directly the download of an attached image, because the headers are...

DB caching issue

Hi, I have two windows, each opens by it's tabs. Both windows has table views and data is driven by two tables in SQLite Database. Once i go to first window,(default) i need to do some operations and that will effect the data in the window 2. How ever...

empty textfield doesn't fire onblur

I am building an app for iOS using alloy. I have a list where the user can add a name to each row or leave it blank. I use an "onblur" event to save the name in properties. So far so good. They can add names and change the names, but I...

Overlapping modules using require()

I have an application for iPhone with three categories and each category shows a list of stores. I have defined each list of stores in a .js file. Files are called shops.js, food.js and art.js. Then I have three buttons that when pressed, load each of the...

Javascript - Garbage Collection

I'm a bit confused here: 1. Global variable will stay in memory even if it will not be used anymore? For example, in app.js: ~~~ var foo = Ti.UI.createView(); //something else. the foo will never be used again. ~~~ So the variable foo and the view it...

compile to mac app store?

Can the current version of Titanium compile apps for the Mac App Store? My prospective project is going to iOS, Android, and the Windows Store. It appears that a previous version (1.x) of Titanium did this, but it's not clear if that's the case any longer.

Remove Android ListView separator

Is this possible? Would like to remove any sort of separator between my ListView rows. Surprisingly haven't found any threads on the topic... Looks like there is an iPhone specific way to do this via separatorStyle. Thanks!

CommonJS module

In my module there is a function that needs to be exposed and used internally. Here is what I do: ~~~ var foo = function(){}; //to expose exports.foo = foo; //to use internally foo(); ~~~ or more simple: ~~~ //to expose exports.foo =...

Cross-platform Window.setTitleid()

I need to dynamically set title of Window using i18n. I find the JS method works for Android but no effect on iOS. Tried both before and after opening the window. Any known trick? My environment is: Titanium Studio, build: 3.4.0.201406111251 Ti...

mouse cursor not showing ?

Hello I've problem in android KitKat the textfield cursor not showing at all , but on ICS its showing , this is my code ___ <TextField id="username" autocorrect = "false" keyboardType =...

Ti.UI.CreateTextArea not editable in 3.2.3 GA

I'm using Ti.UI.CreateTextArea with success in 3.1.3 GA (iOS SDK 5.02). No problems with this functionality. I can edit, pre-populate, and save without an issue. In testing with 3.2.3 GA and OS SDK 5.11, I lose all functionality of the textareas. They...

Showing 1-50 of 62,214 1 2 3 4 5 61245