Forrest logo
back to context overview

android

List of commands for android:

  • android:warp:6867887bb7e615accb38b63aec067d0d Push a deeplink to your Android device
    $ adb shell am start -W -a android.intent.action.VIEW -d "${deeplink}" ${your_app_package_name}
    try on your machine
    explain this command
  • android:warp:700c2b877fbeac68738be49aee4df0db Search for a package on a Android device
    $ adb shell pm list packages | grep "${query}"
    try on your machine
    explain this command
  • android:warp:78136066142856e941b738bf00fdc37e Start an Android application using Android ADB tools
    $ adb shell am start -n ${package_name}/${package_name}.${activity_name}
    try on your machine
    explain this command
  • android:warp:87566cb0607135c0e0136768e657f292 Stop an Android app
    $ adb shell am force-stop ${package_name}
    try on your machine
    explain this command
  • android:warp:a77af8b4a7bc6e80de78a1432607e381 Clear the Android logcat buffer
    $ adb logcat -c
    try on your machine
    explain this command
  • android:warp:ee60086b3db8b82fd15183502fca6d7f Send a Firebase push notification to a local Android emulator
    $ adb shell am broadcast \ -n ${your_app_package_name}/com.google.firebase.iid.FirebaseInstanceIdReceiver \ -a "com.google.android.c2dm.intent.RECEIVE" \ --es "title" "${notification_title}" \ --es "body" "${notification_body}" \ --es "deeplink" "${deeplink}"
    try on your machine
    explain this command
  • android:warp:fb1721d560f303b73c9a501e5fbec584 Root your emulator
    $ adb root
    try on your machine
    explain this command
back to context overview