why the web wont do

Post on 29-Jan-2018

1.432 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Why the Web Won’t Do

iOS Android

iOS Android Nokia

iOS Android Nokia WP7

BlackberryPalmOS

The Problem

J2ME More!

iOS Android Nokia WP7

Efficiency

battery

Efficiency

battery network

Efficiency

battery network offline

Efficiency

battery network offline

Efficiency

Native OS

Native OS

Browser

Native OS

Browser

JavaScript library

Native OS

Browser

JavaScript library

Your app

Androidlayout.xml, Activities, resources

QtQML, JavaScript

iPhoneCore Animation, Interface Builder,

Core Audio, UIViewController

Native/JS layer Native/JS layer Native/JS layer

Application-specific shared codePortable JavaScript & SQL

JS APIs to services JS APIs to services JS APIs to services

JavaSQLite 3, Facebook,

networking

JavaScriptSQLite 3, C++,

Facebook, networking

Objective-CCore Location,

SQLite 3, Facebook, networking

public void showMoodSelectionScreen_(int eventID) { // your Android code here}

jsCore.js2nativeScreenProxy.showMoodSelectionScreen_(id);

mJSCore.setCurrentScreen(this, "EPGScreen");mJSCore.fireJSEvent("native2jsScreenProxy.onResume()");

In your onCreate() or onResume():

In your shared JavaScript:

In your Android Activity:

What we’ve learned

What we’ve learned

Porting effort halved

What we’ve learned

Porting effort halved

More robust product

What we’ve learned

Porting effort halved

More robust product

Focus on UI

ThanksI’ve been @twhume

http://tomhume.org/http://www.futureplatforms.com

top related