Problems with start a Map Activity from other Activity

by Carlos Moreira » Wed, 14 Apr 2010 03:03:42 GMT

Sponsored Links
 Hello every one!

It's my first time mailing for a solution, I hope find the solution
for this...

Any way, I am developing an aplication. This one is designed to login
a user, then select how find a place, using simple data or using a
map. When I try to set in the event OnClick for select the "Map
way" (using intent):

startActivity(new Intent(getApplicationContext(),

I have problems and didn't work.

My class and manifest are:

public class MapviewController extends MapActivity {

        public void onCreate(Bundle savedInstanceState) {

            //Definicin del mapa a usar en la vista
            MapView mapView = (MapView) findViewById(;


<application android:label="@string/app_name" android:icon="@drawable/
        <activity android:name=".LoginController"
                <action android:name="android.intent.action.MAIN" />
android:name="android.intent.category.LAUNCHER" />
                <activity android:name=".ElegirARMapsController"

        <activity android:name=".MapviewController"
                <action android:name="android.intent.action.VIEW" />
android:name="android.intent.category.DEFAULT" />


Do you know any way to call the MapActivity from other?

Thx a lot for read this and trying to help me.

PD:Sry for my English!

Carlos J. Moreira Muoz


Other Threads

1. Is a NetworkInterface mapped to a NetworkInfo (type)?

Hi all,

Is there any mapping among Network Types and Network Interfaces?
I mean, is it possible to found out whether a Network Interface is related
to MOBILE or WIFI network type, for example?


Tasa Cristina Costa dos Santos
Computer Engineer
Brazil, SP
55 19 8152-7453


2. List All files in the directory

Hi All,

Can any one tell me which is the best way to access the file system in
android device, also i want to list all the files in the application
directory. Please give me your comments.

Thanks in Advance,
Muthu Kumar K.

3. How to run android from NAND memory for TI OMAP platform

4. R.drawable.list_selector_background doesn't yield in orange

5. Can not change the text appears in AlertDialog

6. Creating window on Android using C++

7. amr codec only output zero data.