-1

I have a requirement where i need to launch a specific Activity of "Google Settings" app from adb shell. Any help will be appreciated. Thanks.

Murali Krishna
  • 167
  • 4
  • 17

2 Answers2

3

You can open the Google Settings activity with this command:

adb shell am start -n com.google.android.gms/com.google.android.gms.app.settings.GoogleSettingsActivity
Mattia Maestrini
  • 32,270
  • 15
  • 87
  • 94
  • Thanks it worked. I want to hit "Google Settings>Ads>Reset Advertising Id" directly using adb command. can you please help me? – Murali Krishna Nov 23 '15 at 12:31
1

This might help: How to start an application using android ADB tools?

You can start an activity using:

adb shell am start -n com.package.name/com.package.name.ActivityName
Community
  • 1
  • 1
James Vickery
  • 732
  • 3
  • 10
  • 23