Using NativeScript to develop native apps for IOS and Android

Slides:



Advertisements
Similar presentations
UNIT-e futures and UNIT-e Mobile Ben Potter Systems Architect.
Advertisements

Mobile App Development Using: Presented by Tyler Richey Images from
Programming Mobile Applications with Android
Who are these guys? Bruce Pulley Senior Mobile Applications Developer Andrew Rumbley Senior.
Amanda Silver Director of Program Management Visual Studio Tools for Client Applications Cross-Platform Development using Visual Studio.
CROSS PLATFORM DEVELOPMENT WITH MVVM CROSS By Ken Tucker.
1 Mobile Computing Mobile First (formerly Worklight) Copyright 2015 by Janson Industries.
Development of mobile applications using PhoneGap and HTML 5
UNIT4 BUSINESS ANALYTICS. page WHAT IS THE PRODUCT? 2 A business intelligence tool kit, specializing in Coporate Performance Management An application.
The PhoneGap History Doncho Minkov Telerik Academy academy.telerik.com Technical Trainer
Mobile Development with Xamarin Mark Allan Ranyart
SCERSIG: Creating Android Apps with App Inventor 26 October 2011 Ric Paul, Health Services Library, Southampton.
Sayed Ahmed BSc. Eng. In Computer Sc. and Eng. (BUET), Bangladesh MSc., Computer Science, Canada President/Chief Architect/Lead Developer Justetc (Just.
Mobile Programming Lecture 1 Getting Started. Today's Agenda About the Eclipse IDE Hello, World! Project Android Project Structure Intro to Activities,
BUILD CROSS-PLATFORM NATIVE MOBILE APP FOR DNN DNN Mobi.
Using JavaScript for Mobile App Development No Objective C or Java required! July 5th, 2011.
Lightning Talk Fred Rodriguez Nguyen Do CPSC 473 May 6, 2012.
Title slide to be used at the start of a module. Developing Mobile Apps Roland Guijt
Android Programming By Mohsen Biglari Android Programming, Part1: Introduction 1 Part1: Introduction By Mohsen Biglari.
© 2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Adobe Presentation Brijesh Patel | Working with AIR Native Extensions.
Introduction CIS 136 Building Mobile Apps 1. What is a mobile app? 2  Computer program  Designed for small devices  Smartphones  Tablets  Other handhelds.
Introduction to Mobile Programming. Slide 2 Overview Fundamentally, it all works the same way You get the SDK for the device (Droid, Windows, Apple) You.
Java Mobile Apps with GWT & PhoneGap Josh Marinacci, webOS Developer Advocate.
Introducing NativeScript [Pavel Kolev Software Telerik: a Progress company]
Developing Cross-Platform Applications with Visual Studio 2015
© 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Android Boot Camp.
Mobile web Sebastian Lopienski IT Technical Forum 29 June 2012.
Social Media Apps Programming Min-Yuh Day, Ph.D. Assistant Professor Department of Information Management Tamkang University
First Venture into the Android World Chapter 1 Part 2.
Apache Cordova Tools in Visual Studio
 Installation of Android Development Environment  Creating the App with OpenGL ES API  Running the App on Emulator Android App Development.
Trunica Inc. 500 East Kennedy Blvd #300 Tampa, FL Cross Platform Mobile Apps With Cordova and Visual Studio 2015 © Copyright 2015.
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 1.
The way of hybrid mobile development Hybrid Mobile Applications Telerik Software Academy
Game on! With Nativescript
Managing the Application Life Cycle
Ionic & Cordova crash course Ivan Varga
ANDROID APPLICATION DEVELOPMENT. ANDROID DEVELOPMENT DEVELOPER.ANDROID.COM/INDEX.HTML THE OFFICIAL SITE FOR ANDROID DEVELOPERS. PROVIDES THE ANDROID SDK.
Created by Presented by James Schultz Titanium. What is Titanium? An open, extensible development environment for creating beautiful native apps across.
Course Program, Evaluation, Exams Doncho Minkov Telerik Software Academy academy.telerik.com Senior Technical Trainer
NativeScript – Open source platform to build Native iOS/Android Apps.
Best 5 Mobile App Development Tools for Developer's to think beyond the Limitation.
APP DESIGN AND DEVELOPMENT WITH THE IONIC FRAMEWORK Chuck Leone
#SummitNow Alfresco Mobile SDKs in Action 06 November, 2013 Mike Hatfield Lead Engineer Mobile Apps, Alfresco.
Build Cross-Platform Mobile Apps Using Visual Studio A Telerik webinar by Jeffrey T. Fritz March 27, 2014 AND.
Build Hybrid Mobile Apps with Ionic, Angular, & Cordova Brian
Guide To Develop Mobile Apps With Titanium. Agenda Overview Installation of Platform SDKs Pros of Appcelerator Titanium Cons of Appcelerator Titanium.
PhoneGap. web-based mobile development framework, based on the open-source Cordova project. use standard web technologies such as HTML5, CSS3, and JavaScript.
TELERIK APP BUILDER ( Icenium ). POINTS TO DISCUSS  Introduction  Features  Versions  Supported Frameworks.
跨平台 Hybrid App 開發簡介 - 使用 Visual Studio Tool for Apache Cordova + HTML/JavaScript 陳葵懋 (Ian)
Software services delivering SharePoint, Mobile, and Business Intelligence solutions Creating mobile applications that integrate with SharePoint 2013 on-
Mobile App Development Using:
A little more App Inventor and Mind the GAP!
Mobile Device Development
Cross-platform app development
Beginning of Xamarin for iOS development
React Native Crash Course
NativeScript Open-source framework for building truly native mobile apps with Angular, TypeScript or JavaScript. Thanks everyone for coming out today.
Introducing NativeScript
Apache Cordova Overview
Development-Introduction
Multi-Device Hybrid Apps What, Why, and When to Use Hybrid Development Option Ervin Loh ALM Program Manager
@NicJ
Building Native Mobile Apps with Angular 2.0 and NativeScript
Office 365 Development.
SEEM4570 Tutorial 1 Android SDK + XCode SDK +
And I have to create mobile apps too?
Office 365 Development.
Introduce to Angular 6 Present by: Võ Văn Hào
MOBILE PROGRAMMING Meriska Defriani, S.Komp, M.Kom Introduction
Presentation transcript:

Using NativeScript to develop native apps for IOS and Android By Peter Messenger Senior Developer – Kip Mc Grath Education Services http://www.petermessenger.com http://stonecourier.blogspot.com.au/

What is NativeScript? A runtime for building and running native IOS, and (soon) Windows Phone apps with a single JavaScript (or TypeScript) code base Developed by Telerik Open Source Runs JavaScript on JavaScript VMs JavaScriptCore on IOS V8 on Android Android 4.2 or later and iOS 7.1 or later

Nativescript is not like… PhoneGap – no DOM Xamarian – no cross compilation Appcelerator – direct access to native APIs in JavaScript

Why NativeScript? Skills reuse Code reuse Easily use Native Apis Standard base JavaScript, CSS, optionally TypeScript Code reuse Npm modules, 3rd party Android and IOS libraries More than 50 plugins developed already https://www.npmjs.com/search?q=nativescript Easily use Native Apis No wrappers to access native APIs Use native UI elements Open Source Angular 2 Integration

Ways to use Nativescript Telerik Platform Npm install –g nativescript

Telerik Platform Backend as a service Analytics App Builder Push notifications, cloud data, file storage etc Analytics App Builder Cloud builds (build IOS/android builds) Nativescript debugging and tooling Screen Builder Cost $79 per month (and up) http://www.telerik.com/purchase/platform

Telerik Appbuilder IDE Options In Browser Client Visual Studio Extension Sublime Text Package Command Line Interface

Nativescript Command Line Interface Free and open source https://github.com/nativescript/nativescript-cli Requirements Android - JDK, Apache Ant, Android SDK IOS – Xcode, Xcode CLI Tools, IOS SDK

My recommendation Use CLI Optionally use visual studio for editing Test on real devices, compile time very good Optionally use visual studio for editing Use TypeScript, not JavaScript Online platform Requires good upload speed for projects, particularly for large projects with lots of files (found it was painful) Compile times ok, but again internet speed in an issue

Starting an New Project npm install –g nativescript tns create hello-world cd hello world IOS tns platform add ios tns run ios – emulator Android tns platform add android tns run android – emulator

Project Structure Platforms App App_Resources App.css App.js Main-page.css Main-page.js Main-page.xml Node_modules … Package.json Tns_modules Platforms Android ios

App.js var application = require(“application”); application.mainModule = “main-page”; application.start();

Pages Xml markup structure Elements <Page>, <Label> are nativescript modules Can build your own custom XML components <Page> <Label text=“hello world”/> </Page>

Data Binding <Page loaded=“load”> </Page> <Label text=“{{message}}”/> </Page> exports.load = function (args) { args.object.bindingContext = { message : “hello world”}; }

Data Binding Improved var observableModule = require(“data/observable”); exports.load = function (args) { var data = new observableModule.Observable(); data.set(“message”, “hello world”); args.object.bindingContext = data; }

CSS Label { } .special color : green; color : red; font-size : 20; width : 200; margin : 20 } .special color : green;

Layouts, Gestures and Widgets AbsoluteLayout DockLayout GridLayout StackLayout WrapLayout Gestures Tap Double Tap Long Press Swipe Pan Pinch Rotation Features Location Camera Animation Widgets Button Label TextField TextView SearchBar Switch Slider Progress ActivityIndicator Image ListView HtmlView WebView TabView SegmentedBar DatePicker TimePicker ListPicker Dialogs

Coming Soon Weeks/Days… Telerik Listview Charting Curated plugin store November Calendar DataForm AutoComplete TextView January Canvas API Contact Picker Windows Support (maybe)

NativeScript- Site Main site – blog, very good documentation and examples in JavaScript and TypeScript https://www.nativescript.org/ Twitter https://twitter.com/nativescript Source https://github.com/NativeScript/NativeScript NativeScript Group https://plus.google.com/u/0/communities/117408587889337015711?cfem=1 My blog with NativeScript examples http://stonecourier.blogspot.com.au/

NativeScript Videos Presentations by TJ VanToll Welcome to NativeScript https://www.youtube.com/watch?v=bFqqRRuhSEc Beyond the Basics https://www.youtube.com/watch?v=QzhhCGwO4f8 Diving Deep https://www.youtube.com/watch?v=oyqHlCxvq78