Sunday 13 April 2014

How to get Device Information in Android using Phonegap

Hello friends,


Today we are going to see "How we can get the DeviceInfo in Android using Phonegap3".

For more videos please follow this channels
Please get the latest details about programming
visit our website
http://webconnect.0fees.net/

Here are the Steps that how we can get the Device Information.

1) Create a New Project using Nodejs Command Prompt.
http://webboostings.blogspot.in/2014/04/how-to-configure-phonegap-for-android.html
2) Import the project into eclipse.
3) Add the plugin using the following command.

cordova plugin add "org.apache.cordova.device"



4) Now Configure you html page where you want to display this Information.


5) Now, Use device.model, device.cordova, device.platform, device.version etc.

6) And here is the output.


For more videos please follow this channels
Please get the latest details about programming
visit our website
http://webconnect.0fees.net/


Thank You
Abhishek Bendre

No comments:

Post a Comment