Android Question Activity menu. How ?

MitchBu

Well-Known Member
Licensed User
Longtime User
I tend to use this forum as source for programming. I did find the views list with all their events and properties, but could not find a full list of commands and syntax.

I found this to add options to the activity menu, and it works just fine in Activity_create :

B4X:
Activity.AddMenuItem("Crash", "bt1")
Activity.AddMenuItem("Documents", "bt2")

Now I am at a loss to catch menu actions. I read many posts, but all are kind of difficult to make out. There is a reference to MenuBar1, but since I never created it, the action does not fire.

I will appreciate some help.
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Use the built-in help:

menu.gif
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Upvote 0
Top