Reputation: 2019
I have Tabview and I want do send data from one to another. Eatch is represent by it´s own activity. I use this to send String[] array to another activity, but i want to stay in first activity. How to?
Bundle b=new Bundle();
b.putStringArray("key", arr);
Intent intent=new Intent(this, ActivityTo.class);
intent.putExtras(b);
This:
intent.putExtras(b);
Starts new activity. Is posibble to start activity on backround or someting like that so I can stay in my first activity?
Upvotes: 2
Views: 144
Reputation: 41510
You can use the methods described in the Android Application FAQ. But I think that there's something not right with your design because generally one activity shouldn't depend directly on the instance of another activity.
Upvotes: 3