Android Question Activity AddMenuItem not shown

rossati

Active Member
Licensed User
Longtime User
Hi
I have an application where I can't show an Activity menu item; I have compared this application with another in which menus appear but I have apparently not found any difference.
Any clue?
(The applications are rather complex, in particular the guilty application uses camera, sqlite, mail, http ...)
Thanks
 
I apologize, the application is very cumbersome I would hope to have some suggestions, however I am attaching the software.
 

Attachments

Upvote 0
I apologize, the application is very cumbersome I would hope to have some suggestions, however I am attaching the software.
B4X:
Sub Activity_Create(FirstTime As Boolean)
    Dim p As Phone
    p.SetScreenOrientation(1)    ' force portrait
    Activity.AddMenuItem("About","About")
    Activity.AddMenuItem("Contributors","Contrib")
    Activity.AddMenuItem("Exit","btnEnd")
    Activity.color = Colors.Gray
    If FirstTime Then
Move the Activity codes to beginnig.
 
Upvote 0
B4X:
Sub Activity_Create(FirstTime As Boolean)
    Dim p As Phone
    p.SetScreenOrientation(1)    ' force portrait
    Activity.AddMenuItem("About","About")
    Activity.AddMenuItem("Contributors","Contrib")
    Activity.AddMenuItem("Exit","btnEnd")
    Activity.color = Colors.Gray
    If FirstTime Then
Move the Activity codes to beginnig.
Thanks teddy, very thanks
 
Upvote 0
Back
Top