15 September 2015

First Phonegap app using Applaud plugin in eclipse

So you have downloaded the applaud plugin by following the previous post.

What we will do?
-> We will learn how to run the default phonegap (cordova) app which covers all the functionality of phonegap.

What we will need ?
Step 1 : Click on the applaud plugin installed from the previous post.
applaud plugin

Step 2 : You can use built-in phonegap which is upto v1.41 but if you want a higher version download it from phonegap website and merge it with the plugin. Choose Phonegap API Example. Then click Next.
Inbuit 1.41 API Example

Step 3 : Give a name to your project as MyProject and click Next.
name MyProject

Step 4 : Choose the Target Android version to compile on and click Next. Choose API 15 or above.
api 15 above

Step 5 : Give a name to your application as My App and package name as com.mia.myapp. Check Create Activity (else you will get NullPointerException) . Choose Minimum SDK as API 15. Click Finish.
my app create activity finish

Step 6 : MyProject will be formed in the Project Explorer. Check for index.html in assets->www folder. You can modify it by Right-click on index.html->Open with->Text Editor.
index.html open with text editor

Step 7 : Run app with emulator support above API 15. You can check features of phonegap like Camera, Compass etc.
run app emulator 15 above
Stay Tuned with Made In Android

Previous Page Next Page Home

No comments:

Post a Comment