i want to make an android app running in background that receives a string from my bash script
the app uses the string to show a toast with a text
but i dont know how to send the string to the app and neither how to recive the string
help please
i want to make an android app running in background that receives a string
Share
You could use
Intentviaamand send them to your service. This would look like:And your service might look like:
And add next entry to
AndroidManifest.xml: