App integration with google now

1.6k views Asked by At

I'm developing an android app. The app starts a background service for user monitoring and it has the possibility to start the service via main activity or via widget and it works great. I'd like to have a little integration with google now to start the service. Now I can only open the app via google now, but I want to start/stop the service instead (via google now). How can I do?

1

There are 1 answers

1
Sush On

update

i think you cannot do that. u should build one more app which intern runs ur service. Google might be looking directly for launcher intent and opening your app. Google service wont even come to know or understand that you have some service that needs to be run.