LA3QMA Member Licensed User Longtime User Sep 2, 2013 #1 "The menu button doesn't show" using "targetSdkVersion="11" because i'm using the GoogleMaps library. Is there a workaround for this? Or something i can do so that older devices do not install and crash? Or is it possible to include the GoogleMaps library and only execute if android 3+ are in use?
"The menu button doesn't show" using "targetSdkVersion="11" because i'm using the GoogleMaps library. Is there a workaround for this? Or something i can do so that older devices do not install and crash? Or is it possible to include the GoogleMaps library and only execute if android 3+ are in use?
NJDude Expert Licensed User Longtime User Sep 2, 2013 #2 To use higher versions (Android 3+) add this to your manifest: Code: Copy android:minSdkVersion="11" Upvote 0
LA3QMA Member Licensed User Longtime User Sep 2, 2013 #3 NJDude said: To use higher versions (Android 3+) add this to your manifest: Code: Copy android:minSdkVersion="11" Click to expand... yes but then the menu button for the Preference is not working. Upvote 0
NJDude said: To use higher versions (Android 3+) add this to your manifest: Code: Copy android:minSdkVersion="11" Click to expand... yes but then the menu button for the Preference is not working.
Erel B4X founder Staff member Licensed User Longtime User Sep 3, 2013 #4 Which menu button? PreferenceActivity doesn't create any special menu button. Upvote 0
LA3QMA Member Licensed User Longtime User Sep 3, 2013 #5 Erel said: Which menu button? PreferenceActivity doesn't create any special menu button. Click to expand... Code: Copy Activity_KeyPress (KeyCode as Int, y as String) If KeyCode = KeyCode.KEYCODE_MENU then StartActivity(prefsscreen.CreateIntent) ........ Its there if i reduce android:minSdkVersion="11" to i.e android:minSdkVersion="8" But then this is going to be a problem with the GoogleMap Upvote 0
Erel said: Which menu button? PreferenceActivity doesn't create any special menu button. Click to expand... Code: Copy Activity_KeyPress (KeyCode as Int, y as String) If KeyCode = KeyCode.KEYCODE_MENU then StartActivity(prefsscreen.CreateIntent) ........ Its there if i reduce android:minSdkVersion="11" to i.e android:minSdkVersion="8" But then this is going to be a problem with the GoogleMap
Erel B4X founder Staff member Licensed User Longtime User Sep 4, 2013 #6 On Android 4+ devices the default indication for the menu are the three dots at the top right corner (on devices without a physical menu button). Upvote 0
On Android 4+ devices the default indication for the menu are the three dots at the top right corner (on devices without a physical menu button).
LA3QMA Member Licensed User Longtime User Sep 9, 2013 #7 Erel said: On Android 4+ devices the default indication for the menu are the three dots at the top right corner (on devices without a physical menu button). Click to expand... Yes but this indicator does not show when changing the sdkversion in the XML. Upvote 0
Erel said: On Android 4+ devices the default indication for the menu are the three dots at the top right corner (on devices without a physical menu button). Click to expand... Yes but this indicator does not show when changing the sdkversion in the XML.
NJDude Expert Licensed User Longtime User Sep 9, 2013 #8 The 3 dots will show only if there are any menu items (Android 3+) older versions displayed the button regardless but the menu button has been deprecated by Google. Upvote 0
The 3 dots will show only if there are any menu items (Android 3+) older versions displayed the button regardless but the menu button has been deprecated by Google.
LA3QMA Member Licensed User Longtime User Sep 9, 2013 #9 NJDude said: The 3 dots will show only if there are any menu items (Android 3+) older versions displayed the button regardless but the menu button has been deprecated by Google. Click to expand... Ok. It's working if i "downgrade" the sdkversion. But if it's deprecated are there any other options that are compatible for both android 3+ and 3- ? I need a menu so that the user can make some changes. Upvote 0
NJDude said: The 3 dots will show only if there are any menu items (Android 3+) older versions displayed the button regardless but the menu button has been deprecated by Google. Click to expand... Ok. It's working if i "downgrade" the sdkversion. But if it's deprecated are there any other options that are compatible for both android 3+ and 3- ? I need a menu so that the user can make some changes.
NJDude Expert Licensed User Longtime User Sep 9, 2013 #10 Like I mentioned before, if there are no menu items the menu button won't show up, so, you will have to add at least one, or instead of the menu use an ActionBar which the recommended way. Upvote 0
Like I mentioned before, if there are no menu items the menu button won't show up, so, you will have to add at least one, or instead of the menu use an ActionBar which the recommended way.
LA3QMA Member Licensed User Longtime User Sep 9, 2013 #11 NJDude said: Like I mentioned before, if there are no menu items the menu button won't show up, so, you will have to add at least one, or instead of the menu use an ActionBar which the recommended way. Click to expand... There are three menu items. Anyhow i'll check the Actionbar you mentioned. Thanks Upvote 0
NJDude said: Like I mentioned before, if there are no menu items the menu button won't show up, so, you will have to add at least one, or instead of the menu use an ActionBar which the recommended way. Click to expand... There are three menu items. Anyhow i'll check the Actionbar you mentioned. Thanks
NJDude Expert Licensed User Longtime User Sep 9, 2013 #12 well, I'm going to guess here (since I don't know how your code looks like) but, is your app FULL SCREEN? Upvote 0
well, I'm going to guess here (since I don't know how your code looks like) but, is your app FULL SCREEN?
LA3QMA Member Licensed User Longtime User Sep 12, 2013 #13 NJDude said: well, I'm going to guess here (since I don't know how your code looks like) but, is your app FULL SCREEN? Click to expand... it's not fullscreen. Do the preferenceactivity require this? Upvote 0
NJDude said: well, I'm going to guess here (since I don't know how your code looks like) but, is your app FULL SCREEN? Click to expand... it's not fullscreen. Do the preferenceactivity require this?