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 do I archive bug report output

I am trying to submit a bug report via this link [http://
code.google.com/p/android/issues/entry?template=Developer%20bug
%20report] to the New Issue reporting form. The instructions conclude
with the request to run the adb bugreport and archive the output -
which, I presume, is to be included as an attached file to the
submission.

Can anyone instruct me how I "archive the output" from the adb program
to some accessible folder. [I know how to run the program.]

Thanks,
gssi

-- 

2. how to install the .apt in emulator in ubuntu

Hi All,

I have .apk, that is working fine in Window (I install the .apt in windows
through adb install myApk.apk), but how to install the .apk in ubuntu
emulator.
when I'm trying to use adb install or /.adb install my.apk . and adb shell
... etc getting error as

hima@hima-laptop:~/Desktop/Rakesh/android-sdk-linux_x86/tools$ adb shell
No command 'adb' found, did you mean:
 Command 'cdb' from package 'tinycdb' (main)
 Command 'gdb' from package 'gdb' (main)
 Command 'aub' from package 'aub' (universe)
 Command 'dab' from package 'bsdgames' (universe)
 Command 'zdb' from package 'zfs-fuse' (universe)
 Command 'mdb' from package 'mono-de{*filter*}' (universe)
 Command 'tdb' from package 'tads2-dev' (multiverse)
 Command 'pdb' from package 'python' (main)
 Command 'jdb' from package 'openjdk-6-jdk' (main)
 Command 'ab' from package 'apache2-utils' (main)
adb: command not found
hima@hima-laptop:~/Desktop/Rakesh/android-sdk-linux_x86/tools$

hima@hima-laptop:~/Desktop/Rakesh/android-sdk-linux_x86/tools$ adb install
RestaurantPOS.apk
No command 'adb' found, did you mean:
 Command 'cdb' from package 'tinycdb' (main)
 Command 'gdb' from package 'gdb' (main)
 Command 'aub' from package 'aub' (universe)
 Command 'dab' from package 'bsdgames' (universe)
 Command 'zdb' from package 'zfs-fuse' (universe)
 Command 'mdb' from package 'mono-de{*filter*}' (universe)
 Command 'tdb' from package 'tads2-dev' (multiverse)
 Command 'pdb' from package 'python' (main)
 Command 'jdb' from package 'openjdk-6-jdk' (main)
 Command 'ab' from package 'apache2-utils' (main)
adb: command not found
hima@hima-laptop:~/Desktop/Rakesh/android-sdk-linux_x86/tools$ ^C

I'm getting error, please help me..

-- 
Thanks & Regards

Rakesh Kumar Jha

-- 

3. Back Trace in Android

4. Game Development in Android

5. Setting Tv Out di galaxy tab

6. about creating tables

7. Androit jayapura