CUTR-at-USF / OpenTripPlanner-for-Android

An Android app for multi-modal trip planning and navigation using any OpenTripPlanner server.
Other
130 stars 91 forks source link

Can't access menu on Nexus 9 with Android 6.0 #476

Open kalon33 opened 8 years ago

kalon33 commented 8 years ago

Using android M preview, it is not possible to access the menu anymore, as menu softkey is not available.

That makes the app a lot less usable.

barbeau commented 8 years ago

Try pressing and holding the Multitasking button (next to Home). I haven't tried this on M preview but it works on earlier Android versions.

Either way, we should provide a better way to get to the menu. On Aug 24, 2015 6:31 AM, "Nicolas Derive" notifications@github.com wrote:

Using android M preview, it is not possible to access the menu anymore, as menu softkey is not available.

That makes the app a lot less usable.

— Reply to this email directly or view it on GitHub https://github.com/CUTR-at-USF/OpenTripPlanner-for-Android/issues/476.

kalon33 commented 8 years ago

It doesn't seem to work on M. I have a second vibration when doing this, but nothing happen on release, apart the list of current apps.

barbeau commented 8 years ago

Yikes, that's not good. Strange that they would break backwards capability for apps that haven't updated to the M SDK yet. Is this on a Nexus 5?

barbeau commented 8 years ago

And which M preview / build version?

kalon33 commented 8 years ago

It is on a Nexus 9 (tablet) with the third (latest) M preview.

kalon33 commented 8 years ago

After upgrading to Android 6.0 final, I have the same problem.

barbeau commented 8 years ago

Ouch. We'll definitely need to fix this and find another way for the user to open the menu.

@vreixo were you working on some design ideas for moving the settings at some point? Any thoughts?

barbeau commented 8 years ago

@kalon33 Can you try long pressing the back button and see if that brings up the menu? Apparently that's the solution on Note 5 (not Marshmallow): http://forums.androidcentral.com/samsung-galaxy-note-5/569132-note-5-menu-button.html

kalon33 commented 8 years ago

@barbeau I just tried it on my Nexus 9, but that doesn't trigger anything else than the default back button action.

----- Mail d'origine ----- De: Sean Barbeau notifications@github.com À: CUTR-at-USF/OpenTripPlanner-for-Android OpenTripPlanner-for-Android@noreply.github.com Cc: Nicolas Derive kalon33@ubuntu.com Envoyé: Wed, 21 Oct 2015 04:21:55 +0200 (CEST) Objet: Re: [OpenTripPlanner-for-Android] Can't access menu on devices without Menu key for M Preview 3 (#476)

@kalon33 Can you try long pressing the back button and see if that brings up the menu? Apparently that's the solution on Note 5 (not Marshmallow): http://forums.androidcentral.com/samsung-galaxy-note-5/569132-note-5-menu-button.html


Reply to this email directly or view it on GitHub: https://github.com/CUTR-at-USF/OpenTripPlanner-for-Android/issues/476#issuecomment-149760531

barbeau commented 8 years ago

@kalon33 Finally had a chance to look at this closer - when I fire up an emulator with a Nexus 5 profile with Android 6.0, I do see a compatibility mode "3 dots" menu indicator in the bottom right corner of the screen, next to the "multitasking" button. If I tap on that, I can open the menu:

image

Do you see this on your Nexus 9?

kalon33 commented 8 years ago

@barbeau no, unfortunately not...

kalon33 commented 8 years ago

tmp_27971-screenshot_20151117-144908849507548

barbeau commented 8 years ago

@kalon33 Strange - do you see the same thing if you change the orientation?

kalon33 commented 8 years ago

Yes, unfortunately... tmp_27971-screenshot_20151117-164411-297520466

barbeau commented 8 years ago

That's bizarre. Maybe it's something with layouts and compatibility modes for large screen devices.

At any rate, we can probably just stick a "Settings" entry at the bottom of the left sliding panel - that would be a reasonable solution for devices that don't have the compatibility mode menu button.

kalon33 commented 8 years ago

@barbeau sure, I think that would be a good solution.

OffTopic questions: Is this still possible to add OTP servers to the app? Do you have an idea on how to fix geocoding problem #396 ?

Thanks :)

barbeau commented 8 years ago

@kalon33 Yes, still possible to add servers to the app - just send me the server info. Haven't had a chance to look at issue at bottom of #396 yet.

kalon33 commented 8 years ago

@barbeau I sent you these infos in a mail a few hours ago :) thanks for working on fixing that menu issue :)

barbeau commented 8 years ago

I confirmed that the "3 dots" compatibility menu does show up on a real Nexus 5 device with Android 6.0 also. So, this problem must be unique to Nexus 9.