Mobile Development with Visual Studio 2015

Similar documents
Multi-platform Mobile App. Development with Apache Cordova

6 th October 2018 Milan

Mobile Development June 2015, TEIATH, Greece

Software Architecture Documentation for the JRC MYGEOSS app for Invasive Species project

Mobile Technologies. Types of Apps

CHOOSING THE RIGHT HTML5 FRAMEWORK To Build Your Mobile Web Application

Exploring Cross-platform Tools For Mobile Development: Lessons Learned. mlearning: Tips and Techniques for Development and Implementation

VS005 - Cordova vs NativeScript

Build Tizen HTML5 Apps w/ Sencha Architect & Sencha Touch

Mobile Development A Whirlwind Tour!

Building mobile app using Cordova and AngularJS, common practices. Goran Kopevski

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

By Stephen Cavell, Kerry Ellwanger, and Jack Livingston

2015 NALIT Professional Development Seminar September 30, Tools for Mobile App Development

Classification and Selection of Cross-Platform Tools. Michiel Willocx 17/06/2015

HTML5 Mobile App Development

P a g e 1. Danish Technological Institute. Scripting and Web Languages Online Course k Scripting and Web Languages

Manual Visual Studio 2010 Web Developer Tools Offline

Connect and Transform Your Digital Business with IBM

Native Mobile Apps in JavaScript

The C-Suite Guide to Mobile Technologies for mhealth Development. Medical Web ExpertsTM

MOBILE DEVELOPER GUIDANCE

Real World Development using OpenEdge Mobile some advanced features. Brian C. Preece Ypsilon Software Ltd

Building Native Apps with ArcGIS API for JavaScript Using PhoneGap and jquery. Andy Gup, Lloyd Heberlie

Overview of BlackBerry Dynamics Platform

Open Source Library Developer & IT Pro

Mobile Application Strategy

P a g e 1. Danish Tecnological Institute. Developer Collection Online Course k Developer Collection

HOW REACT NATIVE AND NATIVESCRIPT CHANGE YOUR MOBILE STRATEGY SEBASTIAN

Hybrid mobile apps with Ionic and AngularJS. Jeremy Wilken. FOREWORD BY Adam Bradley MANNING

The paper shows how to realize write-once-run-anywhere for such apps, and what are important lessons learned from our experience.

Creating Web Mapping Applications. Nikki Golding

SharePoint Online Office 365 Developer Course Content

Framework7 and PhoneGap. By Lars Johnson

ArcGIS Runtime: Building Cross-Platform Apps. Rex Hansen Mark Baird Michael Tims Morten Nielsen

Spark SDK Video - Overview and Coding Demo

Ionic Tutorial. For Cross Platform Mobile Software Development

Force.com Mobile Web with Sencha Touch

Pro Events. Functional Specification. Name: Jonathan Finlay. Student Number: C Course: Bachelor of Science (Honours) Software Development

Cross Platform Development (Hybrid vs Native)

MS 20488: Developing Microsoft SharePoint Server 2013 Core Solutions Duration: 5 Days Method: Instructor-Led

National Health Service

D Integrated. Development. Environments. D Mobile Application. Development. Platforms. D Mobile Backend as a Service. Development.

Designing for the Mobile Web Lesson 4: Native Apps

Web Premium- Advanced UI Development Course. Duration: 08 Months. [Classroom and Online] ISO 9001:2015 CERTIFIED

Mobile Application Development

Developing Exceptional Mobile and Multi-Channel Applications using IBM Web Experience Factory

Developing Cross Device Mobile Applications

MOBILIZE YOUR ENTERPRISE WITH TELERIK SOLUTIONS

PhoneGap. Andrew Lunny, Adobe. Monday, 23 July, 12

Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Mobile Applications 2013/2014

Beginner s Guide to Cordova and Mobile Application Development

Come and Get Excited about Azure Mobile Services and Xamarin.Forms

Unifying the Flash and HTML5 Video Experience

Developing Microsoft SharePoint Server 2013 Core Solutions

SharePoint 20488: Developing Microsoft SharePoint Server 2013 Core Solutions. Upcoming Dates. Course Description. Course Outline

MEET THE CUISINES.

Building Native Mapping Apps with PhoneGap: Advanced Techniques Andy

COURSE 20488B: DEVELOPING MICROSOFT SHAREPOINT SERVER 2013 CORE SOLUTIONS

Steps to Set Up the Environment of Xamarin in Visual

Course 20488A: Developing Microsoft SharePoint Server 2013 Core Solutions

Present and Future of the RhoMobile platform. Migrating legacy applications, Node.js on mobile devices right now and more

Developing Microsoft SharePoint Server 2013 Core Solutions

Mohammad Asif [ ]

AD406: What s New in Digital Experience Development with IBM Web Experience Factory

Nodes Tech Slides - Progressive Web Apps, 2018

Where s the difference?

WebSphere Puts Business In Motion. Put People In Motion With Mobile Apps

