android - Return back to the parent activity from subactivity -
My app supports twitter and ohth requires to open the browser. When a user clicks on a stock on Twitter, the main activity creates another sub-activity (Twitter Activity) to handle Twitter certification issues.
Here is a flow graph that shows how activities are currently implemented, MainActivity is the main and tweet for Twitter.
startActivity () OAuth Int'l Callback Finish () Men --------------- & gt; Tweet ------------ & gt; Browser -------------- & gt; Twit -------- & gt; Browser
As you can see, to stop () after the TwitterActivity call ends, it will now return to main activity, but the browser instead. How can I return it to main activity? Thank you very much
Try setting the attribute for the browser's activity in the manifest.
Comments
Post a Comment