Android Question B4A: Change starting activity

grafsoft

Well-Known Member
Licensed User
Longtime User
I have an activity Main that calls the other activities.

Now I think that the app sould start the activity Camera.

When I put "startactivity (Camera)" at the end of main.activity_create, the app disappears. It is still there, you can find it, but it is out of aview, I see the starting screen.

How can I change the activity with which the app starts?

Peter
 

grafsoft

Well-Known Member
Licensed User
Longtime User
Thank you, I solved it now. I still would like to know if I can change the starting activity without shifting code and thus making the program less readable.
 
Upvote 0
Top