Community Questions & Answers

Gradient is not applying for iOS Button

Hi all, I am trying to apply gradient color for Button in iOS Below is the code i am using it is working fine in iOS "Button" is the argument i am passing from other file. Button.backgroundGradient = { type : 'linear', ...

Screen Time out - Android

My application capture the Images continuously, with configuration of Ti.Media (FRONT/REAR). During recoding, screen goes off. How to prevent it?. How to control the Screen Time out before/After applications runs? Application type: mobile Titanium SDK:...

How can i create customized "Dialer" ?

Hi; Can somebody explain to me how can i make a custom dialer ? I don't want to use phone built-in dialer. For that reason tel:+xxxx not working for me. I have to call some number from interface i created. How can handle call and also how can i call from...

How to hide Keyboard in iOS

Hi All, In my App, I have multiple Text feilds and Buttons in a View. When i click on textfield i will get a get a keyboard, Suppose when i click on some other button the keyboard must resign/remove, in iOS we can use "textfeild.blur()" it will...

RSS Feed in a window

I'm a new app developer who's developing a basic tabbed Android application with JavaScript using Titanium. I'd like to include an RSS feed on one of the main tabs' window. I've done my best to try and have a go, but the app won't run and given I'm pretty...

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....

App's crash

In my device or my emulator when i do an action in a button (show a toast notification) my app crash and in cli throw this: ~~~ [ERROR] : Trace: error opening trace file: No such file or directory (2) titanium [INFO] : libc: Fatal signal 11 (SIGSEGV) at...

java.lang.NullPointerException

Hello everyone, I'm using titanium 3.3.0 in windows 7. I'm using a physical device. My problem is this error that suddenly appear: [ERROR] TiApplication: (main) [12572,13263] Sending event: exception on thread: main msg:java.lang.NullPointerException;...

Main Window with subviews

I need a comment on my current layout of the app. I chose the following structure because I wanted to mimic a tab-layout in which each view would keep their state. A window stack would be out of the question because I couldnt find a way to open an already...

Label Alignment

i have two labels first name & last name, i wants to align them one after another.i am new to Titanium ~~~ var plainTemplate = { childTemplates : [{ type : 'Ti.UI.Label', // Use a label bindId : 'firstname', // Bind ID for this label properties...

Min date value is not set in date picker

Hi All, IN my project i want to have a minimum date set in date picker so that people cannot select the previous dates. below is the date format i am getting Sep 02 1993 00:00:00 GMT+0530 (IST) this value is set value and displaying right but for...

How to check if is iPhone 5s

Hi ! I need to check if the iPhone is the 5s for use the M7. Any idea ? I want to use the "Identifier" ([iphoneWiki](http://theiphonewiki.com/wiki/Models)), but i can't see on Titanium. Thanks

Showing 1-50 of 4,849 1 2 3 4 5 697