Community Questions & Answers

Android splash screen orientation landscape

I cant seem to get my splash screen to automatically lock to 'landscape' as soon as my app window loads it corrects it orientation, but I cant get it to lock its orientation when the splash screen shows. I have tried many many different things, changing...

Ti.Gesture is undefined

When i move one of my views from Resources/Views to Resources/iPhone/views I get the following error. 'undefined' is not an object (evaluating 'Ti.Gesture.addEventListener') It does not make sense to me. BEfore the move, the app runs fine on both...

Android force orientation

Not really a question, but a note to other users. I've seen some posts asking how to force an app into landscape only or portrait only, but the answers there weren't working for me. I finally got it working, so I thought I would post how I did...

Vimeo iframe - switch to landscape

Hi, I have a webview in portrait mode containing a vimeo iframe. When playing the video che player DOES NOT switch to landscape. Any idea how to force landscape when playing a vimeo clip from a webview, starting from from portrait mode? thank you!

Forcing portrait on a window then opening an alertdialog in landscape will result in your window allowed to rotate to landscape

Hi, I had the same problem as issue #11213: https://jira.appcelerator.org/browse/TIMOB-11213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel The issue seems like it is closed; however, I could not apply it to my app. Titanium 3.0.2 SDK,...

Get orientation on load

Hello, I have some functions to run once my orientation changes, so I've made a: ~~~ Ti.Gesture.addEventListener('orientationchange', function(e){ // blablabla }); ~~~ However, I also want to run that through on application startup, so I've made the...

Disable Android landscape Mode

Hi everybody, I'm using both 1.5.1 and 1.6.0 (nightly build) versions to test my applications on Mac OS X. I'm trying to force my Android app to disable the landscape mode in : /build/android/AndroidManifest.xml by putting this instruction...

how to set the orientation

i have a app with tabs in Tiapp.xml i have ~~~ <iphone> <orientations device="iphone"> <orientation>Ti.UI.PORTRAIT</orientation> </orientations> <orientations...

Orientation change GUI problem

hello i am developing an application using titanium. its almost complete. my problem is that its working very fine in portrait mode but in landscape mode its GUI is doing problem. i am giving top,left,height,width etc of elements according to the size of...

iOS 6 Navbar and status bar overlapping

Hi, I am getting this error http://stackoverflow.com/questions/12567233/modal-dismissals-do-not-account-for-status-bar-new-ios-6-issue I want to orientation only in few windows (not all windows). So, I am managing like this. ~~~ var orientationChange =...

Shake also Triggers Orientationchange

Hi All, This is strange: next function also Triggers when you shake the device, iPad 1, SDK is 1.7.5 Only when you test on the device, not in the emulator, anyone an idea? best Bob ~~~ Ti.Gesture.addEventListener('orientationchange',function(e) { ...

Showing 1-50 of 375 1 2 3 4 5 68