Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 4    Views: 44

Dragon007
Lost but trying
Profile
Posts: 1509
Reg: Dec 17, 2011
London
20,590
03/27/15 05:31 AM (9 years ago)

Document Behavior Bar Android Issue!

Hi Guys some time ago I built a few Android apps, but since some of the new versions of the Android operating systems have been released, I now get an annoying 'Document Behavior' bar showing at the footer of my app when launched. I use the Custom URL plugin only and I created my app using Jquery Mobile and use the Custom URL plugin to link to it. Is there a way to hide this 'Document Behavior' bar? I have tried using the settings for the plugin to try and hide the bar but it still keeps showing. Any help would be appreciated. Dragon
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
03/27/15 03:48 PM (9 years ago)
find this method in the java file : public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { and change every instance of this: menuItem.setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM); to this: menuItem.setShowAsAction(MenuItem.SHOW_AS_ACTION_NEVER); I think that might work
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
03/27/15 03:57 PM (9 years ago)
Also check your json. Are values like: "showBrowserBarBack": "0" etc, set to zero? If its set to 1, that would cause them to show up
 
Dragon007
Lost but trying
Profile
Posts: 1509
Reg: Dec 17, 2011
London
20,590
like
03/27/15 05:47 PM (9 years ago)
Thanks CM, not a coder, but I think I understand what you are saying. Will try tomorrow. BTW, which Java file do I need to look at?
 
ictguy
Aspiring developer
Profile
Posts: 564
Reg: Jun 17, 2011
Mildura, Austra...
15,840
like
03/27/15 06:35 PM (9 years ago)
Hey Dragon, I use Smug's Android HTML plugin. It works like the old school BT2 HTMLDoc plugin. It works a treat - just shows the HTML without any options or file picker sheets. http://www.buzztouch.com/plugins/plugin.php?pid=BB9E7E5EE65303F35F29CE0 cheers Darrel
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.