How can MapActivity obtain data

by Michel » Wed, 15 Apr 2009 02:05:52 GMT


Sponsored Links
 He guys
I have a question, I'm using a TabHost with 3 tabs
1)First view class with textbox and variable
2)Second view class with textbox and variable
3)I launch mapActivity like this for view google map:
Intent startMap = new Intent(this, MyMapView.class);

mTabHost.addTab(mTabHost.newTabSpec("tab_test2").setIndicator
("MAP").setContent(new Intent(this, MyMapView.class)));

And works for now,
Now i want know how mapActivity can obtain data from first e second
class.
I'm new in Android and I want know the best choose
With normal Java i will create in mapActivity two variable referance
to first and second class:
FirstClass first
SecondClass second

But after i can use the intent...
thanks all of you.
Michel

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. How can my view access mScrollX and mScrollY in computeScroll method?

Use scrollTo()/scrollBy() :)







>> > 

2. AudioTrack::start called from thread

I am getting the 'AudioTrack::start called from thread' when starting
an AudioTrack. I am using it in a thread.  I asume I shouldn't but
why? I see it as a major limitation.

-- 

3. Architecture question

4. eclair V4L2 camera problem

5. Where are the HTC dev phone 1 image package links?

6. How to exclude com.android.internal.R from my apk

7. inputStream.read problem