Giter Site home page Giter Site logo

Comments (3)

champierre avatar champierre commented on July 18, 2024

Yes, you are right. The last 5 orientations are not supported in 2.2.
I found that by checking the "Filter by API Level" and selecting "8" in the right upper corner of the API document(http://developer.android.com/reference/android/content/pm/ActivityInfo.html).

You just don't need to use these unsupported orientation. For example, instead of "fullSensor", you may use "unspecified" to unlock the orientation.(It works with my 2.2 device)

If problem persists, just delete code related to the unsupported orientations from ScreenOrientation.java(https://github.com/champierre/pg-plugin-screen-orientation/blob/master/src/com/tsukurusha/phonegap/plugins/ScreenOrientation.java)

Regards,

Junya

from pg-plugin-screen-orientation.

morcth avatar morcth commented on July 18, 2024

Sorry I did not respond sooner. I got it working. Thank you very much

On Tue, Jun 19, 2012 at 5:34 AM, Junya Ishihara
[email protected]
wrote:

Yes, you are right. The last 5 orientations are not supported in 2.2.
I found that by checking the "Filter by API Level" and selecting "8" in the right upper corner of the API document(http://developer.android.com/reference/android/content/pm/ActivityInfo.html).

You just don't need to use these unsupported orientation. For example, instead of "fullSensor", you may use "unspecified" to unlock the orientation.(It works with my 2.2 device)

If problem persists, just delete code related to the unsupported orientations from ScreenOrientation.java(https://github.com/champierre/pg-plugin-screen-orientation/blob/master/src/com/tsukurusha/phonegap/plugins/ScreenOrientation.java)

Regards,

Junya


Reply to this email directly or view it on GitHub:
#2 (comment)

from pg-plugin-screen-orientation.

champierre avatar champierre commented on July 18, 2024

Great! I will close this issue.

from pg-plugin-screen-orientation.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.