@kjhnice77 wrote:
How can I get the value sent by Android from ionic3 as below?
I know a module called web intent, but it doesn’t work, there are no examples at all, and I can’t figure out how to do it.
Could you tell me the details?
This is an intent sent from Android. I want to receive this from ionic3.
ComponentName test = new ComponentName(‘com.test.program’, ‘com.mainactivity’);
Intent intent = new Intent(Intent.ACTION_MAIN);
intent.addCategory(Intent.CATEGORY_LAUNCHER);
intent.putExtra(“test1”, 1234);
intent.putExtra(“test2”, 5678 );
intentsetComponent(test);
startActivity(intent);please help me!
Posts: 1
Participants: 1