Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
jni/ | 03-May-2024 | - | 209 | 153 | ||
res/ | 03-May-2024 | - | 46 | 15 | ||
src/com/skia/sampleapp/ | 03-May-2024 | - | 115 | 84 | ||
Android.mk | D | 03-May-2024 | 1.7 KiB | 72 | 46 | |
AndroidManifest.xml | D | 03-May-2024 | 1.3 KiB | 33 | 18 | |
README.txt | D | 03-May-2024 | 943 | 26 | 17 |
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