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