Contents. The Mobile Delivery Gap The Choice to Go Hybrid What is a Hybrid App? Comparing Hybrid vs. Native Why Hybrid?...

Tools for Mobile Web Eclipse Day Paul Beusterien Symbian Foundation August 26, 2010

Course Outline: MS20488 Developing Microsoft SharePoint Server 2013 Core Solutions

Using and Developing with Azure. Joshua Drew

Developing Microsoft SharePoint Server 2013 Core Solutions

Supported Devices, OS, and Browsers

BOOST SOFTWARE BUSINESS PRODUCTS WITH HYBRID DEVELOPMENT

COURSE OUTLINE MOC 20488: DEVELOPING MICROSOFT SHAREPOINT SERVER 2013 CORE SOLUTIONS

PhoneGap Cross the Gap from HTML5 to Mobile OSCON Paul Beusterien July 19, 2012

HTML5 for mobile development.

13/03/2017. Author Bartosz Zurawski (C ) Project Coordinator Joseph K. Research

JAVASCRIPT JQUERY AJAX FILE UPLOAD STACK OVERFLOW

International Research Journal of Engineering and Technology (IRJET) e-issn: Volume: 05 Issue: 05 May p-issn:

Mobile Programming. Two Scenarios Web sites, like Tuubi where you read/write/download/ upload material

ArcGIS Runtime SDK for.net: Building Xamarin Apps. Rich Zwaap Thad Tilton

Slide 1: Developer Preview

Certified Cordova Developer VS-1124

Xamarin Mobile Application Development Cross Platform C And Xamarin Forms Fundamentals

Roy Lawson. Introduction to Office 365 Development Presented By. SDS pays for referrals!

Prospective Units. 0 - The History of HTML5: Making it Interactive. 1 - Animating with JS & CSS: Making it Move

MCSE Mobility Earned: MCSE Cloud Platform & Infrastructure Earned: 2017 MCSE MCSE. MCSD App Builder. MCSE Business Applications Earned 2017

The Inflection Point in the Application Ecosystem

ArcGIS Runtime: Building Cross-Platform Apps. Mike Branscomb Michael Tims Tyler Schiewe

The Windows CE Technology Tutorial: Windows Powered Solutions For The Developer By Chris Muench

Full Stack JavaScript: Learn Backbone.js, Node.js And MongoDB By Azat Mardan

Case study on PhoneGap / Apache Cordova

There are two main workflows for working with Cordova projects, Web focused and Platform focused.

Developing Microsoft SharePoint Server 2013 Core Solutions Course Contact Hours

Unleashing Your Marketing Collateral and Tools

BlackBerry Apps Experience. Everything You Need to Know and More.

Developing Microsoft SharePoint Server 2013 Core Solutions

Transcription:

Mobile Development with Visual Studio 2015

Bill Ayers MCM/MCSM Charter SharePoint MCT, MCTS, MCITP, MCSD, MCAD, MCSA, MCDBA, Professional Scrum Master (PSM I), etc. Flow Simulation Ltd. www.spdoctor.net BillA@flosim.com @SPDoctor Consultant specialising in SharePoint and Office 365 Development and Architecture for Collaboration and Mobile Development (Since Windows CE beta).

Agenda: Mobile Matters Mobile Diversity Native vs. Web Development Models Hybrid Apps Frameworks VS Tooling Demos Conclusions

Mobile clients matter 87 Source: Morgan Stanley

Mobile (i.e. phones and tablets) Browsing normal web site is good solution (channels, responsive design) Specific tasks mobile app is better model In general, mobile users want apps they don t want to use a web browser for Wikipedia, they want a Wikipedia app

Windows 10: C#/XAML vs. WinJS/HTML5 C#/XAML WPF solutions are Windows/Windows Phone only WinJS/HTML5 framework is closely tied to the platform Universal Apps support for Windows and Windows Phone - in Windows 10 to include XBox and IoT Both are a great solution if you know you will only need to support Windows Store and want native look-and-feel C#/XAML can also be used to build great Windows Phone Apps Use SharePoint CSOM or REST API Projects Islandwood and Astoria for ios and Android developers

There s an ape for that

Problem platform diversity 12% 2%0% 1 2 3 4 5 85% Source: IDC, Smartphone Market Share, Q2, 2014

App Ecosystem

More Mobile Platforms Platform Dev. Environment Language Windows Phone Visual Studio C#/XAML or HTML5 App Windows 8/RT Visual Studio C#/XAML or WinJS/HTML5 Android Eclipse Java ios XCode Objective-C Swift Other (Blackberry?)

Native vs. Web Native Codegen /crosscompilers Web apps Web Native look and feel, performance Easy deployment

Xamarin Re-use C# skills Benefits of native Built on Mono implementation of.net.net core is now open source Still need to learn the native API Upcoming: Xamarin Forms Can run in Visual Studio

