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

  • Home
  • SEARCH
  • 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 8643437
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T12:02:20+00:00 2026-06-12T12:02:20+00:00

I am working on a program that connects the phone to a screen that

  • 0

I am working on a program that connects the phone to a screen that does not rotate. I have found a way to inject touch and key events. The only problem I am having is with getting it to stay in landscape. I have found that I can set USER_ROTATION and ACCELEROMETER_ROTATION in the settings. However if a program requests to go into portrait mode it gets stuck and never rotates out of it. Assuming the user has root access, how can I globally force everything to go in landscape?

  • 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-12T12:02:21+00:00Added an answer on June 12, 2026 at 12:02 pm

    I found the answer in the source code for this project. http://code.google.com/p/perapp It can be done by reading system logs and creating system level dialogs that are allowed to show on top of everything else. You can create them hidden and have them force the screen into landscape.

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

Sidebar

Related Questions

I have a java program that connects to a MySql database and it's working
I am working on a project that a program in an android phone connects
I'm working on a program that connects to different brands of plc's and therefor
I have an otherwise working iPhone program. A recent change means that it generates
I have a program that connects to an Oracle database and performs operations on
I'm working on a VB6 program that connects to a SQL Server 2008 R2
For school I'm working on a program that connects to a MySQL database and
I am working on an Android 3.0 program that can connect to a SSL'd
I'm working on a program that will sort files based on extension I currently
I'm working on a program that reads in users input as a string, which

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.