Upgrade to Pro — share decks privately, control downloads, hide ads and more …

How To: Build Android and iOS app in Java

Alexey Buzdin
September 18, 2015

How To: Build Android and iOS app in Java

So you’ve decided to go cross-platform? Now its time to choose the right tool! Lets talk about various mobile cross-platfrom tools, their pros and cons. When and why you would like to go cross-platform in the first place and why RoboVM might be a good choice for you. Also lets look at what advantages does RoboVM/Xamarin architecture provides you as a developer and a wanna be Open Source Commiter.

Alexey Buzdin

September 18, 2015
Tweet

More Decks by Alexey Buzdin

Other Decks in Programming

Transcript

  1. How To: Develop an app for Android and iOS in

    Java Alexey Buzdin, September 2015
  2. New product checklist - Release date - Platform count -

    Platform priorities - App future __________ __________ __________ __________ ? ? ? ?
  3. - Release date - Platform count - Platform priorities -

    App future __________ __________ __________ __________ 1 New product checklist
  4. - Release date - Platform count - Platform priorities -

    App future Native __________ __________ __________ __________ 1 New product checklist
  5. - Release date - Platform count - Platform priorities -

    App future __________ __________ __________ __________ All Fast All at once ? New product checklist
  6. - Release date - Platform count - Platform priorities -

    App future __________ __________ __________ __________ All Fast Cordova / PhoneGap All at once New product checklist Short Lasting
  7. - Performance problems - Non native UI - Easy to

    add Platforms - One codebase - Native interop Cordova / PhoneGap Consequences
  8. - Release date - Platform count - Platform priorities -

    App future __________ __________ __________ __________ All Fast All at once Short Lasting New product checklist
  9. - Release date - Platform count - Platform priorities -

    App future __________ __________ __________ __________ All Fast Xamarin Forms / CodenameOne All at once Short Lasting New product checklist
  10. - Performance like native - Native UI - Hard to

    modify gen code - Native interop - One codebase Xamarin Forms / CodenameOne Consequences
  11. - Release date - Platform count - Platform priorities -

    App future __________ __________ __________ __________ All Long One by One Long living New product checklist
  12. - Release date - Platform count - Platform priorities -

    App future __________ __________ __________ __________ All Long Xamarin / RoboVM / Tengu One by One Long living New product checklist
  13. - Performance like native - Native UI - Native library

    binding - Shared common core - Separate UI modules per platform Xamarin / RoboVM / Tengu Consequences
  14. View - User Interface Model - Logic and Data ViewModel

    - binds UI properties with internals - communicate with commands
  15. -Java bytecode to native -familiar infrastructure gradle, maven, Idea, eclipse

    java library reuse -ios lib binding; Robopods -Debugger
  16. - vm = new ViewModel(gps, dao) - gps = new

    iOSGPSservice() - dao = new dao()
  17. - new Activity(vm) - vm = new ViewModel(gps, dao) -

    gps = new iOSGPSservice() - dao = new dao()
  18. Summary -no silver bullet -java xamarin is here! -think of

    reuse in advance -involve in Robovm design
  19. q&A