Thursday, September 3, 2015

PhoneGap and Android Studio

PhoneGap uses purely html, css and js ; so a good framework for those who have been worked on these technologies mostly. Just started building mobile application. After some research found that phoneGap to be the best framework to start with.

Required applications to install -

  1. PhoneGap
  2. Android Studio

PhoneGap Desktop application was not working well so I preferred to work on phonegap command line.

Followed the following links, it has explained very easy steps to start with phonegap apps - https://www.ringroost.com/blog/android-studio-phonegap-mac-hello-world-android-app-html-css-javascript/
http://www.codenutz.com/getting-started-phonegap-android-studio/
http://www.tricedesigns.com/2013/05/16/phonegap-android-studio/

Came across some issues and following links helped me to get through it -

  1. Error - how-to-fix-hax-is-not-working-and-emulator-runs-in-emulation-mode
    http://stackoverflow.com/questions/21031903/how-to-fix-hax-is-not-working-and-emulator-runs-in-emulation-mode
  2. Error - “No Content-Security-Policy meta tag found.”
    http://stackoverflow.com/questions/30212306/no-content-security-policy-meta-tag-found-error-in-my-phonegap-application
  3. config.xml is present under applications root directory
  4. https://developer.ibm.com/answers/questions/18840/not-able-to-connect-to-mobile-app-from-emulator-getting-exception-in-logcat.html