Reputation: 314
I have an Activity A
User clicks on a button in Activity A, it starts Activity B
in library
The user interacts with Activity B in library and on clicking a Linkedin login button in it,
how to pass control to Activity A so it can do the login related logic and then return to Activity B.
Upvotes: 0
Views: 82
Reputation: 9117
i assume that.. Activity A -> Activity B, then click Login -> Activity A..
all you need to do is.. use LinkedIn Callback method after registration. inside that method, Intent to Activity A..
Upvotes: 1
Reputation: 1139
I don't know what the library is, but I presume that it should return some result. Try with startActivityForResult
method inside Activity A
.
For more details please read Getting result from an Activity
Upvotes: 0