Table of Contents

Push Notification:

Installing dev environment for Cordova

Other

from this source to set the position of the emulator: 

4.4.2 emulator won't rotate to landscape. To force rotation, load the camera app. Alternatively, this open source app apk is available online

4.0.3 emulator crashes with some message about the launcher. Set heat size higher and check the path to the skin. Details here

emulator keys

this explains how to get Google Play on an emulator. Note that play will be gone when the emulator restarts

to turn debug mode off:

how to start an application with adb

Splash Screens

The easy way to do splash screens for Android and maybe iOS is:

 <platform name="android">
      <allow-intent href="market:*" />
      <splash src="res/screen/android/splash-land-hdpi.png" density="land-hdpi"/>
      <splash src="res/screen/android/splash-land-ldpi.png" density="land-ldpi"/>
      <splash src="res/screen/android/splash-land-mdpi.png" density="land-mdpi"/>
      <splash src="res/screen/android/splash-land-xhdpi.png" density="land-xhdpi"/>
      <splash src="res/screen/android/splash-port-hdpi.png" density="port-hdpi"/>
      <splash src="res/screen/android/splash-port-ldpi.png" density="port-ldpi"/>
      <splash src="res/screen/android/splash-port-mdpi.png" density="port-mdpi"/>
      <splash src="res/screen/android/splash-port-xhdpi.png" density="port-xhdpi"/>
    </platform>

Handy Dandy commands

Random