Monday, May 14, 2012

My PhoneGap Experience

PhoneGap (was called by the name Apache Callback, but now Apache Cordova) is an open-source mobile development framework produced by Nitobi, purchased by Adobe Systems. It enables software programmers to build applications for mobile devices using JavaScript, HTML5 and CSS3, instead of lower-level languages such as Objective-C.The resulting applications are hybrid, meaning that they are neither truly native (all layout rendering is done via the webview instead of the platform's native UI framework) nor purely web based (they are not just web apps but packed for appstore distribution, and have access to part of the device application programming interface).
The mobile framework allows web developers to natively target all smartphones with a single codebase (JavaScript, HTML and CSS) by enabling a Foreign Function Interface (FFI) to an embedded WebView or Webkit on the device.



PhoneGap currently supports development for the operating systems Apple iOS, Google Android, HP webOS, Microsoft Windows Phone, Nokia Symbian OS and RIMBlackBerry. Support for recent versions, such as BlackBerry 5 and 6 and Windows Phone 7, is being implemented now. Bada (the operating system used by the SamsungWave S8500) support is "coming soon". The table below is a list of supported features for each operating system.

FeatureiPhone /iPhone 3GiPhone 3GS and newerAndroid robot.svg
Android 1.0 – 4.0
Windows Phone 7Blackberry Logo.svg
5.x–6.0+
Blackberry Logo.svg
4.6–4.7
Bada operating system.png
Bada
SymbianHP D B RGB 72 MX+space.png
webOS
Tizen logo
Tizen
AccelerometerYesYesYesYesYesN/AYesYesYesN/A
CameraYesYesYesYesYesN/AYesYesYesN/A
CompassN/AYesYesYesN/AN/AYesN/AN/AN/A
ContactsYesYesYesYesYesN/AYesYesN/AN/A
FileYesYesYesYesYesN/AN/AN/AN/AN/A
GeolocationYesYesYesYesYesYesYesYesYesN/A
MediaYesYesYesYesN/AN/AN/AN/AN/AN/A
NetworkYesYesYesYesYesYesYesYesYesN/A
Notification (alert)YesYesYesYesYesYesYesYesYesN/A
Notification (sound)YesYesYesYesYesYesYesYesYesN/A
Notification (vibration)YesYesYesYesYesYesYesYesYesN/A
StorageYesYesYesYesYesN/AN/AYesYesN/A
Barcode scannerYesYesYesN/AYesYesN/AN/AN/AN/A

  • I have published my PhoneGap project in Google Play.Its a yoga guide called, Abacus Yoga Guide

Saturday, May 12, 2012

Android Basics Contd..

To study android from the scratch, the first most easy tutorial for the basic is
1) Mobile Orchard (just for basics)
http://mobileorchard.com/category/tutorials/page/7/
2)Vogella(clearing the basic concepts with example and more topics in android)
http://www.vogella.com/android.html
3)Developer Android(for all concepts with examples and details)
http://developer.android.com/guide/basics/what-is-android.html

Android Basics

Setting up Eclipse and Android SDK 

1) Download the Android SDK
     Go to the link given below and download Android SDK according to your requirement.
http://developer.android.com/sdk/index.html   .Follow the steps given in the link
         
2) Download Eclipse(recommended)/any other frameworks
Eclipse is a multi-language software development environment comprising an integrated development environment (IDE) and an extensible plug-in system. It is written mostly in Java. It can be used to develop applications in Java and, by means of various plug-ins.
other frameworks available are

  • ignition
  • droid-fu
  • RoboGuice
  • Commonsware

MVC - MVP : Difference between these design patterns?

In traditional UI development - developer used to create a  View  using window or usercontrol or page and then write all logical code ...