2

I want to open the phone default launcher, where all the phone's applications are displayed, whenever i click my button.

I've tried to look up for an answer but i couldn't find one, Is that even possible? Maybe by passing a category to an intent?

Infinite Recursion
  • 6,511
  • 28
  • 39
  • 51
Br4infreze
  • 342
  • 3
  • 11

1 Answers1

1

To open the Menu, (as per original question):

Use Activity.openOptionsMenu() method in the OnClickListener of the button

Edit: Edited question as per OP's comments to open launcher, please refer solution at

How to redirect User to default launcher in an android app?

Community
  • 1
  • 1
Infinite Recursion
  • 6,511
  • 28
  • 39
  • 51