SlideShare a Scribd company logo
Angular Material Design
in
Phone Gap/Cordova
Improvisation
Installation
Introduction
Implementation
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
https://nodejs.org/
Git is a widely used version control system for software
development. It is a distributed revision control system with
an emphasis on speed.
https://git-scm.com/book/en/v2/Getting-Started-Git-Basics
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.
http://bower.io/
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!
http://phonegap.com/
Cordova ,formerly called as Phone Gap is a platform to build
Native Mobile Applications using HTML5, CSS and Java
Script.
http://phonegap.com/
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.
http://ngcordova.com/
Cordova ,formerly called as Phone Gap is a platform to build
Native Mobile Applications using HTML5, CSS and Java
Script.
https://angularjs.org/
A design which consists of devices & layer approach of design
https://design.google.com/
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).
https://design.google.com/
1. Download node.exe (32/64 bit)
2. Install in windows
3. 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
http://digitaldrummerj.me/proxy-configurations/
1. Download git-**-**-bit.exe(32/64 bit)
2. Install in windows
3. 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
http://digitaldrummerj.me/proxy-configurations/
1. Open Command Prompt then past below line and
run
npm install -g bower
http://digitaldrummerj.me/proxy-configurations/
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]"
}
http://digitaldrummerj.me/proxy-configurations/
1. Open Command Prompt then past below line and
run
npm install -g phonegap
http://phonegap.com/
1. Open Command Prompt then past below line and
run
npm install -g cordova
http://phonegap.com/
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/
4. bower install ngCordova
5. cordova plugin add [Package Name]/[git repository url]
e.g. cordova plugin add org.apache.cordova.device
6. bower install angular-material
7. 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/
Gatim Techno Group
Thank You

More Related Content

PDF
Building a Lightning App with Angular Material Design
PPTX
Angular2 + Ng-Lightning + Lightning Design System = Great Apps
PPTX
Angular2 + New Firebase in Action
PDF
Salesforce Lightning Tips & Tricks
PPTX
Logic apps and PowerApps - Integrate across your APIs
PDF
Rails api + JS app
PDF
O365Con18 - Automate your Tasks through Azure Functions - Elio Struyf
PPTX
Serverless in Azure with Functions
Building a Lightning App with Angular Material Design
Angular2 + Ng-Lightning + Lightning Design System = Great Apps
Angular2 + New Firebase in Action
Salesforce Lightning Tips & Tricks
Logic apps and PowerApps - Integrate across your APIs
Rails api + JS app
O365Con18 - Automate your Tasks through Azure Functions - Elio Struyf
Serverless in Azure with Functions

What's hot (20)

PPTX
Azure serverless architectures
PPTX
Internet of things the salesforce lego machine cloud
PDF
Advanced designs for reusable lightning components
PPTX
Azure Functions - Introduction
PDF
Lwc presentation
PPTX
Debugging lightning components
PPTX
Connector API Apps
PPTX
Serverless Application Development with Azure
PPTX
Inside Logic Apps
PDF
Make your animations perform well - Anna Migas - Codemotion Rome 2017
PPT
Building 3D Models with Skycatch & Autodesk Recap API's
PPTX
Winter '19 release development.ppt
PDF
Introduction to Google App Engine
PPTX
First Look at Azure Logic Apps (BAUG)
PDF
Improve monitoring and observability for kubernetes with oss tools
PDF
Building Faster With Your Team's UI Kit
PPTX
Creating a Symfony Ecommerce App
PDF
AWS Community Day Bangkok 2019 - Build a Serverless Web Application in 30 mins
PDF
AWS Community Day Bangkok 2019 - Building & Deploying AWS Lambda with Serverl...
PPTX
Making share point rock with angular and react
Azure serverless architectures
Internet of things the salesforce lego machine cloud
Advanced designs for reusable lightning components
Azure Functions - Introduction
Lwc presentation
Debugging lightning components
Connector API Apps
Serverless Application Development with Azure
Inside Logic Apps
Make your animations perform well - Anna Migas - Codemotion Rome 2017
Building 3D Models with Skycatch & Autodesk Recap API's
Winter '19 release development.ppt
Introduction to Google App Engine
First Look at Azure Logic Apps (BAUG)
Improve monitoring and observability for kubernetes with oss tools
Building Faster With Your Team's UI Kit
Creating a Symfony Ecommerce App
AWS Community Day Bangkok 2019 - Build a Serverless Web Application in 30 mins
AWS Community Day Bangkok 2019 - Building & Deploying AWS Lambda with Serverl...
Making share point rock with angular and react
Ad

