Top Banner
Mobile Application Development Presented by Sanyasirao Nali
18

Building Mobile Application Using PhoneGap

Jun 14, 2015

Download

Mobile

PhoneGap by Mr. Sanyasirao Nali
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Building Mobile Application Using PhoneGap

Mobile Application Development

Presented by Sanyasirao Nali

Page 2: Building Mobile Application Using PhoneGap

Index

→ Cross platforms → Introduction to Phone Gap → PhoneGap vs Native → Prerequisites → Getting started → Application structure → Building your first Application → Debugging Applications

Page 3: Building Mobile Application Using PhoneGap

What is “Cross Platform”?

Develop application that works on different platforms (Android,IOS,Black Berry,Windows mobiles etc.).

Page 4: Building Mobile Application Using PhoneGap

What is “Phone Gap”?

Phone Gap is an open source mobile

development framework for building cross-platform mobile applications with standards-based Web technologies like HTML, JavaScript, and CSS.

Developed by : Nitobi Software in 2009. Purchased by : Adobe systems in 2011.

Page 5: Building Mobile Application Using PhoneGap

PhoneGap vs Native

PhoneGap • quick development• support multiple environment• low budgetNative• available all features• support only for single environment• faster & smooth

Page 6: Building Mobile Application Using PhoneGap

Prerequisites

Page 7: Building Mobile Application Using PhoneGap

How to start with Phone Gap?

Integrated Development Environment

1. for Android(Java)

2. for IOS(Objective C)

3. for Windows(c#)

Page 8: Building Mobile Application Using PhoneGap

Phone Gap plug-in Installation

1. Goto → Help → Market Place →enter Phone Gap in search → install

2. Now one Mobile icon display in eclipse IDE.

Page 9: Building Mobile Application Using PhoneGap
Page 10: Building Mobile Application Using PhoneGap
Page 11: Building Mobile Application Using PhoneGap

First Application

Page 12: Building Mobile Application Using PhoneGap
Page 13: Building Mobile Application Using PhoneGap

How does Phone Gap Work?

Include web code in a native app project:- assets/www/js/, css/, images/, etc.

Native code loads a URL to the web code through the device’s internal browser: - super.loadUrl( “file:///android_asset/www/login.html” );

Page 14: Building Mobile Application Using PhoneGap

PhoneGap Platform Support

Page 15: Building Mobile Application Using PhoneGap

jQuery Mobile Continued

Page 16: Building Mobile Application Using PhoneGap

How to Debug Applications

Debug :

Emulators are alternative for mobiles but not a true test

Page 17: Building Mobile Application Using PhoneGap
Page 18: Building Mobile Application Using PhoneGap