Native vs. Web Native Codegen /crosscompilers HTML5 Hybrid Web apps Web Native look and feel, performance Easy deployment

Hybrid Apps on Mobile Devices Embeddable browser control Uses browser rendering engine without UI Chrome Web pages can call into platform and vice versa: ControlName.InvokeScript( fn, Args); window.external.notify( string to pass ); Use local storage API for offline capabilities, load pages from local folder on device or embed Multiple mobile platforms (PhoneGap/Cordova) Large number of apps in app stores are actually hybrid HTML5 apps.

Reasons to use HTML5 Hybrid Apps Code re-use across platforms one code-base, skill-set Prototype and build quickly (low cost) Use widely available web development skills Large JS community and frameworks HTML5 gives limited access to device functions (hence PhoneGap) Great option for LOB apps Access to mobile marketplace like native Users perceive it as an App

Reasons not to use HTML5 Hybrid Apps Storage is limited (25Mb) JavaScript performance cannot match native Difficult to get perfect fidelity with native UI feel

Visual Studio Tools for Apache Cordova An extension allows you to use Visual Studio to: Acquire all required 3 rd party dependencies Configure everything to allow you to build/deploy for the Android, ios, and Windows platforms Debug apps running on Android and Windows Store Easily add native device capabilities

Visual Studio Tools for Apache Cordova The template formerly known as Multi-device Hybrid Apps Add through Tools -> Extensions -> Online search for Cordova Cordova/PhoneGap An alternative for Windows is the Universal App template Now in Visual Studio 2015 RTM Update 1 available Can be used with Shared Project template by using the Shared Reference Project Manager (in-built for VS2015) http://www.visualstudio.com/en-us/explore/cordovavs.aspx

VS Cordova Hints and Tips Some platforms need an Internet connection for build (version check) Build problems? Go to TOOLS -> Options -> Projects and Solutions ->Build and Run -> MSBuild project build output verbosity -> Diagnostic Even if you use Cordova CLI (command line interface) the Tools for Cordova add-in are a quick way of getting environment set up WP8.1 not supported but can use Cordova CLI: cordova add platform windows WP8.1 uses JS Universal model, not C# so WP plugins may not work Article some problems with CTP3 and solutions: http://spdoctor.net/pages/article.aspx?name=using-visual-studio-toolsfor-apache-cordova Generate icons and other assets automatically save hours of work: http://spdoctor.net/pages/generator.aspx

JavaScript mobile libraries and frameworks* jquery Mobile (open source) Kendo UI Mobile (commercial, recently open-sourced) WinJS (recently open-sourced) Ionic (+ angular.js) * Other frameworks are available - these are specifically designed for mobile

Other Frameworks Knockout.js Backbone.js Angular.js (+ionic) Ember.js React.js Vanilla.js

Demo: Frameworkless App

Demo: Using a Framework

Building HTML5 apps for different platforms Web native SharePoint Visual Studio Windows 8 Visual Studio ( native HTML5 apps) Windows Phone 8 Visual Studio Android Visual Studio(!) ios Visual Studio with build server iphone, Blackberry PhoneGap Build (Adobe) App Builder (Telerik) Others..

Mac Build Server Buy a Mac and configure as build server Buy a Mac Mini and hide under desk Use a cloud Mac rental service (e.g. MacInCloud.com) Use a cloud build service Article: Build and Simulate ios in the Cloud

Demo: ios Build Using MacInCloud

Demo: Create image assets

Mobile Development Decision Chart Y Game/Graphics N Y Xamarin N Multiplatform? N Native Business? Mobile Framework e.g. Telerik AppBuilder Y Multiplatform? N Y Low budget/fidelity Y N HTML5 Hybrid (Cordova) If only targeting Windows/Windows Phone and don t need plugins you can use JS Universal Apps

Health Alert: Chasing Unicorns can seriously damage your wealth You can waste a huge amount of time and resources trying to come up with a universal solution to cross-platform development

Conclusions Let s re-use our JavaScript and REST API skills HTML5 Hybrid Apps not perfect but allow skills and code re-use across all platforms A good choice for line of business apps With a little care we can get close to native app feel Mobile development is going to be key to delivering business solutions in an increasingly mobile world Changing fast need to be agile Spread the word mobile first

Resources: 70-480 - http://www.microsoftvirtualacademy.com/trainingcourses/learn-html5-with-javascript-css3-jumpstart-training MVA course on Cross-Platform Dev with VS - http://www.microsoftvirtualacademy.com/trainingcourses/cross-platform-development-with-visual-studio Windows Phone Dev Center - https://dev.windowsphone.com/ https://cordova.apache.org/ http://jquerymobile.com/ Telerik.com/appbuilder Xamarin.com Github.com/officedev //build/ and Ignite sessions at Channel9.msdn.com

Contact me: Blog: www.spdoctor.net Twitter: @spdoctor Sharepoint.stackexchange.com (moderator) Email: BillA@flosim.com