Name | Date | Size | |
---|---|---|---|
.. | 14-Feb-2013 | 4 KiB | |
Android.mk | 14-Feb-2013 | 1.7 KiB | |
AndroidManifest.xml | 14-Feb-2013 | 1.3 KiB | |
jni/ | 14-Feb-2013 | 4 KiB | |
README.txt | 14-Feb-2013 | 943 | |
res/ | 14-Feb-2013 | 4 KiB | |
src/ | 14-Feb-2013 | 4 KiB |
README.txt
1Building the sample app for Android using an Android tree: 2 3Copy this folder into an Android tree in packages/apps. In addition to jni, 4res, and src, there needs to be a fourth folder named "skia_extra". This 5will include the skia files which are not part of an Android checkout. It 6should have three folders: include, samplecode, and src. 7 8skia/trunk/include/views -> skia_extra/include/views 9skia/trunk/include/xml -> skia_extra/include/xml 10 11skia/trunk/samplecode -> skia_extra/samplecode 12 13skia/trunk/src/views -> skia_extra/src/views 14skia/trunk/src/ports/SkXMLParser_empty.cpp -> skia_extra/src/ports/ 15skia/trunk/src/xml -> skia_extra/src/xml 16 17skia/trunk/include/utils/android/AndroidKeyToSkKey.h -> jni/ 18 19From packages/apps/SampleApp, type "mm" to build, and install the 20resulting apk. 21 22(It may be necessary to remove samples that do not build from 23skia_extra/samplecode/samplecode_files.mk) 24 25TODO: Instructions for building from SDK/NDK 26