Android Question Menu Item closes app after first click

LWGShane

Well-Known Member
Licensed User
Longtime User
I am updating my app to target Marshmallow, and my Menu Item closes the app after the first click.

My code:

B4X:
Activity.AddMenuItem("About", "About")
B4X:
Sub About_Click
    StartActivity(About)
End Sub

Any ideas?

Project is attached.
 

Attachments

  • App.zip
    44 KB · Views: 120
Last edited:

DonManfred

Expert
Licensed User
Longtime User
It works for me...
LogCat connected to: 05157df57d72d204
--------- beginning of main
--------- beginning of system
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
** Activity (main) Resume **
** Activity (main) Pause, UserClosed = false **
** Activity (about) Create, isFirst = true **
** Activity (about) Resume **

Edit: i see you are talking about android 6. I´m using lollipop.
 
Upvote 0
Top