Disabling the hardware menu button [MIT AI2]

NKoyD

After Toni provided his solution for Disabling the hardware menu button, doing it with Apk Modder will be far easier.

Designer Properties

Screen1

Sizing: Responsive
ShowStatusBar: Checked
TitleVisible: Checked

We will control StatusBar and Title with Apk Modder

 

Launch Apk Modder

Select Apk tab and choose the Select apk to decompile.

 

Decompile should take a couple of seconds to be completed.

 

Select Options tab and choose under Directories Decompile dir.

 

Go to “your_project_name.apk\smali\com\google\appinventor\components\runtime\form.smali” and select to edit form.smali.

 

Make sure to select from
.method public onCreateOptionsMenu(Landroid/view/Menu;)Z to .end method and delete that part, do not forget to save.

 

Make the necessary changes in the Manifest file.

 

Build new apk.

 

Finalize apk.

 

And that’s all….

  1. Reply

    Where can i download apk modder?

    • eriks on April 30, 2016 at 1:37 am

    Reply

    can I leave ShowStatusBar and TitleVisible to unchecked?

      • bobans on May 4, 2016 at 6:12 pm

      Reply

      Try and see what happens if you do so.
      However, I recommend that you choose Theme.NoTitleBar.Fullscreen for that purpose.

Leave a Reply

Your email address will not be published.