adb basics

adb devices

adb install FileName.apk

Advertisements

ng Power

https://www.airpair.com/js/javascript-framework-comparison

Other options

 

JavaScript Templating     around 400mb
1h 57m Intermediate Apr 25, 2014

Up and Running with Underscore.js  around 500mb
2h 0m Intermediate Nov 04, 2013
 
Up and Running with Backbone.js   around 300mb
1h 34m Intermediate Jun 10, 2014

Web Project Workflows with Gulp.js, Git, and Browserify
2h 40m Intermediate Jun 23, 2014  around 400mb

phonegap-init

https://eclipse.org/downloads/

http://docs.phonegap.com/en/4.0.0/index.html

npm install g cordova
c
ordova create hello com.example.hello HelloWorld
cd helloworld
cordova platform add android

cordova platforms ls
cordova build
cordova emulate android
cordova run android
cordova plugin add org.apache.cordova.device
  • cordova plugin add org.apache.cordova.network-information
    $ cordova plugin add org.apache.cordova.battery-status
    
  • Accelerometer, Compass, and Geolocation:
    $ cordova plugin add org.apache.cordova.device-motion
    $ cordova plugin add org.apache.cordova.device-orientation
    $ cordova plugin add org.apache.cordova.geolocation
    
  • Camera, Media playback and Capture:
    $ cordova plugin add org.apache.cordova.camera
    $ cordova plugin add org.apache.cordova.media-capture
    $ cordova plugin add org.apache.cordova.media
    
  • Access files on device or network (File API):
    $ cordova plugin add org.apache.cordova.file
    $ cordova plugin add org.apache.cordova.file-transfer
    
  • Notification via dialog box or vibration:
    $ cordova plugin add org.apache.cordova.dialogs
    $ cordova plugin add org.apache.cordova.vibration
    
  • Contacts:
    $ cordova plugin add org.apache.cordova.contacts
    
  • Globalization:
    $ cordova plugin add org.apache.cordova.globalization
    
  • Splashscreen:
    $ cordova plugin add org.apache.cordova.splashscreen
    
  • Open new browser windows (InAppBrowser):
    $ cordova plugin add org.apache.cordova.inappbrowser
    
  • Debug console:
    $ cordova plugin add org.apache.cordova.console
cordova plugin ls

 

To remove a plugin, refer to it by the same identifier that appears in the listing. For example, here is how you would remove support for a debug console from a release version:

    $ cordova plugin rm org.apache.cordova.console
    $ cordova plugin remove org.apache.cordova.console    # same

You can batch-remove or add plugins by specifying more than one argument for each command:

    $ cordova plugin add org.apache.cordova.console org.apache.cordova.device

 

http get with param for angularjs

$http.get(‘http://shop.kitchenindia.in/shop/i1/index.php/app/version/u’, {
params: {email: un, password: p}
}).success(function (data, status, headers, config) {
if(data.update == ‘yes’){
toastr.success(‘sucess’);
}else{
toastr.info(‘Wrong user details’);
}
// $scope.open();
}).error(function (data, status, headers, config) {
if (!data) {
toastr.error(‘error in dynamic data’);
}
});

ionic-init

ionic start myApp blank  / tabs /

 

http://192.168.0.199/webservice/webservice/login.php?action=login&email=email@e.in&password=123

phonegap run android –device=<device-code-here>

Example:

phonegap run android –device=SH25PW103163

phonegap run android –target=SH25PW103163

cordova emulate –target=emulator-5554 android

SH26YW500152 htc desire

205c648f samsung