views:

5

answers:

0

Hi

i have a button, and i want that when i click on it a new window appear.

The class for the new windows is HelloGoogleMaps.java

i add the class to manifest, and the class extends MapActivity

i make the intent in the main class with this: Intent i = new Intent (this, HelloGoogleMaps.class);

but an error appears: The constructor Intent(new View.OnClickListener(){}, Class) is undefined prueba1.java /prueba1/src/com/prueba1 line 59 Java Problem