Graphics is an Android binding for the gfx
1 library. It started as a replacement for the android.graphics.Movie
2 and has similar API, but tries to address certian issues the GIF decoder used by skia has.
Graphics needs gfx
, obviously, but also jini
3 for the C++ JNI bindings. For building an Android library, you’ll need Android developement environment. This includes:
- Android SDK
- Android NDK
- One of:
- Eclipse with ADT, or
- Maven
For succesfull build, you’ll need working environment, as described on Android pages.
First make a common directory for the repos:
$ mkdir Graphics
$ cd Graphics
Clone the repositories:
$ git clone git://github.com/mbits-os/jini.git
$ git clone git://github.com/mbits-os/gfx.git
$ git clone git://github.com/mbits-os/graphics.git
TODO: Eclipse/Maven instructions
2 See the docs on Android Developers