in android I want to pass data (4-5 strings) in a secure way (so broadcast is not an option) from another app to my app, so only my app could read that inforrmation.
what I need is somehow like the android notification – all apps can post notifications but only android (and the app that post it) can read that notification.
how can I do it? which method is the simplest to do it?
thanks in advance.
i used service for that
in that way the other apps can send the data direcly to the service