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 » Tue Jan 09, 2018 2:41 am

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: 2718
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

Re: Menu bar on android device

Post by jmburnod » Tue Jan 09, 2018 12:53 pm

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: 7229
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Menu bar on android device

Post by jacque » Tue Jan 09, 2018 5:59 pm

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 » Wed Jan 10, 2018 3:35 am

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: 7229
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Menu bar on android device

Post by jacque » Wed Jan 10, 2018 8:26 am

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 » Wed Jan 10, 2018 5:12 pm

:roll: okay... thanks guys

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”