Android Question Android Application Menu

EduardoElias

Well-Known Member
Licensed User
Longtime User
I have kept my application with the android:targetSdkVersion="10" to force that 3 dots menu appear and the user can call my PreferencesScreen.

However this is a problem for me since the google play only recognize my app as tablet compatible if I get version 11 ou above.

I see that moving the targetSdkVersion to 11 Android 6 does show the 3 dots. However most of my customers are using early 4 versions (4.0.4 or 4.1.1) and in those version there is no menu, and then no way to configure the app.

Is there a easy way to add this application menu based on the PreferenceScreen/PreferenceManager that I have already implemented?

Thanks
 

EduardoElias

Well-Known Member
Licensed User
Longtime User
Thanks

Just tested on 4.0.4 with targetsdkversion=14 and 15 and did not show up the 3 dots.

Interesting that calling Activity.OpenMenu does not work either.

When I revert back to target=10 the 3 dots comes back, and if I call the OpenMenu directly it does work.

(using b4a 3.82 and preferenceactivity 1.01)
 
Upvote 0

EduardoElias

Well-Known Member
Licensed User
Longtime User
I am using a Motorola Xoom Tablet MZ605 upgraded to Android 4.0.4 it is an old device, but I have a lot of customers with it using as a POS and is actually pretty good to develop with.
 
Upvote 0

EduardoElias

Well-Known Member
Licensed User
Longtime User
bingo!

changed the IncludeTitle to true and the overflow menu appeared on the titlebar.

I would never find it. Thanks!
 
Upvote 0
Top