michael@0: This is a sample Android executable that can be used to test the michael@0: Google Breakpad client library on Android. michael@0: michael@0: Its purpose is simply to crash and generate a minidump under /data/local/tmp. michael@0: michael@0: Build instructions: michael@0: michael@0: cd android/sample_app michael@0: $NDK/ndk-build michael@0: michael@0: Where $NDK points to a valid Android NDK installation. michael@0: michael@0: Usage instructions: michael@0: michael@0: After buildind the test program, send it to a device, then run it as michael@0: the shell UID: michael@0: michael@0: adb push libs/armeabi/test_google_breakpad /data/local/tmp michael@0: adb shell /data/local/tmp/test_google_breakpad michael@0: michael@0: This will simply crash after dumping the name of the generated minidump michael@0: file. michael@0: michael@0: See jni/test_breakpad.cpp for details. michael@0: michael@0: Use 'armeabi-v7a' instead of 'armeabi' above to test the ARMv7-A version michael@0: of the binary. michael@0: michael@0: Note: michael@0: If you plan to use the library in a regular Android application, store michael@0: the minidump files either to your app-specific directory, or to the SDCard michael@0: (the latter requiring a specific permission).