Top Banner
Alternatives to Java for Android development
24

Alternatives to Java for Android development

Nov 30, 2014

Download

Technology

ttogrul

Alternatives to Java for Android development
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Alternatives to Java for Android development

Alternatives to Java for Android development

Page 2: Alternatives to Java for Android development
Page 3: Alternatives to Java for Android development

Android NDKThe Android NDK is a companion tool to the Android

SDK that lets you build performance-critical portions of your apps in native code. It provides headers and libraries that allow you to build activities, handle user input, use hardware sensors, access application resources, and more, when programming in C or C++

Page 4: Alternatives to Java for Android development

Tools to build and compile your native code for the device architecture (such as ARM)

What’s in Android NDK

A way to package to package your library into the APK file so you can distribute your application easily

A set of native system headers that will be supported for future releases of Android platform(libc, libm, libz, liblog, JNI headers, some C++ headers, OpenGL)

Documentation, sample code and examples

Page 5: Alternatives to Java for Android development

Using NDK

Page 6: Alternatives to Java for Android development

Installing C/C++ support on Eclipse

Page 7: Alternatives to Java for Android development
Page 8: Alternatives to Java for Android development

Installing Cygwin

Page 9: Alternatives to Java for Android development
Page 10: Alternatives to Java for Android development
Page 11: Alternatives to Java for Android development
Page 12: Alternatives to Java for Android development
Page 13: Alternatives to Java for Android development
Page 15: Alternatives to Java for Android development
Page 16: Alternatives to Java for Android development

C#You must have Visual Studio and JDK

installedDownload and install Mono for Android

(http://android.xamarin.com/DownloadTrial)Create AVD in EclipseRun your apps , creating for Android using

C# , from Visual Studio.

Page 17: Alternatives to Java for Android development
Page 18: Alternatives to Java for Android development
Page 19: Alternatives to Java for Android development

Android PhoneGap FeaturesIf the phone can do it, PhoneGap apps can do

it:Sensors: accelerometer, vibrate, compassGPS!Network availability, offline storageMediaFile I/O

Complete list at http://wiki.phonegap.com/Roadmap

Page 20: Alternatives to Java for Android development

Other programming languages

Page 21: Alternatives to Java for Android development

Python – Scripting Layer for Android (http://www.code.google.com/p/android-scripting)

Scala – (http://code.google.com/p/scala-android/)

Clojure – (https://github.com/remvee/clj-android/)

Hecl – (http://hecl.org/docs/android.html)Ruby

a) Ruboto – (http://ruboto.org/)b) Rhodes 2.0 - (http://rhomobile.com/products/rhodes/)

Page 24: Alternatives to Java for Android development