A aeropic Active Member Licensed User Longtime User Dec 16, 2013 #1 Hi All, I own a Pipo m8pro chineese tablet. This tablet has a physical button associated to "menu" functions. When using activity menus, the code works fine on my Galaxy S3 but does nothing on the Pipo m8. I added those lines and a software button to activate them: Code: Sub BtnMenu_Click 'Activity.OpenMenu CallSubDelayed(Me, "OpenMenu") End Sub On the S3, no problem, the menu opens whatever the way it is called, but on the pipo: nothing ... The pipo's android version is supposed to be 4.2.2. When setting the Sdk target to 10 <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="10"/>, a software button appears on the screen and the menu appears (a little bit old style ...) Is this a normal behavior ? Is there a way to get a software button AND the SDK 14 look ? thanks Alain
Hi All, I own a Pipo m8pro chineese tablet. This tablet has a physical button associated to "menu" functions. When using activity menus, the code works fine on my Galaxy S3 but does nothing on the Pipo m8. I added those lines and a software button to activate them: Code: Sub BtnMenu_Click 'Activity.OpenMenu CallSubDelayed(Me, "OpenMenu") End Sub On the S3, no problem, the menu opens whatever the way it is called, but on the pipo: nothing ... The pipo's android version is supposed to be 4.2.2. When setting the Sdk target to 10 <uses-sdk android:minSdkVersion="4" android:targetSdkVersion="10"/>, a software button appears on the screen and the menu appears (a little bit old style ...) Is this a normal behavior ? Is there a way to get a software button AND the SDK 14 look ? thanks Alain
Erel B4X founder Staff member Licensed User Longtime User Dec 18, 2013 #2 Activity.OpenMenu should open the menu on all devices. Upvote 0
A aeropic Active Member Licensed User Longtime User Dec 18, 2013 #3 Well Activity OpenMenu does the job only with SDK Target < 10 ... Maybe a problem with the custom rooted ROM ! Upvote 0
Well Activity OpenMenu does the job only with SDK Target < 10 ... Maybe a problem with the custom rooted ROM !
peacemaker Expert Licensed User Longtime User Mar 17, 2015 #4 Erel, Activity.OpenMenu opens the menu on any Android, but under Android 5 - if to open the menu at FirstTime - it cannot be closed, and Activity does not work at all, until HOME button tap or this pop-up menu tap. Last edited: Mar 17, 2015 Upvote 0
Erel, Activity.OpenMenu opens the menu on any Android, but under Android 5 - if to open the menu at FirstTime - it cannot be closed, and Activity does not work at all, until HOME button tap or this pop-up menu tap.
Erel B4X founder Staff member Licensed User Longtime User Mar 18, 2015 #5 Just tested it on Android 5.0. Pressing on the back button closes the menu. Upvote 0
peacemaker Expert Licensed User Longtime User Mar 18, 2015 #6 Emulator 5.x does not close popped up menu (shown at the bottom, but "..." menu system button shows the menu at the top) at the very first opening. :-( Upvote 0
Emulator 5.x does not close popped up menu (shown at the bottom, but "..." menu system button shows the menu at the top) at the very first opening. :-(
Erel B4X founder Staff member Licensed User Longtime User Mar 18, 2015 #7 Might be an emulator problem. Upvote 0