Android Question Activity menu. How ?

MitchBu

Active Member
Licensed 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

Administrator
Staff member
Licensed User
Top