Menu bar on android device

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
Turtle
Posts: 16
Joined: Thu Nov 30, 2017 6:33 am

Menu bar on android device

Post by Turtle »

Hello,
my next question is about how to hide the menu bar on android devices. Well i could hide the status bar using the standalone settings, but i got a problem with the menu bar, which i tried to hide with this code

Code: Select all

 if the environment is "mobile" then
      mobileHideStatusBar
   end if
Then after i start to search some answers but no luck. I am testing on HTC desire 650.
jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2734
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: Menu bar on android device

Post by jmburnod »

Hi,
Not sure that is the problem but i read:
mobileHideStatusBar does not have any effect on any Android devices with "hardware buttons" embedded in the status bar. For example: "back, home and menu". On these devices, hiding the status bar would remove the buttons and prevent the user from exiting the application.
Best regards
Jean-Marc
https://alternatic.ch
jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7423
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Menu bar on android device

Post by jacque »

What menubar do you mean? Android has a status bar at the top but no menubar per se.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
Turtle
Posts: 16
Joined: Thu Nov 30, 2017 6:33 am

Re: Menu bar on android device

Post by Turtle »

Hi, here is the screenshot. i meant this black menu bar... is there a way to hide it?
Attachments
Screenshot_20180109-203137.png
jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7423
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Menu bar on android device

Post by jacque »

I see, thanks. That's the navigation bar, and the info Jean-Marc posted is correct. LC doesn't let you hide that if the device has on-screen navigation icons.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
Turtle
Posts: 16
Joined: Thu Nov 30, 2017 6:33 am

Re: Menu bar on android device

Post by Turtle »

:roll: okay... thanks guys
Post Reply