• Like
Automated mobile application porting
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

Automated mobile application porting

  • 712 views
Published

MobFest @ Microsoft Office, 18th Feb 09 …

MobFest @ Microsoft Office, 18th Feb 09
7pm to 10pm

Published in Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
712
On SlideShare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
42
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. MobFest February 2009 Aaron Chan Business Developer Cross Platform Development & Porting
  • 2. The causes What causes fragmentation? The Fragmentation Problem
  • 3. The causes What causes fragmentation? Hardware differences, models & markets Verification of handsets /java New JSRs and APIs The speed of the standards process Manufacturer differentiation Handset customization Handset variation & language differences Why fragmentation?
  • 4. Strategies How to deal with fragmentation (1)
    • A) The brute force method
    • Create reference versions
    • Create 10-15 primary ports
    • Create 50-100 secondary ports
    • Involves code washing, pre-processing search & replace expressions, various manual adjustment.
    • Typical for Java applications deployment
    How to deal with fragmentation
  • 5. Strategies
    • B) The transcoding method
    • Create reference versions
    • Create a port for each OS
    • For each phone in each group, carry out transcoding using device profiles
    • Normally, the source code is often sent elsewhere for treatment
    Or use transcoding
  • 6. Strategies
    • C) Advanced compiler technology
    • Make the code:
    • Transformable
    • able to carry out complex analysis
    • able to perform static checks
    • form an application syntax tree
    • A compiler back-end for each OS, adapted to optimally output code for each target platform, in analogy to GCC technology and its back-end(s)
    Which is what we’re gonna be showing you here today! Or transform
  • 7. MoSync MoSync a cross platform (Symbian, J2ME, Windows Mobile and others) tool that makes it easy to port, update and create applications from one mobile platform to another . MoSync removes bottlenecks in developing and deploying and allows dynamic services to be created simply . Mobile development has never been easier and porting is history! The solution
  • 8. One source code direct to Symbian, Java and Windows Mobile
    • Pre-processer directives
    • Abstraction layer
    • Device analysis
    • Time to demo!
  • 9.
    • The Eclipse IDE
    • Project window
    • Building the project
    • Testing in the emulator
    Demo “Simple application”
  • 10. Other examples “advanced application”
    • With permission from with author Eric Chahi
    • Source interpreter
    • SDL stub ported in 4 hours
    Porting Another World* into MoSync * The game is known as Out of this World in the US and Outer World ( アウターワールド ) in Japan http://www.apple.com/macosx/server
  • 11. “ Building Ruby”
    • Ruby for Symbian, Windows Mobile (and java)
    • Open source language
    • Ported in 1,5 days
    A Ruby interpreter built on MoSync
  • 12. How to automatically port to hundreds of phones The solution
    • Single projects vs. multiple projects
    • Building for many devices and O S s
    • Using the Finalizer
      • generating scripts/criteria
      • running script
      • defines, pre- and post-steps
      • output structure
      • saved-in project
  • 13. Developing for Symbian devices w/o C++
    • N e w technology means new languages
    • Different front-ends
    • C/C++
      • J ava
      • Objective C
      • Fortran/ADA/Small Talk/Erlang/
      • n ew
    • Scripting languages (python, ruby)
    • Different back-ends
      • iPhone
      • Android
      • Moblin
      • Flash/ECMA script/weird
      • new
  • 14. Download your copy today from www.mosync.com Thank you! Mobile Sorcery AB Aaron Chan, business developer a [email_address]