1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/toolkit/crashreporter/google-breakpad/android/sample_app/README Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,32 @@ 1.4 +This is a sample Android executable that can be used to test the 1.5 +Google Breakpad client library on Android. 1.6 + 1.7 +Its purpose is simply to crash and generate a minidump under /data/local/tmp. 1.8 + 1.9 +Build instructions: 1.10 + 1.11 + cd android/sample_app 1.12 + $NDK/ndk-build 1.13 + 1.14 + Where $NDK points to a valid Android NDK installation. 1.15 + 1.16 +Usage instructions: 1.17 + 1.18 + After buildind the test program, send it to a device, then run it as 1.19 + the shell UID: 1.20 + 1.21 + adb push libs/armeabi/test_google_breakpad /data/local/tmp 1.22 + adb shell /data/local/tmp/test_google_breakpad 1.23 + 1.24 + This will simply crash after dumping the name of the generated minidump 1.25 + file. 1.26 + 1.27 + See jni/test_breakpad.cpp for details. 1.28 + 1.29 + Use 'armeabi-v7a' instead of 'armeabi' above to test the ARMv7-A version 1.30 + of the binary. 1.31 + 1.32 +Note: 1.33 + If you plan to use the library in a regular Android application, store 1.34 + the minidump files either to your app-specific directory, or to the SDCard 1.35 + (the latter requiring a specific permission).