Community Questions & Answers

How to pass value TextField to alert?

how can i pass values text field from Alert dialog? This is My text field ~~~ tableView = function(e){ var tableView = Titanium.UI.createTableView({ left : 0, right : 0, top : e.top, bottom : 0, width : Ti.UI.FILL, height :...

Have children fill parent equally

Let's say you wanted to create an iOS Style Tabbar with 4 Tabs. You want the Tabbar to fill the screen horizontally and each Tab to be the same width so they equally fill the Tabbar. How would you do that? Giving each Tab a width of "25%" and...

how do i tweet in titanium?

I keep on hearing about something called "social.js", but i cannot find any appcelerator documentation on it. I can certainly find github social.js files, but are they legit? Does anybody know of where appcelerator discuss how to go about...

Buttons plays 3 sounds in order

Hey all, i want to make a button play 3 sounds in the order that i choose, with the code that i have below,they all play at the same time. note:each sound has a button attached to it and when the sound is playing the button's width increases by (this part...

Splash screen incorrect res folder

Hi people! I've created Splash Screen for my app through http://ticons.fokkezb.nl . On smartphone, splash screens are ok, but on tablet they look out of resolution (it seems it loads default.png splash screen). How can I fix that? Thank you!

Is it possible to specify a model via a passed argument?

Hello all, I'm developing an application which will allow the user to view a series of checklists. Each checklist is stored in a separate database table and will be shown in a TableView, one per window. What I want to know is if there's a way I can pass...

android splashscreen not fit screen

Hi, I have an android device with this screen parameters: ~~~ [INFO] : Ti.Platform.displayCaps.dpi: 320 [INFO] : Ti.Platform.displayCaps.platformHeight: 1184 [INFO] : Ti.Platform.displayCaps.platformWidth: 768 [INFO] : Ti.Platform.displayCaps.xdpi:...

Could not detect a valid IOS SDK

Hi all, I have installed in my Mac OS 10.9.5, Titanium Studio 3.4.0, Titanium SDK 3.4.0, ~~~ Host OS: Mac OS X OS Version: 10.9.5 OS Arch: x86 JRE Version: 1.6.0_65 JRE Vendor: Apple Inc. JRE Home:...

1 Time Use Button

hey all, i wanted to make a button that can only be pressed once after which it will disappear... however this button should be present if the window is refreshed... My code so far... ~~~ startButton = Ti.UI.createButton...

JSON byte array to image

Hi All, I'm trying to convert byte[] into image. The byte[] comes from JSON (web service). I am trying this way ~~~ var file = Ti.Filesystem.getFile(Ti.Filesystem.applicationDataDirectory, 'image.png'); // Save...

Multi select in table

I have a table that is generated dynamically from a json file. I need to do something to permit user to select multiple rows in the table and enter only the selected names ( variable "name" ) in an array. How can I do it? This is the code that...

iPhone 6 update problems

Hey all! I'm having problems when trying to update my app to iPhone 6 and iPhone 6+. I have updated my app to iOS 8, I've added the new splash screens and icons and also the screenshots to Itunes connect. After this, this new version has submitted and...

Install old version of Titanium Studio

I currently have Titanium Studio 3.3.0, but I'm still using Ti SDK 3.2.3 for some reasons. (3.3.0 has minor problems and 3.4.0 won't work with Xcode 5) I can't use SDK 3.2.3 for Android because the built-in module ti.cloudpush has version 3.3.0. How can I...

Database Select not working

Hi, This is my Titanium studio version : Version: 3.4.0.201409261227-827bFA2FF7cLVuUtuFNtX8GB189I I created a simple database with SQLite manager and exported it to the ../app/assets/android folder and try to install it and query it from the code of my...

ACS Stored Procedure?

I know with parse you can create stored procedures that can run on the sever which is awesome and lowers alot of heavy overhead. Unfortunately parse does not integrate as smoothly with titanium as ACS does and I cant rely on Aaron Saunders living forever...

Showing 51-100 of 64,387 1 2 3 4 5 6 71288