I am developing a web app using sencha framework. I need to send some data from my web app to a native android app. Is there any way to do this ? Can we initiate a broadcast from webapp, so that native android app can listen to it ?
Please let me know.
Thanks.
What you want to do is to start another application and send data to that app this is called deep-linking.
Here is a Cordova/PhoneGap plugin for doing so: https://github.com/code4jhon/LaunchMyApp-PhoneGap-Plugin
So lets say you have ToDoApp and you want to click a button and open lets say another ST app with the list of to-do tasks of ToDoApp this plugin allow you to do this. (This also applies to open native Android App (you actually start an Activity through the plugin (happy researching)))
So if you have not added Cordova or Phonegap to your ST app it is time, look at this:
Regards
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.