0

I tried to find a way to start the SMS intent in Android (Samsung) with ADB :

adb shell am start -n com.android.mms/.ui.ConversationComposer

I managed to find that the package Name is "com.android.mms" and the intent is ".ui.ConversationComposer".

However this will start directly the New compose message intent, while I tried to start the view where all the SMSs are (it shall lists the SMS in my Android phone). When I trace down with "adb dumpsys window Windows", the SMS listing still uses the above intent (ui.ConversationComposer).

A Workaround for this is launching the SMS Composer and running twice

adb shell input keyevent KEYCODE_BACK

How can I get into this view without having to Launch Composer view and pressing back twice with ADB?

sateayam
  • 1,089
  • 3
  • 16
  • 38

2 Answers2

1

I found another work around solution from this link:

adb shell monkey -p your.app.package.name -c android.intent.category.LAUNCHER 1
Community
  • 1
  • 1
sateayam
  • 1,089
  • 3
  • 16
  • 38
1

Have you tried this:

adb shell monkey -p com.android.mms 1
Empario
  • 402
  • 6
  • 19