Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - Is there a way to pass values only using Intent without jumping to other activities?
Is there a way to pass values only using Intent without jumping to other activities?
If you write your own program, in several activities, if you want to establish a relationship, you can pass values, or you can use static directly for convenience, or you can use static stack to solve problems.

Intention was originally used as a transfer between activities of different packages.

For example, I open a video file in ES file manager, and then jump to mobo player with my intention to play it, or fast broadcast, pptv, etc.

The intention is to solve the problem of calling other programs' activities, services and broadcasts.

I wrote it myself, and I can write both codes myself. There is no need to use the intention mechanism.