I have in my app a share function. I'm doing it like this:
Intent sendIntent = new Intent();
sendIntent.setAction(Intent.ACTION_SEND);
sendIntent.setType("text/plain");
startActivity(Intent.createChooser(sendIntent,"Share"));
It work's fine. But if i'm open it and not choose some app to share but just use backpressed to close the chooser dialog, i can't do anything in my app anymore. Each Button i click is doing nothing. First, if i'm open the chooser again an choose some app to share, the app works again. Anybody know why it is so? Thanks for help :)