Alternatives to Java for Android development

Post on 30-Nov-2014

4032 Views

Category:

Technology

1 Downloads

Preview:

Click to see full reader

DESCRIPTION

Alternatives to Java for Android development

Transcript

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++

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

Using NDK

Installing C/C++ support on Eclipse

Installing Cygwin

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.

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

Other programming languages

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/)

top related