Maintenance
All wikis at Biowikifarm are in read-only mode due to the restoration after a severe cyberattack in October 2023.
After 1 year being shut down the Biowikifarm is online again.
You see the latest restored version from 18th October 2023.
Difference between revisions of "Cordova"
From Biowikifarm Metawiki
(Created page with "Notes: * installed according to http://docs.phonegap.com/en/2.1.0/guide_getting-started_android_index.md.html ** Eclipse Classic / Android SDK, then after Android SDK restart ...") |
|||
(6 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
** Using default folders, except for eclipse workspace | ** Using default folders, except for eclipse workspace | ||
** phonegap extracted into the eclipse-ws. | ** phonegap extracted into the eclipse-ws. | ||
+ | |||
+ | * Subversion in Eclipse: | ||
+ | ** Help, Install Software, Work with repository: | ||
+ | **# http://download.eclipse.org/tools/gef/updates/releases/ = Graphical Editing Framework GEF (needed for subclipse) | ||
+ | **# http://subclipse.tigris.org/update_1.8.x = Subclipse Subversion 1.8. NOTE: disable the mylin integration | ||
+ | * Open SVN Perspective: | ||
+ | ** Menu: Window, Open Perspective, Other, SVN Repository Exploring | ||
+ | ** in the perspective right click, new, repository location, https://biowikifarm.net/svn, navigate in tree to NaturePilot | ||
+ | ** checkout, select "Check out as project in the workspace", project name: Naturepilot | ||
+ | |||
+ | |||
+ | |||
+ | Cordova/Phonegap: | ||
+ | * Resources | ||
+ | ** [http://docs.phonegap.com/en/2.1.0/guide_getting-started_index.md.html getting started] | ||
+ | ** [https://github.com/phonegap/phonegap/wiki wiki] | ||
+ | ** [http://docs.phonegap.com/en/2.1.0/index.html API Reference] | ||
+ | * Training: | ||
+ | ** After installing Eclipse, SDK, and ADT-plugin inside Eclipse: | ||
+ | *** NOTE: to install new or different SDK version, in Eclipse press down arrow upper left below menu = Android SDK manager! | ||
+ | ** new application project, icon, new activity | ||
+ | ** In eclipse, in assets create www subfolder, then from phonegap drop the js to www, and jar to lib filder | ||
+ | ** put the phonegap xml folder into the eclipse-project res folder | ||
+ | ** In eclipse, right click lib, select build path, configure build path, select libraries tab, click button add JARs, select project name, libs folder, cordova-jar. | ||
+ | ** navigate to the src-folder, drop all example folder files into it | ||
+ | ** Select project itself, File, Export, choose Android, Export Android Application, select keystore, | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | Some interesting pages for developing: | ||
+ | * http://www.vogella.com/articles/Android/article.html | ||
+ | * http://stackoverflow.com/questions/6220602/android-webview-with-back-button-if-else | ||
+ | * http://stackoverflow.com/questions/7756982/get-last-loaded-url-of-webview-without-doing-a-webview-goback-in-android | ||
+ | * http://samcroft.co.uk/2012/posting-data-from-a-phonegap-app-to-a-server-using-jquery/ |
Latest revision as of 13:58, 12 February 2013
Notes:
- installed according to http://docs.phonegap.com/en/2.1.0/guide_getting-started_android_index.md.html
- Eclipse Classic / Android SDK, then after Android SDK restart Eclipse (will not work otherwise).
- inside eclipse install ADT Plugin according to http://developer.android.com/sdk/installing/installing-adt.html
- Using default folders, except for eclipse workspace
- phonegap extracted into the eclipse-ws.
- Subversion in Eclipse:
- Help, Install Software, Work with repository:
- http://download.eclipse.org/tools/gef/updates/releases/ = Graphical Editing Framework GEF (needed for subclipse)
- http://subclipse.tigris.org/update_1.8.x = Subclipse Subversion 1.8. NOTE: disable the mylin integration
- Help, Install Software, Work with repository:
- Open SVN Perspective:
- Menu: Window, Open Perspective, Other, SVN Repository Exploring
- in the perspective right click, new, repository location, https://biowikifarm.net/svn, navigate in tree to NaturePilot
- checkout, select "Check out as project in the workspace", project name: Naturepilot
Cordova/Phonegap:
- Resources
- Training:
- After installing Eclipse, SDK, and ADT-plugin inside Eclipse:
- NOTE: to install new or different SDK version, in Eclipse press down arrow upper left below menu = Android SDK manager!
- new application project, icon, new activity
- In eclipse, in assets create www subfolder, then from phonegap drop the js to www, and jar to lib filder
- put the phonegap xml folder into the eclipse-project res folder
- In eclipse, right click lib, select build path, configure build path, select libraries tab, click button add JARs, select project name, libs folder, cordova-jar.
- navigate to the src-folder, drop all example folder files into it
- Select project itself, File, Export, choose Android, Export Android Application, select keystore,
- After installing Eclipse, SDK, and ADT-plugin inside Eclipse:
Some interesting pages for developing:
- http://www.vogella.com/articles/Android/article.html
- http://stackoverflow.com/questions/6220602/android-webview-with-back-button-if-else
- http://stackoverflow.com/questions/7756982/get-last-loaded-url-of-webview-without-doing-a-webview-goback-in-android
- http://samcroft.co.uk/2012/posting-data-from-a-phonegap-app-to-a-server-using-jquery/