Skip to main content

Phone Gap basic understanding: what and how?

           Before We start lets understand

What is phone gap?

Building applications for each device–iPhone, Android, Windows Mobile and more–requires different frameworks and languages. PhoneGap solves this by using standards-based web technologies to bridge web applications and mobile devices. Since PhoneGap apps are standards compliant, they’re future-proofed to work with browsers as they evolve.

How it works? 

PhoneGap applications are developed using HTML, CSS, and JavaScript, however the final product of a PhoneGap application is a binary application archive that can be distributed through standard application ecosystems.


PhoneGap provides an application programming interface (API) that enables you to access native operating system functionality using JavaScript. You build your application logic using JavaScript, and the PhoneGap API handles communication with the native operating system.


Lets see we are good to Start:
 Phone gap supports the followings features. Lets first match up the requirement  before you start developing any application.

Supported Features

The chart below shows which APIs are available for each device



Comments

Popular posts from this blog

Native Vs Phone gap, What to use and when and why?

Well,  Currently there are millions  of application available in app stores. In that  I would say ~10% of application are based on phone gap, remaining are native. Looking at the application requirement  and the time slice available for you have to bring it in market, you should decide what to choose. So, When you must choose only native development? If your application requires access to SYSTEM APIs, in that case its compulsory to use native. If you want to access of Bluetooth, file operations, storage,  running some background operations, accessing of AT commands, communications with hardware components such as LED, navigation buttons etc. If you are building  heavy games, running algorithms to do signal processing , image processing any such heavy operations These are some of the glimpse of task, where you must use native. Phone gap will never ever will be able to give you support of proper libraries for any of these. Now,...

A Complete Nodejs boiler plate - This man need no introduction

Node.js  is an open-source, cross-platform JavaScript run-time environment that executes JavaScript code outside of a browser. A highly used solution in current mobile and cloud environment. Node.js allows the creation of  Web servers  and networking tools using  JavaScript  and a collection of "modules" that handle various core functionality. Modules are provided for  file system  I/O, networking ( DNS ,  HTTP ,  TCP ,  TLS/SSL , or  UDP ),  binary  data (buffers),  cryptography  functions,  data streams , and other core functions. Node.js's modules use an API designed to reduce the complexity of writing server applications. Nodejs is a powerful platform. Its being used across multiple applications.  Looking at the usability of Nodejs I have created a nodejs boilter plate for beginners and professionals. You can plugin play your required features. This...

Build a Phone gap android App deployable into google play store

Build the application in debug mode Go inside the folder :  "platforms/android/assests/www/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/test/fixtures/" And delete all the files Open Cmd prompt in administrator mode Go inside folder : "platforms/android/cordova" Type :   "build --release" and press enter . Now check the path of  keytool.exe in your PC : C:\Program Files\Java\jre1.8.0_45\bin Using command prompt go inside the folder and type the following command Generate a private key using   keytool . For example: $ keytool - genkey - v - keystore my - release - key . keystore - alias alias_name - keyalg RSA - keysize 2048 - validity 10000 Change the red highlighted text as per requirement. Press enter and fill the asked information. Please do remember the alias name and password asked during t...