http://www.cnblogs.com/ever4ever/archive/2012/07/09/2583652.html
在Eclipse下安装PhotoGap:
1. In eclipse, 安装by add link: http://svn.codespot.com/a/eclipselabs.org/mobile-web-development-with-phonegap/tags/r1.2.91/download/
2. In Eclipse, 创建一个PhotoGap project (set jQuery Mobile UI demo)
After the project is created, you will see the cordova-1.9.0.jar will be automatically added and index.html will be created under ./assets/www folder.
PHP session:
This is not working in PhotoGap. So need to use local storage:
http://docs.phonegap.com/en/1.7.0/cordova_storage_storage.md.html#localStorage
Set icon:
In adroidManifest.xml:
<application android:icon="@drawable/icon_name" android:label="@string/app_name" >
....
</application>
http://stackoverflow.com/questions/5350624/set-icon-for-android-application
Change app name:
Make sure the project name is same as app name or change label in Androidmanifest.xml:
android:label="vTasters"
1. Test local storage
2. use android camera
No comments:
Post a Comment