Similar to Phonegap android angualr material design (20)

PDF
PhoneGap/Cordova
PDF
PhoneGap in 60 Minutes or Less
PDF
Mobile Development with PhoneGap
PPTX
Mobile Development with PhoneGap
PDF
Getting started with PhoneGap
PDF
Introduction to PhoneGap
KEY
Intro to PhoneGap
PDF
[2015/2016] Apache Cordova
PDF
Developing with Phonegap - Adobe Refresh 2012
PDF
Building Cross-Platform Mobile Apps
PPTX
Phonegap
PDF
Phonegap Essentials Building Crossplatform Mobile Apps John M Wargo
PPTX
Phone gap development, testing, and debugging
PDF
mobicon_paper
PPTX
Midweek breather hybridapps
PDF
Apache Cordova 4.x
KEY
Building Mobile Apps using HTML CSS & Javascript
PDF
PhoneGap: Building Mobile Applications with HTML/JS
PDF
Building mobile apps with PhoneGap and Backbone
PPTX
All About Phonegap
PhoneGap/Cordova
PhoneGap in 60 Minutes or Less
Mobile Development with PhoneGap
Mobile Development with PhoneGap
Getting started with PhoneGap
Introduction to PhoneGap
Intro to PhoneGap
[2015/2016] Apache Cordova
Developing with Phonegap - Adobe Refresh 2012
Building Cross-Platform Mobile Apps
Phonegap
Phonegap Essentials Building Crossplatform Mobile Apps John M Wargo
Phone gap development, testing, and debugging
mobicon_paper
Midweek breather hybridapps
Apache Cordova 4.x
Building Mobile Apps using HTML CSS & Javascript
PhoneGap: Building Mobile Applications with HTML/JS
Building mobile apps with PhoneGap and Backbone
All About Phonegap
Ad

Phonegap android angualr material design

  • 1. Angular Material Design in Phone Gap/Cordova Improvisation Installation Introduction Implementation
  • 2. 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 https://nodejs.org/
  • 3. Git is a widely used version control system for software development. It is a distributed revision control system with an emphasis on speed. https://git-scm.com/book/en/v2/Getting-Started-Git-Basics
  • 4. 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. http://bower.io/
  • 5. 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! http://phonegap.com/
  • 6. Cordova ,formerly called as Phone Gap is a platform to build Native Mobile Applications using HTML5, CSS and Java Script. http://phonegap.com/
  • 7. 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. http://ngcordova.com/
  • 8. Cordova ,formerly called as Phone Gap is a platform to build Native Mobile Applications using HTML5, CSS and Java Script. https://angularjs.org/
  • 9. A design which consists of devices & layer approach of design https://design.google.com/
  • 10. 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). https://design.google.com/
  • 11. 1. Download node.exe (32/64 bit) 2. Install in windows 3. 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 http://digitaldrummerj.me/proxy-configurations/
  • 12. 1. Download git-**-**-bit.exe(32/64 bit) 2. Install in windows 3. 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 http://digitaldrummerj.me/proxy-configurations/
  • 13. 1. Open Command Prompt then past below line and run npm install -g bower http://digitaldrummerj.me/proxy-configurations/
  • 14. 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]" } http://digitaldrummerj.me/proxy-configurations/
  • 15. 1. Open Command Prompt then past below line and run npm install -g phonegap http://phonegap.com/
  • 16. 1. Open Command Prompt then past below line and run npm install -g cordova http://phonegap.com/
  • 17. 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/
  • 18. 4. bower install ngCordova 5. cordova plugin add [Package Name]/[git repository url] e.g. cordova plugin add org.apache.cordova.device 6. bower install angular-material 7. 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/

