Removing Menubutton in Phonegap 2.x application (Three dots button) in Android

Quelle: http:/pixabay.com/de/ipad-samsung-musik-spielen-google-605439/ (CC0 Public Domain)

Do you wonder where the thee dots menu button comes from in your PhoneGap Android application and how to disable it?

There is no option for that in PhoneGap 2.0 and it's quite tricky to find out.
I found the solution in this thread:
http://docs.phonegap.com/en/4.0.0/cordova_events_events.md.html#menubutton

You simply have to increment the "android-minSdkVersion" preference value in you config.xml file to at least 14:

Please keep in mind that devices with a lower version will not run anymore. Happy coding!

Kommentare

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.

Weitere Informationen über Formatierungsoptionen