Daniel-White Active Member Licensed User Longtime User Sep 12, 2016 #1 Hi folks. I have a big mystery situation, that code work great in Kitkat, but in phones with Lollipop does not work. ?????????????? I mean when the user press this button in Kitktat the menu appear, work fine. But in Lollipop and upper versions of android does not work. B4X: Activity.AddMenuItem("Limpiar Mapa","BorrarAlertasdelMapa") ' Activity.AddMenuItem("Automático","Automatico") ' Activity.AddMenuItem(Zona0,"ZoomXzona0") ' Activity.AddMenuItem(Zona1,"ZoomXzona1") ' Activity.AddMenuItem(Zona2,"ZoomXzona2") ' Activity.AddMenuItem(Zona3,"ZoomXzona3") ' Activity.AddMenuItem(Zona4,"ZoomXzona4") ' Activity.AddMenuItem(Zona5,"ZoomXzona5") ' Activity.AddMenuItem(Zona6,"ZoomXzona6")
Hi folks. I have a big mystery situation, that code work great in Kitkat, but in phones with Lollipop does not work. ?????????????? I mean when the user press this button in Kitktat the menu appear, work fine. But in Lollipop and upper versions of android does not work. B4X: Activity.AddMenuItem("Limpiar Mapa","BorrarAlertasdelMapa") ' Activity.AddMenuItem("Automático","Automatico") ' Activity.AddMenuItem(Zona0,"ZoomXzona0") ' Activity.AddMenuItem(Zona1,"ZoomXzona1") ' Activity.AddMenuItem(Zona2,"ZoomXzona2") ' Activity.AddMenuItem(Zona3,"ZoomXzona3") ' Activity.AddMenuItem(Zona4,"ZoomXzona4") ' Activity.AddMenuItem(Zona5,"ZoomXzona5") ' Activity.AddMenuItem(Zona6,"ZoomXzona6")
Erel B4X founder Staff member Licensed User Longtime User Sep 12, 2016 #2 This is not the menu button. This is the recent apps button. There should be a three dots button in the top right corner for the menu. Upvote 0
This is not the menu button. This is the recent apps button. There should be a three dots button in the top right corner for the menu.
DonManfred Expert Licensed User Longtime User Sep 12, 2016 #3 Daniel-White said: But in Lollipop and upper versions of android does not work. Click to expand... There is no MENU Button Use a ActionBar with menu... See AppCompat-tutorials Upvote 0
Daniel-White said: But in Lollipop and upper versions of android does not work. Click to expand... There is no MENU Button Use a ActionBar with menu... See AppCompat-tutorials
S susu Well-Known Member Licensed User Longtime User Sep 13, 2016 #4 In my LG (and many) phones, when you hold recent button for a while, it will act as menu button. Upvote 0
Daniel-White Active Member Licensed User Longtime User Sep 14, 2016 #5 susu said: In my LG (and many) phones, when you hold recent button for a while, it will act as menu button. Click to expand... Hhahahaha LOL, you are 100% right. , I feel something stupid but happy . Thanks you Indeed susu. That worked. Upvote 0
susu said: In my LG (and many) phones, when you hold recent button for a while, it will act as menu button. Click to expand... Hhahahaha LOL, you are 100% right. , I feel something stupid but happy . Thanks you Indeed susu. That worked.