@NicJ

Slides:



Advertisements
Similar presentations
Mobile Application Development Keshav Bahadoor. Part 1 Cross Platform Web Applications.
Advertisements

So. . . According to the Global Developer Survey ’13 conducted by Telerik, over 5000 developers said that they developed apps using HTML5 in 2012 and 90%
Who are these guys? Bruce Pulley Senior Mobile Applications Developer Andrew Rumbley Senior.
Mobile App Development on Multiple Platforms Using Titanium Campus Compass Team Student Led Seminar Adam Plisch, Brian Russell, Jonathan LeFeber.
Coursework 2: getting started (4) – using PhoneGap to build mobile applications (optional) Chris Greenhalgh G54UBI /
ANDROID PROGRAMMING MODULE 1 – GETTING STARTED
Native vs hybrid vs web mobile Application
LDT mLearning Week 3 Adapted from EDTEC 700 by Dr. Bernie Dodge, PhD – San Diego State University.
The PhoneGap History Doncho Minkov Telerik Academy academy.telerik.com Technical Trainer
Intelligent Tutoring System Mobile Communication Team Drew Boatwright Nakul Dureja Richard Liou.
Social Media Apps Programming Min-Yuh Day, Ph.D. Assistant Professor Department of Information Management Tamkang University
Sayed Ahmed BSc. Eng. In Computer Sc. and Eng. (BUET), Bangladesh MSc., Computer Science, Canada President/Chief Architect/Lead Developer Justetc (Just.
Jeff Batt eLearning Brothers Product Development Manager B.Y.O.L.: Titanium - Create Mobile Training as a Native App Using Javascript Jeff Batt eLearning.
Mobile Application Development with ANDROID. Agenda Mobile Application Development (MAD) Intro to Android platform Platform architecture Application building.
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
Introduction CIS 136 Building Mobile Apps 1. What is a mobile app? 2  Computer program  Designed for small devices  Smartphones  Tablets  Other handhelds.
Java Mobile Apps with GWT & PhoneGap Josh Marinacci, webOS Developer Advocate.
Copyright© Jeffrey Jongko, Ateneo de Manila University Android.
Introducing NativeScript [Pavel Kolev Software Telerik: a Progress company]
“A Project Managers Perspective” Presented by: Brian Fischer Houston Engineering, Inc. WLIA Conference, 02/14/2013 A JOURNEY THRU MOBILE APP DEVELOPMENT.
Social Media Apps Programming Min-Yuh Day, Ph.D. Assistant Professor Department of Information Management Tamkang University
© 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.
PhoneGap- Cross platform for mobile Lê Nguyên Khánh Trần Đại Nhân
Jeff Batt eLearning Brothers Product Development Manager B.Y.O.L.: Titanium - Create Mobile Training as a Native App Using Javascript Jeff Batt eLearning.
Mobile web Sebastian Lopienski IT Technical Forum 29 June 2012.
Kaching! Where Premium Content Can Still Make Money DeVaris Brown Chief Developer Evangelist madewithmarmalade.com.
Social Media Apps Programming Min-Yuh Day, Ph.D. Assistant Professor Department of Information Management Tamkang University
Social Media Apps Programming Min-Yuh Day, Ph.D. Assistant Professor Department of Information Management Tamkang University
The way of hybrid mobile development Hybrid Mobile Applications Telerik Software Academy
Using NativeScript to develop native apps for IOS and Android
Game on! With Nativescript
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.
PhoneGap / PhoneGap Build #CreateTheWeb Mihai Corlan / Adobe Web Evangelist
COMPARING CROSS-PLATFORM DEVELOPMENT APPROACHES FOR MOBILE APPLICATIONS Henning Heitkötter, Sebastian Hanschke and Tim A. Majchrzak Department of Information.
JavaScript 사용현황 김민철. Table of contents  1. Mobile  WAC  PhoneGap  AppsPresso  2. TV  Samsung Smart TV  KT IPTV  3. 기타  node.js 2.
INTRODUCING HYBRID APP KAU with MICT PARK IT COMPANIES Supported by KOICA
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.
跨平台 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-
Introduction to Mobile Computing
A little more App Inventor and Mind the GAP!
Beginning of Xamarin for iOS development
Geospatial Research & Solutions GIS.ASU.EDU
ET-570 Smart Phone Apps.
Android Mobile Application Development
Android Studio, Android System Basics and Git
Android.
Apache Cordova Overview
Hybrid Mobile Applications
Hybrid Mobile Applications
Building Native Mobile Apps with Angular 2.0 and NativeScript
Mobile App Development
Apps XD.
12/5/2018 HCI SNS College of Engineering Department of Computer Science and Engineering Mobile Application Development Presented by S.Yamuna AP/CSE.
Android Developer Fundamentals V2
Apache Cordova What is it ? Platforms Development Architecture Plugins
Atomic skills Fahad Khan.
Frameworks Deploying Online Services
Android Development Introduction to Android Development 2011/01/16
Mark Quirk Head of Technology Developer & Platform Group
Presentation transcript:

Nic Jansma @NicJ //nicj.net

nic@nicj.net @NicJ http://nicj.net Who am I? Nic Jansma Spent 6 years as a dev at Microsoft - Win 7 & IE 9/10 Perf Teams Recently founded Wolverine Digital Developing high-performance websites and apps nic@nicj.net @NicJ http://nicj.net http://github.com/nicjansma

First Two Apps (Native Android) Minifig Collector (free) TiskTasks for Todoist ($0.99) http://minifigcollector.com http://tisktasks.com

3rd App October 2011: Partnered with the author of the Unofficial LEGO Minifigure Catalog to create an interactive version of his book Wanted to release on iOS and Android Native? PhoneGap? Appcelerator?

Native Development Java Objective-C

Appcelerator Titanium Mobile Titanium is a JavaScript runtime that gives you native access to the platform’s controls You are not building a app via html/css/js (i.e. PhoneGap) JavaScript

How Titanium Mobile Works You write code in JavaScript At runtime, your application has 3 major components: JavaScript source code (minified and inlined, but not compiled, into Java/Obj-C strings) Titanium API implementation in the native OS JavaScript interpreter (V8/Rhino for Android, JavaScriptCore for iOS) The JavaScript interpreter runs your JavaScript code in an environment with proxies for the native objects (windows, controls, etc)

Getting Titanium Mobile Step 1: Sign up for Appcelerator https://my.appcelerator.com/auth/signup “App EXPLORE” plan = Free: Build, test, ship, sell for free Additional plans available (more analytics, cloud, support): http://www.appcelerator.com/plans-pricing Step 2: Download Titanium Studio http://www.appcelerator.com/platform/titanium-studio Step 3: Profit ???

Titanium Studio Eclipse-- (was Aptana Studio) Editor Formatting Code-completion Build Debug Release

App File Structure I18n\ - Internationalization files modules\ - Third-Party (or Appcelerator) native modules Resources\ app.js – Startup file images\ - Generic Images android\ - Android-specific images images\high / etc – Android density/screen-size dirs iphone\ - iOS-specific images @2x files lib\, ui\, whatever\ - your source file dirs

Hello World var win = Ti.UI.createWindow({ title: 'Hello, World!', layout: 'vertical', backgroundColor: 'white' }); var helloLabel = Ti.UI.createLabel({ text: 'Hello World', color: 'black', font: { fontSize: '20sp' }, height: '40dp', width: '250dp' win.add(helloLabel); var helloButton = Ti.UI.createButton({ title: 'Click me!', top: '20dp', helloButton.addEventListener('click', function() { alert('you clicked me!'); win.add(helloButton); win.open();

Titanium Mobile APIs AJAX / Web services In-App Purchases Geolocation Camera Media / Photo Gallery Accelerometer Maps Analytics Social Sharing (Facebook, etc) Extensible with your own native iOS/Android packages

KitchenSink https://github.com/appcelerator/KitchenSink/

Cloud Services http://www.appcelerator.com/cloud

Future Platform Support Blackberry WinPhone7

Pros One codebase for two platforms Native interface controls You’ll (theoretically) spend less time than writing two native apps Maintenance on one codebase should be easier in the long run Native interface controls Your apps can look just like native ones Might be able to reuse your JavaScript in other parts of your project eg., Web front-end, Node.js backend Platform is open-source https://github.com/appcelerator/titanium_mobile JavaScript is fun!

Cons Platform is young and still changing Need to learn a new platform / SDK / quirks Knowing the ins & outs of native iOS / Android will help You’ll still have lots of if(iOS){} and if(android){} LEGO Minifig Collector has 24 blocks of code that are Android or iOS specific Performance isn’t 100% of a native app SDK/API Documentation is weak (but getting better) Q&A support forum is a mess (use SO instead)

Unofficial LEGO Minifigure Catalog Took ~1 month to develop http://minifigure.org/application Releasing content updates via IAP Got featured in iTunes Catalogs category for a week Looking back, Titanium was the right choice for our product’s needs

Lessons Learned I probably spent as much time learning Titanium and building my first app as I would have spent learning native iOS Now I can build apps in Titanium quickly, but still need to learn native iOS 2nd+ Titanium app will be a lot easier to build It takes time to ramp-up on good JavaScript patterns CommonJS modules, Crockford-isms, http://shichuan.github.com/javascript-patterns/ I like JavaScript Now I’m developing a game where JavaScript is the whole stack: Node.js websockets and HTTP server, frontend in HTML/CSS/JS, mobile version via Titanium iOS simulator is a lot faster to test on. Android emulator is slow! For community support, you’ll need to use a combination of the Appcelerator API Docs, Q&A site, videos and StackOverflow

Lessons Learned, continued You’ll spend time adapting when they release SDK updates 1.7.x => 1.8.x: Took me 2 days to find and fix bugs from SDK changes You won’t double your sales just by releasing on both platforms

Good Reads

Links Appcelerator http://appcelerator.com http://docs.appcelerator.com/titanium/2.1/index.html http://developer.appcelerator.com/questions/newest http://stackoverflow.com/questions/tagged/titanium http://vimeo.com/appcelerator Community Projects Joli https://github.com/xavierlacot/joli.js/