Android Question reset action_send intent

sdixon

Member
Licensed User
Longtime User
I've been working on an application that uses intent to send information via Whatsapp, twitter, Facebook, etc.

The problem I've run into is that the first time I run the app, I get a list of all the methods available to send information on my phone. The second time I use the app, I don't have the ability to choose another app as I am immediately directed to the last choice I made (no list of methods available)

How can I reset this so that every time I choose to share, I get a clean slate (so to speak) so I can choose another way to send the information. First time Whatsapp, second time Twitter, etc. instead of always being forced to use the first choice.

Any help would be appreciated.

Thanks
 

DonManfred

Expert
Licensed User
Longtime User
have you tried

B4X:
 i.WrapAsIntentChooser("Choose")
    StartActivity(i)
where i is the intent...
 
Upvote 0

sdixon

Member
Licensed User
Longtime User
I just did and it worked great. Thanks.
 
Upvote 0
Top