16
Introduction to Android x86 platform Dushyantsinh Jadeja Software Business Manager – APAC Intel India Premchander Rao Application Engineering Lead Intel India

Droid con 2012 bangalore v2.0

Embed Size (px)

Citation preview

Page 1: Droid con 2012   bangalore v2.0

Introduction to Android x86 platform

Dushyantsinh Jadeja Software Business Manager – APAC

Intel India

Premchander Rao Application Engineering Lead

Intel India

Page 2: Droid con 2012   bangalore v2.0

COMPUTING is about

EXPERIENCES

Delivered by Your Software

Across Devices

Across OSs

Other brands and names are the property of their respective owners.

Page 3: Droid con 2012   bangalore v2.0

Desktops

Laptops

Embedded

Smartphones

Smart TVs

Netbooks

Servers

Millions of developers worldwide - Billions of dollars of SW revenue

Tablets

The Intel Software Ecosystem

Page 4: Droid con 2012   bangalore v2.0

Lava XOLO Lenovo LePhone K800 The Orange San Diego

MegaFon Mint Motorola RAZR I

There are some cool IA devices in the market today and many

more to come in near future!

Page 5: Droid con 2012   bangalore v2.0

Opportunities for Differentiation

Deliver energy efficient performance and long battery life

Develop compelling touch and sensor usages

Performance

New Usages

Think of multi-device and connected experience

Power

Graphics

Page 6: Droid con 2012   bangalore v2.0

Android on Intel Architecture

Page 7: Droid con 2012   bangalore v2.0

http://01.org/ - Intel’s Open Source Technology Center

Page 8: Droid con 2012   bangalore v2.0

Porting to IA – Tools and Resources

Page 9: Droid con 2012   bangalore v2.0

Faster Emulation for any Android developer using an IA-based host PC

Pre-built Atom Images • Android SDK manager has x86 emulation

images built-in

• To emulate an Atom-based Android phone,

install the “Intel Atom x86 System Image”

available in the Android SDK Manager

Much Faster Emulation • Intel® Hardware Accelerated Execution Manager

(HAXM) for Mac and Windows uses Intel®

Virtualization Technology (VT) to accelerate

Android emulator by 2-4x

• Intel VT is already supported in Linux* (KVM)

for x86.

See www.intel.com/software/android for demo videos & installation tips

Page 10: Droid con 2012   bangalore v2.0

Applications Enabling on Atom - Dalvik

10

• The majority of Android apps are Dalvik apps

– Intel’s extensive experience in optimizing Java VMs has been applied to Dalvik VM.

• IA-optimized x86 fast interpreter is part of AOSP mainline and actively maintained

• IA-optimized Trace JIT compiler yields significant performance gains

• Intel continues to invest heavily in Dalvik VM optimizations

• x86 Native Code Generation (NCG) for aggressive compiler optimizations

• Increased performance for CPU- and graphic-intensives apps

• Continued optimizations for memory management

Android Runtime

Core Libraries

Dalvik Virtual Machine

Apps written in Dalvik Java should run “as is”

Page 11: Droid con 2012   bangalore v2.0

Applications Enabling on Atom - NDK

11

Android App with no Native Code

Android Manifest

Dalvik optimized Java Classes

Resources

Android App with Native Code

Android Manifest

Dalvik optimized Java

Classes

Resources

JNI/Native code libraries

• Google added x86 NDK support in Android NDK in July 2011

• Straightforward recompile (with NDK) and repackage (with SDK) for most existing NDK apps

– Unless the native code uses ARM-specific features, porting the app = simple recompile

– If the app uses ARM-specific features

• Must add equivalent x86-specific function calls but can still maintain a single code base and apk for x86 and ARM if desired (“Fat” apk)

Porting Native C, C++ Apps usually just a recompile

Page 12: Droid con 2012   bangalore v2.0

12

Intel® Graphics Performance Analyzer

Page 13: Droid con 2012   bangalore v2.0

Helping you unlock power of the Platform

Intel® Software Partner Program

Intel® Developer Zone

Global Communities for

Software Development

and Business

Technical Documentation,

Guides, Support Forums

Development Tools,

Code Samples, SDKs

Trends and Insights

Sales and Marketing

Resources

intel.com/software

Page 14: Droid con 2012   bangalore v2.0

Take Advantage of the Opportunity to differentiate on Intel Architecture

ISV Opportunity ISV Deliverable

• Create and Port native applications and optimize for Intel Atom based phones running Android

• Applications validated on Intel SDP’s and OEM devices

• Release application for revenue to Android Market – Google play

• Align with Intel on marketing and OEM bundling.

• Optimize your software to run great on Intel Atom based phones with development support from Intel

• Software Development Platforms

• Engineering Support

• Go To Market through matchmaking with customers with potential bundling opportunities

• Act on revenue opportunity

• Participte in other opportunities: industry events, PR, marketing.

Page 15: Droid con 2012   bangalore v2.0

Join us in creating the Next Generation Computing Experience

• There are some cool IA devices in the market today and

many more to come in near future!

• App Development Opportunity for IA Devices

• State of the Art x86 Development Tools

• Resources and Support to build Apps on Intel

Architecture are easily available

Page 16: Droid con 2012   bangalore v2.0

Thank you