Android Data Binding in action using MVVM pattern - droidconUK
MyAppConverter DroidconUK 2014
-
Upload
myappconverter -
Category
Technology
-
view
1.531 -
download
0
description
Transcript of MyAppConverter DroidconUK 2014
![Page 1: MyAppConverter DroidconUK 2014](https://reader033.fdocuments.in/reader033/viewer/2022060116/557dd84fd8b42a93718b52c9/html5/thumbnails/1.jpg)
30th October 2014
Jaoued Ahmed
Native to Native mobile code conversion
bit.ly/droidconuk14
MyAppConverter
![Page 2: MyAppConverter DroidconUK 2014](https://reader033.fdocuments.in/reader033/viewer/2022060116/557dd84fd8b42a93718b52c9/html5/thumbnails/2.jpg)
Outline
• About us• The Problem• MyAppConverter• Short demo• What’s next?• Q&A
![Page 3: MyAppConverter DroidconUK 2014](https://reader033.fdocuments.in/reader033/viewer/2022060116/557dd84fd8b42a93718b52c9/html5/thumbnails/3.jpg)
Outline
• About us• The Problem• MyAppConverter• Short demo• What’s next?• Q&A
![Page 4: MyAppConverter DroidconUK 2014](https://reader033.fdocuments.in/reader033/viewer/2022060116/557dd84fd8b42a93718b52c9/html5/thumbnails/4.jpg)
• Founded in December 2013• Along with co-founders Karim El Mazouni,
Kamal Youbi & John Pluthero • Current status:
– Currently in private beta (iOS to Android)– Public Launch January 2015– Native Android to native iOS code conversion Q1
2015
4
About us
![Page 5: MyAppConverter DroidconUK 2014](https://reader033.fdocuments.in/reader033/viewer/2022060116/557dd84fd8b42a93718b52c9/html5/thumbnails/5.jpg)
5
About us
![Page 6: MyAppConverter DroidconUK 2014](https://reader033.fdocuments.in/reader033/viewer/2022060116/557dd84fd8b42a93718b52c9/html5/thumbnails/6.jpg)
Outline
• About us• The Problem• MyAppConverter• Short demo• What’s next?• Q&A
![Page 7: MyAppConverter DroidconUK 2014](https://reader033.fdocuments.in/reader033/viewer/2022060116/557dd84fd8b42a93718b52c9/html5/thumbnails/7.jpg)
Why is it still difficult to port mobile apps across multiple platforms?
• Huge fragmentation across devices and Operating Systems, and within OS versions
• Current cross-platform solutions have strong limitations causing significant porting issues (capabilities, features, performance)
• Majority of developers prefer Native Development and will know at best two development platforms
• Shipping a mobile app across multiple platforms is a costly solution reserved to the wealthy ones
The Problem
![Page 8: MyAppConverter DroidconUK 2014](https://reader033.fdocuments.in/reader033/viewer/2022060116/557dd84fd8b42a93718b52c9/html5/thumbnails/8.jpg)
Outline
• About us• The Problem• MyAppConverter• Short demo• What’s next?• Q&A
![Page 9: MyAppConverter DroidconUK 2014](https://reader033.fdocuments.in/reader033/viewer/2022060116/557dd84fd8b42a93718b52c9/html5/thumbnails/9.jpg)
• The one thing that everyone will own is a smartphone• We believe that apps should be available to all, instantly and
cheaply.• We believe rewriting your app to support other platforms is a
waste of a developer's time and creativity. • We will free developers from the tyranny of platform by
creating an automated, instant native to native code conversion service and a place where developers can talk, share and enhance their skills.
• This world belongs to you, HACKERS & DEVELOPERS!
9
Our vision
![Page 10: MyAppConverter DroidconUK 2014](https://reader033.fdocuments.in/reader033/viewer/2022060116/557dd84fd8b42a93718b52c9/html5/thumbnails/10.jpg)
10
What is MyAppConverter?
Hackers should create apps not port them
![Page 11: MyAppConverter DroidconUK 2014](https://reader033.fdocuments.in/reader033/viewer/2022060116/557dd84fd8b42a93718b52c9/html5/thumbnails/11.jpg)
What we are building
• The world’s first true native to native mobile code converter
• A community site where developers can use the code conversion service, share knowledge & experience
11
Our vision
![Page 12: MyAppConverter DroidconUK 2014](https://reader033.fdocuments.in/reader033/viewer/2022060116/557dd84fd8b42a93718b52c9/html5/thumbnails/12.jpg)
What is MyAppConverter?
No SDK to download No Runtime
All platforms Peace of Mind
Instant & AutomaticNative to Native Code Conversion
(Online or via IDE plugin)
Your converted code is native with no embedded runtime for
maximum performance
Currently supporting iOS to Android & will be
extended to other platforms
We don't store nor share any of your data and code
![Page 13: MyAppConverter DroidconUK 2014](https://reader033.fdocuments.in/reader033/viewer/2022060116/557dd84fd8b42a93718b52c9/html5/thumbnails/13.jpg)
Project codeSource OS
Project codeTarget OS
Models(Target OS)
Mapping
Parsing
Transformation
Automatic Code Generation
Models(Source OS)
Metamodels Metamodels
MyAppConverter: How does it work?
OS Code Modeled:
• Language Structure• Algorithm• Resources• Frameworks• Functionalities
![Page 14: MyAppConverter DroidconUK 2014](https://reader033.fdocuments.in/reader033/viewer/2022060116/557dd84fd8b42a93718b52c9/html5/thumbnails/14.jpg)
MyAppConverter: PARSING
1. Capabilities • Multi-language • Consistency, Coherency, Integrity• Evolutive
2. Current supported languages• Java, • Obj-C• C++• XML• and other resources
![Page 15: MyAppConverter DroidconUK 2014](https://reader033.fdocuments.in/reader033/viewer/2022060116/557dd84fd8b42a93718b52c9/html5/thumbnails/15.jpg)
MyAppConverter: TRANSFORMATION
1. Transformation • based on MDE• Model to model• Pre-defined mapping between framework
abstraction using Metamodels2. Metamodels
1. Abstract representation of a mobile app running on a given smartphone
Mobile Application Meta-model
Device Specification Meta-Model
Mobile Operating System Meta-model
Operating System Meta-model
Hardware Specification Meta-model
![Page 16: MyAppConverter DroidconUK 2014](https://reader033.fdocuments.in/reader033/viewer/2022060116/557dd84fd8b42a93718b52c9/html5/thumbnails/16.jpg)
MyAppConverter: MAPPING
Mobile App OS1
Mobile App OS2
Technology Technology
Architecture Architecture
Business Business
Semantic SemanticSemantic Mappings
Process Meta-model
UI Meta-modelService Meta-model
…
Data Definitions
ConnectivityComponents
…
Frameworks
OSLanguages
…
![Page 17: MyAppConverter DroidconUK 2014](https://reader033.fdocuments.in/reader033/viewer/2022060116/557dd84fd8b42a93718b52c9/html5/thumbnails/17.jpg)
MyAppConverter: Code Generation
• From the transformed model• Templating• Native target code• Documented, readable, and changeable
![Page 18: MyAppConverter DroidconUK 2014](https://reader033.fdocuments.in/reader033/viewer/2022060116/557dd84fd8b42a93718b52c9/html5/thumbnails/18.jpg)
Outline
• About us• The Problem• MyAppConverter• Short demo• What’s next?• Q&A
![Page 19: MyAppConverter DroidconUK 2014](https://reader033.fdocuments.in/reader033/viewer/2022060116/557dd84fd8b42a93718b52c9/html5/thumbnails/19.jpg)
• SimpleGLkit game from http://www.raywenderlich.com/9776/how-to-create-a-simple-2d-iphone-game-with-opengl-es-2-0-and-glkit-part-2
• Tweejump –https://github.com/haqu/tweejump• Tetris- https://github.com/zanneth/UITetris• FlappyFLY - Anagrams https://github.com/amni/IOS-Anagram-Game • Private beta user games
MyAppConverter : examples of converted apps
![Page 20: MyAppConverter DroidconUK 2014](https://reader033.fdocuments.in/reader033/viewer/2022060116/557dd84fd8b42a93718b52c9/html5/thumbnails/20.jpg)
iOS ANDROIDRuntime Foundation, Core
foundationJava Core Lib
Graphics CoreGraphics, QuartzCore,UIKit
AndroidView, AndroidGraphics,
Animations CoreAnimation, GL(GLKit,OpenAL,O
penGL), SpriteKit, Cocos2d
AndroidOpenGL, AndroidScenes, AndroidAnimation, Cocos2d
Media AudioToolBox, AVFondation
AndroidMedia (effect, AudioFX)
MyAppConverter : Current Coverage
![Page 21: MyAppConverter DroidconUK 2014](https://reader033.fdocuments.in/reader033/viewer/2022060116/557dd84fd8b42a93718b52c9/html5/thumbnails/21.jpg)
Outline
• About us• The Problem• MyAppConverter• Short demo• What’s next?• Q&A
![Page 22: MyAppConverter DroidconUK 2014](https://reader033.fdocuments.in/reader033/viewer/2022060116/557dd84fd8b42a93718b52c9/html5/thumbnails/22.jpg)
Android
IOS
Windows
Ubuntu
Tizen Bada
BB-OS
Web-OS
What’s next?
We’re rolling!
![Page 23: MyAppConverter DroidconUK 2014](https://reader033.fdocuments.in/reader033/viewer/2022060116/557dd84fd8b42a93718b52c9/html5/thumbnails/23.jpg)
What’s next?
• Private Beta feedback from iOS/Android developers on the current scope
• The initial scope is for native iOS to native Android mobile game conversion (Cocos2d, SpriteKit, UIKit &GLKit)
• We will complete all iOS frameworks by end of Dec.• Public opening in January 2015• Android to iOS code conversion starts Q1 2015
![Page 24: MyAppConverter DroidconUK 2014](https://reader033.fdocuments.in/reader033/viewer/2022060116/557dd84fd8b42a93718b52c9/html5/thumbnails/24.jpg)
Some feedback from our private beta users
Awesome!
C. C.iOS Indie Developer, Romania
Insanely Awesome!
M. F.iOS Indie Developer,
Australia
Fantastic! Makes me rethink my commercial strategy
M. R.CTO & Co-founderParis, France
You guys save me time and money.J. M.Indie Developer, LA, USA
My Android team loves it!H. R.CEOMumbai, India
![Page 25: MyAppConverter DroidconUK 2014](https://reader033.fdocuments.in/reader033/viewer/2022060116/557dd84fd8b42a93718b52c9/html5/thumbnails/25.jpg)
MyAppConverter & YOU
• It offers you a more natural way to convert your app to other platforms
• Its native, readable, changeable, re-useable… it’s all yours
• Other platform functionalities will be covered and accessible on your development environment
• You will be participating in the strategic technology coverage
• You will be able to cover by yourself/thru the community the missing parts (frameworks)
• You will be part of the community…your community
![Page 26: MyAppConverter DroidconUK 2014](https://reader033.fdocuments.in/reader033/viewer/2022060116/557dd84fd8b42a93718b52c9/html5/thumbnails/26.jpg)
Come and see us at our stand in the Gallery Hall
&
sign-upbit.ly/droidconuk14
What’s next?
![Page 27: MyAppConverter DroidconUK 2014](https://reader033.fdocuments.in/reader033/viewer/2022060116/557dd84fd8b42a93718b52c9/html5/thumbnails/27.jpg)
Outline
About usThe ProblemMyAppConverterShort demoWhat’s next?Q&A
![Page 28: MyAppConverter DroidconUK 2014](https://reader033.fdocuments.in/reader033/viewer/2022060116/557dd84fd8b42a93718b52c9/html5/thumbnails/28.jpg)
30th October 2014
Jaoued Ahmed
Native to Native mobile code conversion
bit.ly/droidconuk14
MyAppConverter