Tag: Phonegap

How to setup Cordova on Ubuntu for Android app development

Follow the belows steps to configure cordova with Android SDK on Ubuntu machine: Install Java & ANT: First, check you’ve got Java and Ant installed – you’ll need those later: sudo apt-get install default-jre sudo apt-get install default-jdk sudo apt-get install ant Install Nodejs: Run the following command to install NodeJS: sudo apt-get install nodejs …

Continue reading

Permanent link to this article: https://blog.openshell.in/2014/12/how-to-setup-cordova-on-ubuntu-for-android-app-development/

Accessing external website from PhoneGap application

To create a PhoneGap application, To load external webpage into android application by following the instruction. Steps: 1) Create phonegap application and configure with android. 2) Then open your activity file and make the changes, onCreate() method is calling super.loadUrl(“http://your-domain.com”); so that http://your-domain.com page is opened in the WebView as soon as application starts super.loadUrl(“file:///android_asset/www/index.html”); …

Continue reading

Permanent link to this article: https://blog.openshell.in/2014/01/accessing-external-website-from-phonegap-application/