xXJJJasonMokXx
xXJJJasonMokXx

Reputation: 367

android: sending intent via intent

I have one

Intent launchIntent = packageManagerForListener.getLaunchIntentForPackage(packagesForAdapter[position].name);

My question is how can I send this intent in an intent to another service class?

Upvotes: 1

Views: 71

Answers (1)

Sam
Sam

Reputation: 1662

You can use this method with Intent as second parameter. Intent implements Parcalable, so that should work. To get it back you just use this method & cast to Intent.

Upvotes: 1

Related Questions