Multi-OS Engine – Technology Preview

Multi OS Engine is now open source

  • Use Java* coding to deliver native performance app
  • Ahead of time compilation to native code
  • Build, debug and deploy with Android Studio* integration

Java Developers: Create Android* and iOS* Apps

Use the time-saving and productive functions of Intel’s Multi-OS Engine preview technology to utilize Java coding to create Android* and iOS* mobile apps.

The Multi-OS Engine is a stand-alone plug-in technology that integrates into Android Studio*. Developers can start a mobile app project as an Android* project in Android Studio*, then utilize the Multi-OS engine to configure the project to build and run as an iOS* App on the iOS* simulator. This simulator can be invoked from Android Studio*. Knowledge of Objective-C is not needed to build your native app for iOS*. Any native application logic that can be shared across these platforms, also can be reused.



Introduction

The Multi-OS Engine technology is available as a stand-alone plug-in that can be integrated into Android Studio*. App projects can be started as simple as Android* projects in Android Studio* and Multi-OS engine configures the project to build and run as an iOS* App on the iOS* simulator that can be invoked from Android Studio* as well. Thus, you don’t necessarily need to know Objective-C to build your native app for iOS*. Further, if there is any native application logic that can be shared across these platforms, it can be reused too.

Multi-OS Engine

  • Available as Stand-alone download
  • Develop Cross OS apps

Build iOS* Applications using Java

  • No Objective C
  • Generate Java binding

Run iOS* apps using Android Studio*

  • Gradle build configured to build iOS* apps
  • iOS* simulator integrated with Multi-OS Engine

Internal Overview:

Multi-OS Engine facilitates Java* support on iOS* through

  • Auto Java binding generation from ObjectiveC and C header files from existing libraries or 3rd party packages
  • Java* annotations and NatJ* runtime library
  • Eliminating the need to write JNI functions
  • Prebuilt jar files interfacing iOS* API are provided in the Multi-OS Engine, so you can start coding iOS* app in Java* immediately.

Multi-OS Engine Highlights:

State of the art Android* Java ART runtime

  • Ahead of Time (AOT) compilation on host for performance
  • Enhanced memory management and garbage collection

Many enhancements including:

  • Support for 64 bit iOS* app image
  • Java 8* lambda support throught Retro-lambda integration

Features

Java on iOS

On Device Debugging Support

Android Studio and Xcode Integrated

Nat/J High Performance Bindings

Automatic Binding Generation

UI Builder

Intellisense

Run/Deploy Apps from AS


iOS* Development Workflow with Multi-OS Engine

  1. Create an Android* Project in Android Studio* and to include configuration for iOS* app, add new configuration “Intel Multi-OS Engine Project”. Rest of the steps explain only the creation of iOS* App with Multi-OS Engine, assuming that you are aware of the build process of an Android* app in Android Studio*.
  2. Design UI for iOS* in XCode* or Multi-OS Engine’s UI designer in Android Studio*
  3. Bind UI to Java* using the NatJ runtime libraries.
  4. Android Studio* is equipped with the Intellisense* capabilities to bind the action handlers to the UI elements for iOS*.
  5. Local build is supported on OS X* development machines where iOS* Simulators can be invoked. For Windows* development systems, remote/cloud build is supported.
  6. iOS* applications then can be run on the Simulator which is integrated into Android Studio* by Multi-OS Engine configuration or directly on the device itself through USB debugging.
  7. Launch your app in App Store in iOS* or Google Play Store for Android* devices.
  8. Reiterate the process aiming to reuse as much code as possible between these two apps

Multi-OS Engine Technical Resources

Release Notes
User Guide and Tutorials
Natj API Reference
Webinars and Videos
Support: User Forum – raise questions, get support for the Multi-OS Engine
iOS* Readiness: Analyze your Android* app for iOS-readiness. It’s free! (Note: This tool is offered from an Intel partner, Migeran.)