How to use intent between tabs in java/Android?

Posted by Praveen Chandrasekaran on Stack Overflow See other posts from Stack Overflow or by Praveen Chandrasekaran
Published on 2010-06-15T15:01:15Z Indexed on 2010/06/15 20:12 UTC
Read the original article Hit count: 194

Filed under:
|
|

I would need to know how to handle the intent between tabs. For example, I have a tab activity with two tabs. First on content is a text view. another one is a map view. When i click that text view it redirects to the tab2. it can be easily achieved by setCurrentTab(1) or setCurrentTabByTag("tab2") methods. But i want to pass lat and long values to that Map Activity to drop pin. What is the better way to use intents or getter/setter in java? What do you prefer? if your answer is "Intents". How?

© Stack Overflow or respective owner

Related posts about java

Related posts about android