PhoneGap Framework
October 25, 2009 § Leave a comment
PhoneGap is an open source framework designed to deploy mobile app for iphone, Android, BlackBerry, and may be other mobile platforms.
You can see feature comparison at http://phonegap.com
Download the latest version 0.7.3 in tgz or zip to get the example code.
Android:
Instruction http://developer.android.com/sdk/1.5_r3/installing.html
- Download Android SDK
- Android SDK version 1.5
- Download Eclipse http://www.eclipse.org/downloads/
- Eclipse stable version 3.4
- Install Android Development Tools (ADT) Plugin for Eclipse
https://dl-ssl.google.com/android/eclipse/
- Eclipse > Preferences > Android
- Select SDK directory
Create a new project.
- File > New > Project
- Selection Android > New Android
- Enter Project name
- Select “Create project from existing source”
- Select the existing directory
- Build Target Select Google APIs 1.5
Note: BlackBerry SDK won’t work on Mac OSX. PhoneGap BlackBerry verison won’t work on Mac OSX.
iPhone and Android Image requirements
April 10, 2009 § Leave a comment
iPhone Build requires at least these 3 images
Icon.png 57×57
Icon-Settings.png 29×29
Default.png 320×480 pixel (full screen without any bars)
Minimum 160 dpi instead of standard web 72 dpi
Android
-dpi-device <dpi> default: 165
-onion <image> PNG only
-onion-alpha <percent> default: 50
-skin <skinID>
SDK includes 4 skin sizes
HVGA-L (480×320, landscape)
HVGA-P (320×480, portrait) (default)
QVGA-L (320×240, landscape)
QVGA-P (240×320, portrait)