-
Notifications
You must be signed in to change notification settings - Fork 5
Phonegap
Apart from the Phonegap documentation, Christophe Coenraets has a great Phonegap tutorial.
See also:
- http://www.tricedesigns.com/2013/01/18/my-workflow-for-developing-phonegap-applications/
- http://devgirl.org/2013/09/05/phonegap-3-0-stuff-you-should-know/
Phonegap requires the use of the InAppBrowser plugin to read the auth_token.
http://coenraets.org/blog/2014/04/facebook-phonegap-cordova-without-plugin/ http://phonegap-tips.com/articles/google-api-oauth-with-phonegaps-inappbrowser.html https://software.intel.com/en-us/html5/articles/oauth2-with-intelxdk-cordova-html5 https://github.com/krisrak/jquery-cordova-oauth2 https://github.com/andreassolberg/jso/tree/version2 https://github.com/andreassolberg/jso/blob/version2/README-Phonegap.md
##Development Environment
###Eclipse
http://www.mobiledevelopersolutions.com/home/start
Cordova archives can be downloaded from http://archive.apache.org/dist/cordova/.
cordova-3.4.0-src.zip contains a second zip file for windows phone 8 \cordova-3.4.0\cordova-wp8.zip
. Unzip it and execute \cordova-wp8\createTemplates.bat
. This creates CordovaWP7_3_4_0.zip
and CordovaWP8_3_4_0.zip
in the same directory.
Copy CordovaWP8_3_4_0.zip
to \My Documents\Visual Studio 2013\Templates\ProjectTemplates\Visual C#
(Yep, Visual C#).
Launch Visual Studio 2013 and create a new project.
Open a command prompt and navigate to the project directory inside the solution directory. The project directory contains config.xml
and the www
directory. Launch the following command to install plugins.
>plugman install --plugin org.apache.cordova.inappbrowser --platform wp8 --project .
Fetching plugin "org.apache.cordova.inappbrowser" via plugin registry
Installing "org.apache.cordova.inappbrowser" for wp8
Copy your html, js and css files in the www
directory and you are good to go.
Visual Studio 2013 Update 2 introduces support for Apache Cordova. Download and install Multi-Device Hybrid Apps for Visual Studio and read the documentation. More info...
Copyright © 2013-2014 Memba Sarl. All rights reserved.