add logcat example for debugging.