Cross-platform development on mobile devices
Upcoming SlideShare
Loading in...5

Cross-platform development on mobile devices






Total Views
Views on SlideShare
Embed Views



2 Embeds 934 931 3



Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
Post Comment
Edit your comment

Cross-platform development on mobile devices Cross-platform development on mobile devices Presentation Transcript

  • Takaaki Mizuno• 15 years experience in Engineering.• Works to DeNA Co., Ltd and Oceans Inc.
  • How to develop the app both foriOS/Android ?There are 2 options:• Develop for both separately with different languages ( Objective-C / Java )• Use cross-platform development environment and develop for both platform at once
  • Cross-Platform developmentenvironments
  • Are cross-platform dev denelopmentenvivonments workable ? Business • Not good at least now Apps • It’s ok for simple apps Games • Not so bad
  • Most important thing is…To know the characteristics of each environment Your code Cross-platform Erase the difference But limit the capability Environment layer sometimes Native Layer
  • Business Apps• Pros • Write once, run on both devices • No need to pass Apple’s review• Cons • UI of both environments are totally different • Really slow
  • UI of both environments are different• Android have “hardware back key” and “Menu”• Positions of Tab Bar are different• Android devices have so many aspect ratios and screen sizes.• You have to care about such differences in your code
  • Difficult to catch up with interface trends.• Pull to refresh• Side menu
  • UIWebView based application for iOS Really Slow
  • Why ?• Apple doesn’t allow to use JIT strategy
  • Chrome iOS version is SLOW
  • Facebook Application for iOS
  • Facebook will return to native
  • Game• Pros • Write once, run on both devices • No need to pass Apple’s review• Cons • UI of both environments are totally different • Really slow • Use JavaScript
  • User Interface• You don’t need to use native-like user interface
  • Speed• Compiling code to native ( Unity )• Preparing alternative Canvas ( appMobi )• Use OpenGL directly ( ngCore )
  • JavaScript• JavaScript for mobile application is totally different from web app’s one ( such as using jQuery ).• JavaScript is not suitable for large scale development. • Because it is difficult to find a bug.
  • But if you want to use JavaScript still…
  • Closure Compiler• Google’s answer for large scale JavaScript development• It optimizes the code and finds error in code.
  • DeNA’s answer
  • ngCore• JavaScript based Game development environment.• Try ⇛
  • JSX• a faster, safer, easier alternative to JavaScript• JSX compilers compiles JSX code into JavaScript interface Flyable { abstract function fly() : void; } abstract class Animal { function eat() : void { log "An animal is eating!”; } } class Bat extends Animal implements Flyable { override function fly() : void { log "A bat is flying!”; } }
  • JSX we are observing 4% to 27% increase in performance
  • Try it
  • Arctic.js• Game engine for smartphone web browsers written in JavaScript with HTML5 Canvas.• It provides ActionScript3 friendly APIs which Flash developers are familiar to.var keyFrame = new arc.anim.KeyFrameAnimation(12, 5, [ new arc.anim.Timeline(this._yellowImg, { 1 : {visible:true}, 3 : {visible:false} }), new arc.anim.Timeline(this._orangeImg, { 1 : {visible:true}, 5 : {visible:false} }), new arc.anim.Timeline(this, { 1 : {scaleX:0.5, scaleY:0.5, transition:arc.anim.Transition.SINE_OUT}, 5 : {scaleX:3, scaleY:3} })]);
  • Try it
  • ExGame• Converts Flash Lite 1.1 SWF into JavaScript and make it executable on iOS/Android devices.
  • How to use ExGame• DeNA provides ExGame to the partner developers.• Please access to our development sites: