Using intent.getStringExtra from inside an action

I am relatively new to Android. I have two applications A and B. I have activity in A, let's call it x, which will launch application B. Now the intent sent by x contains StringExtra, which I want to use to run in B. Is there a way for activity in B do it?

Thanks!

+4
source share
2 answers

In action B:

getIntent().getStringExtra("KEY"); 
+3
source

Source: https://habr.com/ru/post/1311124/


All Articles