-4

I would like to open another app when clicking a button in my app. How can I achieve that?

Intent intent = new Intent("com.test.test");
Cœur
  • 37,241
  • 25
  • 195
  • 267
M P
  • 113
  • 1
  • 4
  • 15

1 Answers1

0

You don't start "applications" in Android, but "activities". If the activity is not in your process, you need the full class name - just as you did in your demo code.

You need to know the exact activity name in order to open it.

elcuco
  • 8,948
  • 9
  • 47
  • 69