Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7865369
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T00:04:02+00:00 2026-06-03T00:04:02+00:00

How do i get a slash screen default mode set to landscape in Titanium.

  • 0

How do i get a slash screen default mode set to landscape in Titanium. In my app i tried

Titanium.UI.orientation = Titanium.UI.LANDSCAPE_LEFT;
var NavigationController = require('NavigationController').NavigationController;
var windows = require('window_js').windows;

and in window_js.js its

exports.windows = function(navController){
 var window = Ti.UI.createWindow({
    backgroundColor : '#fff',
    navBarHidden : true,
    fullscreen:true
 });
   return window;
};

But this code shows an error Wrapped java.lang.RuntimeException: java.lang.NullPointerException (file:///android_asset/Resources/app.js#1)

and afterremovinf line 1 i.e.

Titanium.UI.orientation = Titanium.UI.LANDSCAPE_LEFT;

App starts in portrait mode and splash screen quickly changes to the landscape mode. What is the possible solution for this ? Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T00:04:03+00:00Added an answer on June 3, 2026 at 12:04 am

    Splash screen in landscape mode is goto android project folder

    Project —> Build —- > Android ——> AndroidManifest.xml file .

    Copy AndroidMenifest.xml file text and put in AndroidManifest.custom.xml file in same folder where AndroidManifest.xml file is kept.

    In activity tag write

    android:screenOrientation="landscape" for landscape mode 
    

    and replace

       android:configChanges="keyboardHidden|orientation" 
    

    to

      android:configChanges="keyboardHidden" 
    

    in whole file in each activity .
    Example

    <activity>
    android:configChanges="keyboardHidden"
    android:screenOrientation="landscape"
    </activity>
    

    This worked for me 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My splash screen stretches badly when I run my app , so I tried
Alright, so I'm trying to add a slash screen to my app to facilitate
On the app I am making, on the home menu screen that you get
I only want a simple Splash Screen Example. Get the Code, Insert my picture,
I've never been able to get the Java 6 splash screen to work. I've
After finishing coding for my app, I started to get into the optimization part.
When my splash screen starts i get tis error in logcat: 11-06 02:36:45.450: E/global(4184):
How can I get an indication to main UI thread in an iPhone app
In my app, I need to display a splash screen.I collect the image from
I am trying to get a splash screen in my project. In eclipses I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.