Comments (3)
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.
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.
Great! I will close this issue.
from pg-plugin-screen-orientation.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pg-plugin-screen-orientation.