Android Question how can I switch & display between two open app.

Alex Steinmetz

Member
Licensed User
Longtime User
I have 2 app. running, a browser and b4a app.
I would like to display the b4a app. and let user copy the ID code and then
switch & display the browser and let user paste the Id code.
and again switch to b4a app. and copy the password and switch to the browser
and paste the password.
how to do the switching ???
 
how to do the switching ???
You can use PhoneIntents to open the browser and navigate to a url.

Code: Copy
Dim p As PhoneIntents
    StartActivity(p.OpenBrowser("http://www.b4x.com"))

I don´t know a way to programatically switch back.
 
Upvote 0
Thanks dear Manfred.
that is exactly what I am looking for
programmatically switching between the browser and my b4a app.
 
Upvote 0
I'd recommend a completely different user interface solution. Take a look at how KeePassDroid solve it, it's identical to your needs and very quick and simple for the user. (And probably a lot simpler for you to implement also, perhaps using the brand new Clipboard Class from @hatzisn.)
 
Last edited:
Upvote 0
Hi. Sandman
Thanks to your help, I was able to finish my first Application.
I would like to send you the apk file, please let me have your Email.
 

Attachments

Upvote 0
Back
Top