Reputation: 1
I tried to use
adb shell am start com.android.settings/.Settings$VpnSettingsActivity
to launch vpn activity. But it just launched com.android.settings.Settings.
Could any method launch the activity via adb?
Thanks.
Upvotes: 0
Views: 9193
Reputation: 31676
you need to escape or single-quote the $
character:
adb shell "am start -n 'com.android.settings/.Settings$VpnSettingsActivity'"
Upvotes: 7