Community Questions & Answers
Preventing sleep mode on android
Hi. How works on Android Titanium.App.idleTimerDisabled = true; ? i need my application never go in sleep mode. I insert into my code but doesn't work. I declare this at the top of my code and nothing happened. I declare inside a function and nothing...
Force Android app to landscape
Hi, is there any way to force Android orientation to landscape mode? I tried to modify the manifest the way you do in many threads in this forum, but my app simply crashes every time I rotate my device (other devices crash even before rotating). This is...
Ring Mode
Is there a way to change iPhone/Android ring mode? I want to set the ring type to vibrate/silent and back to ring again.
Set Ring Mode on Android
Hi, Is there currently a way to programmatically change the ring mode on an Android device with titanium? I know that it is possible with Android (unfortunately not iPhone), but is it implemented in the mobile api yet? If not, where can I suggest this...
Muted Mode
Hi everybody, I always have my same problem with the detection of the silent mode. I tried the following mode by basing me on the documentation. But I have always the same result: "Speaker". Have you an idea? How do you detect the silent...
Changing Audio mode AMBIENT to PLAYBACK loses iPod controls connection
Hi, I have an application where I need to change audio session mode between `AUDIO_SESSION_MODE_AMBIENT` and `AUDIO_SESSION_MODE_PLAYBACK` and the audio needs to be available on the ipod controls. First time changing from playback to ambient and back,...
Programatically change Airplane mode
I'm wandering how to melodramatically change airplane mode. In Api reference I could not find anything about this.
How to use BLEND_MODE
Hey everyone! I'm trying to desaturate an image in my app. I found this: [apidoc](https://developer.appcelerator.com/apidoc/mobile/1.1/Titanium.UI) and [Ti.UI.createMaskedImage?](http://developer.appcelerator.com/question/4101/tiuicreatemaskedimage),but I...
Using the compilejs Flag in tiapp.xml
Hi everyone! I've been working with appcelerator for a few weeks now and I'm getting ready to do some Beta testing for my Android app. I can run the app in the emulator, and I can package the project for the phone successfully under the Distribute...
Image masks and drawing
Hello all, I have 2 images - a black and white image and a color version of the same image. the b&w image is on top of the color version and on 'touchmove' i want to mask out the b&w image and have the color version show through to give the...
Compiled mode versus interpreted mode?
Hi! Does anybody have more insight in the compiled vs interpreted mode? I understand that simulator builds are interpreted mode: If I change the JS files, I don't need to recompile, to get the changes in. Are on-device runs always fully compiled? Also if I...
Detecting the current graphics resoultion
- Titanium 1.1.0 - Android 1.6 - HVGA/QVGA Is there a way to detect the current graphics resolution? As in, HVGA is 320x480 where as QVGA is 240x320. I've been beating my head trying to figure out why a button isn't showing up where I think it should only...
Showing 1-12 of 12