Re: [Vala] Vala to Android - Cairo



Hi Tal, thanks for your interest, Tal Hadad writes:
Very good results.
But why the Android device is needed to be rooted?
Well, during my tutorial, I speed up things by directly copying the native binary deep in the phone's internal filesystem ; I think you are not allowed to do that with an unrooted phone. A solution -not requiring root- would be to regenerate and reinstall the whole APK each time you recompile stuff. But the tutorial would have been a hell longer (explanations on SDK, APK, a.s.o.) so I decided to concentrate on core Vala things.

And is it possible to use OpenGLES in Vala there?

Potentially, yes. By using the SDL Android port, which has support for ES 1.1 and 2.0 (see http://bugzilla.libsdl.org/show_bug.cgi?id=1291). Vala has already a SDL VAPI, we just need to recompile libs and write some glue code, like I did here for Cairo. I'm just too busy to do this right now.
Tal
From: tarnyko tarnyko net
To: vala-list gnome org
Date: Mon, 1 Apr 2013 06:10:40 +0200
Subject: Re: [Vala] Vala to Android - Cairo Hi people, Last message from myself on this thread, just to let you know that I made a tutorial for using Cairo on Android - from Vala : http://www.tarnyko.net/en/?q=node/26 So we can now draw shapes, text, images... and all sort of nice things on Android's screen from Vala code. More interesting stuff in this style will come later, working on this.
Regards,
Tarnyko
_______________________________________________
vala-list mailing list
vala-list gnome org
https://mail.gnome.org/mailman/listinfo/vala-list
_______________________________________________
vala-list mailing list
vala-list gnome org
https://mail.gnome.org/mailman/listinfo/vala-list


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]