Answer the question
In order to leave comments, you need to log in
How to write a service that would issue a message to the phone and receive a response to it?
I ask you not to kick for the title, but I could not formulate the task in one sentence.
I will write a service that provides some information and makes some decisions. But sometimes he cannot make decisions himself and you need to somehow send a request to my phone (Android) so that I give him an answer as soon as possible. For example:
"Dude, there is a football ticket for 10 bucks. Take it?
Answer options:
1) Yes, take it
2) No, don't take it
3) Go to a web page with a detailed description of the offer The
question is how to organize interaction with Android? My thoughts:
1) Write your apk for android, which communicates with my service. In fact, this option is the last one, because I don’t know how to write for Android and in the end it will sound like “Hire someone to write an app”
2) Pushbullet - I didn’t figure out if it was possible to make feedback in it. Actually, I just need a PushBullet that would display buttons for feedback
3) Write a bot for Slack or Telegram. Here, when you receive a message in the notification bar, you still have to go to the messenger and write something with your hands. Again, there will be no “Yes, take it” button.
As a result, you need to send a message to Android with two answer options, show it to the user in some annoying way, so that the user can immediately select an answer option in this message and send the answer to the server.
Answer the question
In order to leave comments, you need to log in
3) Write a bot for Slack or Telegram. Here, when you receive a message in the notification bar, you still have to go to the messenger and write something with your hands. Again, there will be no "Yes, take it" button
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question