Editor's Notes

  • #3: Node.js is a server side platform built on Google Chrome's JavaScript Engine (V8 Engine). Node.js was developed by Ryan Dahl in 2009 and its latest version is v0.10.36. The definition of Node.js as supplied by its official documentation is as follows − Node.js is a platform built on Chrome's JavaScript runtime for easily building fast and scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices. Node.js is an open source, cross-platform runtime environment for developing server-side and networking applications. Node.js applications are written in JavaScript, and can be run within the Node.js runtime on OS X, Microsoft Windows, and Linux. 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
  • #4: So, what is Git in a nutshell? This is an important section to absorb, because if you understand what Git is and the fundamentals of how it works, then using Git effectively will probably be much easier for you. As you learn Git, try to clear your mind of the things you may know about other VCSs, such as Subversion and Perforce; doing so will help you avoid subtle confusion when using the tool. Git stores and thinks about information much differently than these other systems, even though the user interface is fairly similar, and understanding those differences will help prevent you from becoming confused while using it. Git is a widely used version control system for software development.It is a distributed revision control system with an emphasis on speed.
  • #5: Web sites are made of lots of things — frameworks, libraries, assets, and utilities. Bower manages all these things for you. Keeping track of all these packages and making sure they are up to date (or set to the specific versions you need) is tricky. Bower to the rescue! 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. To get started, Bower works by fetching and installing packages from all over, taking care of hunting, finding, downloading, and saving the stuff you’re looking for. Bower keeps track of these packages in a manifest file, bower.json. How you use packages is up to you. Bower provides hooks to facilitate using packages in your tools and workflows. Bower is optimized for the front-end. If multiple packages depend on a package - jQuery for example - Bower will download jQuery just once. This is known as a flat dependency graph and it helps reduce page load.
  • #6: 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!
  • #7: Cordova ,formerly called as Phone Gap is a platform to build Native Mobile Applicatons using HTML5, CSS and Java Script.
  • #8: ngCordova was built to help make app development faster and more efficient than ever before. It gives you simple AngularJS wrappers for the most popular Cordova and PhoneGap plugins available, where you can take a picture, scan a barcode, upload a file, turn on your flashlight, get your current location, and much more with just a few lines of code.
  • #9: 1. A structural framework for dyanmic web apps. 2. Uses HTML as template language 3. Extend HTML's syntax to express application's components clearly and succinctly. 4. Data bidning and dependency injection. 5. Animation and effects
  • #10: We challenged ourselves to create a visual language for our users that synthesizes the classic principles of good design with the innovation and possibility of technnology and science. This is material design. This spec is a living document that will be updated as we continue to develop the tenets and specifics of material design. Material has certain immutable characteristics and inherent behaviors. Understanding these qualities will help you manipulate material in a way that's consistent with the vision of material design. 1. Physical Properties: Material has verying x (width) & y (height) dimensions (meassured in dp) and a Uniform thickness (1dp) 2. Transforming material 3. Movement of material 1. Material has verying x (width) & y (height) dimensions (meassured in dp) and a Uniform thickness (1dp) 2. Material casts shadows:- Shadows result naturally from the relative elevation (z- position) between material elements. Shadows depict the relative elevation between material elements. Shadows are never approximated by coloring material. 3. Content behavior can be independent of the behavior of material. 4. Input events only affect the foreground material. Input events cannot pass throught material 5. Using elevation to seperate material elements is one method of preventing multiple material elements from occupying the same point in space simultaneously. Multiple material elements cannot occupy the same point in space simultaneously. 6. Material can display any shape and color 7. Material cannot pass throught other material
  • #11: 1. For developers using AngularJS, Angular Material is the reference implementation of Google's Material Design Specification. This project provides a set of reusable, well-tested, and accessible UI components based on Material Design. 2. 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 AngularJS-native UI elements that implement the material design specification for use in Angular single-page applications (SPAs).
  • #15: There is no command line that I found for configuring bower. Instead you need to create a .bowerrc file in the users home directory. On Windows: %userprofile% directory. On Linux: ~/ Creating .bowerrc file on Windows Windows Explorer unfortunately does not allow you to create files without extensions but using notepad you can create a file without an extension. Open Notepad Ctrl + S to save the file Navigate to the %UserProfile% directory Change the "Save as Type" to "All Files (.) Name the file .bowerrc Click the Save button Now you can edit the file in your text editor of choice Proxy Setting in .bowerrc. { "proxy":"http://[Your Proxy]:[Proxy Port]", "https-proxy":"http://[Your Proxy]:[Proxy Port]" }
  • #19: 1. Open command prompt 2. Select perticular cordova path 3. Type below line and enter 4. cordova plugin add [Package Name]/[git repository url]