Lock screenorientation on Android Device using Phonegap 1.3.0
Open your src/yourpackage/<appname>Activity.java file and add folowing line after super.oncreate():
super.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
Most usefull Screenorientations:
- ActivityInfo.SCREEN_ORIENTATION_PORTRAIT
- ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE
Phonegap 1.3.0 add Splashscreen for Android
Hi there,
After several hours hacking and browsing android/phonegap related forums I finally found what I was looking for. A solution how to add a Splash/Startup Screen for an Android 2.1+ Application using Phonegap 1.3.0. And here it is:
- add your screen to res/drawable-...
- and add following line to your src/yourapplicationpackage/<appname>Activity.java
super.setIntegerProperty("splashscreen", R.drawable.splasher);
In my case I called my screen splasher.png -> thats why it's R.drawable.splasher
HINT! Set a Timeout before loading your index.html:
super.loadUrl("file:///android_asset/www/index.html",2000);
Department for e-Learning: possible Intro
this could be the new Intro for Department for eLearning :)
eLearning & Blended Learning enhances collaboration
The third chapter: Collaboration of the image video for the Department eLearning @ Universität Klagenfurt
Credits:
Christoph Wurzer, Martin Schoberegger, Gerd Kollmann
eLearning & Blended Learning enhances teaching
The second chapter: Teaching of the image video for the Department eLearning @ Universität Klagenfurt.
Credits:
Christoph Wurzer, Martin Schoberegger, Gerd Kollmann
:: Nächste >>