Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return to Previous App in Google Now Launcher #49

Open
niieani opened this issue May 29, 2015 · 2 comments
Open

Return to Previous App in Google Now Launcher #49

niieani opened this issue May 29, 2015 · 2 comments

Comments

@niieani
Copy link

niieani commented May 29, 2015

Hi @RSenApps, amazing work on the app so far.
I was wondering - what is the technical challenge to get Return to Previous App working in Google Now Launcher? It's really the only thing I'm missing from the app right now, and can be quite annoying when using voice commands while driving (I need to reach back to the phone to switch the app).

@RSenApps
Copy link
Owner

RSenApps commented Jun 3, 2015

The reason it doesn't work for GNL is that the way I achieve this is by simulating the back button press to exit to the previous app. Unfortunately this is not possible when Google Now is also the homescreen. I experimented with using usage task history to guess what the previous app was, but it was far too inaccurate and ended up just confusing users who were unsure why a random app was opening. Of course something like return to a specified previous app is 100% possible and could be implemented so I'll leave this issue open, but please edit the issue to reflect this.

@niieani
Copy link
Author

niieani commented Jun 3, 2015

What if there were a minimal footprint service that tracks the current
foreground application, while ignoring only GNL (possibly a customizable
ignore-list). Then it would be as simple as foregrounding last app
registered by the service. What do you think?

On Wed, Jun 3, 2015, 05:21 Ryan Senanayake notifications@github.com wrote:

The reason it doesn't work for GNL is that the way I achieve this is by
simulating the back button press to exit to the previous app. Unfortunately
this is not possible when Google Now is also the homescreen. I experimented
with using usage task history to guess what the previous app was, but it
was far too inaccurate and ended up just confusing users who were unsure
why a random app was opening. Of course something like return to a
specified previous app is 100% possible and could be implemented so I'll
leave this issue open, but please edit the issue to reflect this.


Reply to this email directly or view it on GitHub
#49 (comment)
.

Bazyli

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants