Hi, can somebody help me to have my Activity.AddMenuItem showing? I have read questions about it that it cannot be seen in android 4+. Is there still a way to fix this or replace the addmenuitem?
From what I understand, this is the recognised way of using menus in newer versions of android. It might be best to start from the first tutorial though as there are some resources that are required. There is also a way to make it work in older devices.
From what I understand, this is the recognised way of using menus in newer versions of android. It might be best to start from the first tutorial though as there are some resources that are required. There is also a way to make it work in older devices.
I had the same problem.
With this in the manifest, the menus appear again :
B4X:
'This code will be applied to the manifest file during compilation.'You do not need to modify it in most cases.'See this link for for more information: http://www.b4x.com/forum/showthread.php?p=78136
AddManifestText(
<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="14"/>
<supports-screens android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
'End of default text.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.