Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Vala for Android?

Tags:

android

vala

Is it possible to write a Vala application and get it to run on an Android device?

like image 732
GnomeCubed Avatar asked Jun 14 '10 21:06

GnomeCubed


3 Answers

With the new NDK, you can write UI applications in C/C++ as well. As long as you have a C ABI, you can call anything from Vala you want, provided you have a .vapi file for it. The main obstacle is the lack of glib and gobject, but those can probably be compiled. After all, there's a Linux and a libc present.

Update: Bero Rosenkränzer did a nice presentation on the Android Builder Summit that shows the currently available ways to program Android without Java.

like image 84
DrMickeyLauer Avatar answered Nov 19 '22 20:11

DrMickeyLauer


Yes vala is already compiled for android. But cant use with GTK.

http://valajournal.blogspot.com.es/2013/03/vala-on-android.html

like image 39
txasatonga Avatar answered Nov 19 '22 19:11

txasatonga


Not for android as long as there is no gtk backend, but for Maemo and most likly it's successor MeeGo as it uses gtk and there is a vala packet in the developer repositpory. (as a matter of fact i already successfully compiled my own vala programm on my N900 phone with a dveloper chroot)

like image 2
boscowitch Avatar answered Nov 19 '22 19:11

boscowitch