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
 

rossati

Active Member
Licensed User
Longtime User
I apologize, the application is very cumbersome I would hope to have some suggestions, however I am attaching the software.
 

Attachments

  • galeno.zip
    61.1 KB · Views: 27
Upvote 0

teddybear

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

rossati

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

Similar Threads

Top