19
Angular Material Design in Phone Gap/Cord Improvisation Installation Introduction Implementation

Phonegap android angualr material design

Embed Size (px)

Citation preview

Page 1: Phonegap android angualr material design

Angular Material Design in

Phone Gap/CordovaImprovisation

Installation

Introduction

Implementation

Page 2: Phonegap android angualr material design

Node.js also provides a rich library of various JavaScript modules which simplifies the

development of web applications using Node.js to a great extent.

Node.js = Runtime Environment + JavaScript Library

What is Node.js?

https://nodejs.org/

Page 3: Phonegap android angualr material design

Git is a widely used version control system for software development. It is a distributed revision

control system with an emphasis on speed.

What is git?

https://git-scm.com/book/en/v2/Getting-Started-Git-Basics

Page 4: Phonegap android angualr material design

Bower can manage components that contain HTML, CSS, JavaScript, fonts or even image files. Bower

doesn’t concatenate or minify code or do anything else - it just installs the right versions of the packages you need and their dependencies.

What is bower?

http://bower.io/

Page 5: Phonegap android angualr material design

PhoneGap is an open source framework for quickly building cross-platform mobile apps using HTML5, JavaScript and CSS. Wrap your app with PhoneGap

Deploy to mobile platforms! Build your app with web technology Wrap your app with PhoneGap

Deploy to mobile platforms!

What is Phonegap?

http://phonegap.com/

Page 6: Phonegap android angualr material design

Cordova ,formerly called as Phone Gap is a platform to build Native Mobile Applications using HTML5,

CSS and Java Script.

What is Cordova?

http://phonegap.com/

Page 7: Phonegap android angualr material design

ngCordova was built to help make app development faster and more efficient than ever before. It gives

you simple Angular JS wrappers for the most popular Cordova and PhoneGap plug-ins available, where you can take a picture, scan a barcode, turn on your flashlight, get your current location, and

much more with just a few lines of code.

What is ngCordova?

http://ngcordova.com/

Page 8: Phonegap android angualr material design

Cordova ,formerly called as Phone Gap is a platform to build Native Mobile Applications using HTML5,

CSS and Java Script.

What is angular js ?

https://angularjs.org/

Page 9: Phonegap android angualr material design

A design which consists of devices & layer approach of design

What is Material Design?

https://design.google.com/

Page 10: Phonegap android angualr material design

Material Design is a specification for a unified system of visual, motion, and interaction design that

adapts across different devices. Our goal is to deliver a lean, lightweight set of Angular-native UI

elements that implement the material design specification for use in Angular single-page

applications (SPAs).

What is angular material design?

https://design.google.com/

Page 11: Phonegap android angualr material design

1. Download node.exe (32/64 bit) 2. Install in windows3. If proxy exits then open command prompt & type

npm config set https-proxy http://[Your Proxy]:[Proxy Port] npm config set proxy http://[Your Proxy]:[Proxy Port]e.g. npm config set https-proxy http://192.168.1.1:808 npm config set proxy http://192.168.1.1:808

How to install Node.js?

http://digitaldrummerj.me/proxy-configurations/

Page 12: Phonegap android angualr material design

1. Download git-**-**-bit.exe(32/64 bit) 2. Install in windows3. If proxy exits then open command prompt & type

git config --add http.proxy http://[Your Proxy]:[Proxy Port]git config --add https.proxy http://[Your Proxy]:[Proxy Port] e.g. git config --add http.proxy http://192.168.1.1:808 git config --add https.proxy http://192.168.1.1:808

How to install git?

http://digitaldrummerj.me/proxy-configurations/

Page 13: Phonegap android angualr material design

1. Open Command Prompt then past below line and run npm install -g bower

How to install bower?

http://digitaldrummerj.me/proxy-configurations/

Page 14: Phonegap android angualr material design

1. Open Notepad in %userprofile% directory & name the file .bowerrc

2. Proxy Setting in .bowerrc.{ "proxy":"http://[Your Proxy]:[Proxy Port]", "https-proxy":"http://[Your Proxy]:[Proxy Port]"}

How to set proxy to bower?

http://digitaldrummerj.me/proxy-configurations/

Page 15: Phonegap android angualr material design

How to install phonegap?1. Open Command Prompt then past below

line and run npm install -g phonegap

http://phonegap.com/

Page 16: Phonegap android angualr material design

How to install cordova?1. Open Command Prompt then past below

line and run npm install -g cordova

http://phonegap.com/

Page 17: Phonegap android angualr material design

How to create Phonegap app?

1. Open Command Prompt then past below line and run

1. phonegap create myApp or phonegap create myApp --id "org.myapp.sample" --name

"appSample" 2. cd myApp/ 3. phonegap install android

http://docs.phonegap.com/getting-started/3-create-your-app/cli/

Page 18: Phonegap android angualr material design

How to create Phonegap app?

4. bower install ngCordova5. cordova plugin add [Package Name]/[git repository url] e.g. cordova plugin add org.apache.cordova.device6. bower install angular-material7. Copy bower components folder to Platforms-->android--

>lib.8. Import to IDE/ Android studio for business logic

customization.9. Build & Run the app. https://www.npmjs.com/package/angular-material/

Page 19: Phonegap android angualr material design

Gatim Techno Group

Thank You

Bye