1 / 21

Mobile Application Development for android with phonegap

Sayed Ahmed Computer Engineering (BUET), Bangladesh MSc., Computer Science, Canada President/Chief Architect/Lead Developer Justetc (Just et cetera) Technologies http://www.justetc.net http:// sayed.justetc.net sayed@justetc.net.

linore
Télécharger la présentation

Mobile Application Development for android with phonegap

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Sayed Ahmed Computer Engineering (BUET), Bangladesh MSc., Computer Science, Canada President/Chief Architect/Lead Developer Justetc (Just et cetera) Technologies http://www.justetc.net http://sayed.justetc.net sayed@justetc.net Mobile Application Development for android with phonegap

  2. Bangladesh Address • Address • JustetcComputers • Habib Complex (2nd Floor) • Shimultuly, Gazipur, Dhaka • Bangladesh • Contact • Rafiqul Islam • rafik@justetc.com • 01942747702 Just Etc Technologies, sayed@justetc.net

  3. Tools Required • ADT Bundle (Eclipse + ADT) • http://developer.android.com/sdk/index.html • PhoneGap • http://phonegap.com/download/ Just Etc Technologies, sayed@justetc.net

  4. Sample Application Just Etc Technologies, sayed@justetc.net

  5. Concept • Concept • Develop a web application • Compile it with ADT for Android • Implementation Concept • Create an android project in Eclipse ADT bundle • Bring Phonegap related libraries and other associated files into the android project • Create an index.html file and use it as the starting point for the web-application • Being the entry point of the mobile application Just Etc Technologies, sayed@justetc.net

  6. Implementation Concept • Starting with the Index.html file develop a web-application/mobile application • Compile and run the application for Android • Debug and test using android emulator or on a real android device Just Etc Technologies, sayed@justetc.net

  7. What to take from Phonegap Just Etc Technologies, sayed@justetc.net

  8. Where to Take Just Etc Technologies, sayed@justetc.net

  9. What to Change Just Etc Technologies, sayed@justetc.net

  10. What to Change • Add files into assets folder and www subfolder • Index.html • Cordova.js Just Etc Technologies, sayed@justetc.net

  11. Change Manifest file Just Etc Technologies, sayed@justetc.net

  12. Changes to the Manifest file • From an example in the Phonegap package copy the following to the manifest file in the android project • phonegap-2.9.0\lib\android\example\AndroidManifest.xml Just Etc Technologies, sayed@justetc.net

  13. Copy this to Android Manifest Just Etc Technologies, sayed@justetc.net

  14. Copy This to Android Manifest Just Etc Technologies, sayed@justetc.net

  15. Copy Only One Line as Shown Just Etc Technologies, sayed@justetc.net

  16. Combating Errors/Warnings Just Etc Technologies, sayed@justetc.net

  17. Combating Warning/Errors Just Etc Technologies, sayed@justetc.net

  18. Combating Warnings/Errors • C:\Windows\System32\Drivers\etc Just Etc Technologies, sayed@justetc.net

  19. Note • You may need to restart ADB (bridge) • May take little while for the application to start • You may see some warning though the application will run • Some port, debug, client reject error/warning may be there but the application may still run • You can try to get rid of all errors • Many warnings may be due to settings of the Android Virtual Device • The emulated device type may affect • Try to create new virtual devices if the existing one does not work Just Etc Technologies, sayed@justetc.net

  20. Virtual Device we used Just Etc Technologies, sayed@justetc.net

  21. Reference • http://cleancodedevelopment-qualityseal.blogspot.com/2012/12/first-phonegap-app-with-android-using.html Just Etc Technologies, sayed@justetc.net

More Related