I created several Activities in one package, and registered these
Activities in manifest.xml file. Other Activities have been working
well. But only one Activity PlaceMappingActivity which has the
com.google.android.maps.MapView layout has been working failed. I
think I already folloowed the general rules in my codes and without
error marks on project items and in this Activity class page. The
problem details are as following description.

I make an Intent call from one Activity PlaceListActivity to another
Activity PlaceMappingActivity. The DDMS Debug error displayed as
following:

10-15 11:03:44.834: WARN/dalvikvm(364): Unable to resolve superclass
of Lcom/JWScientech/FavoritePlaces/PlaceMappingActivity; (70)
10-15 11:03:44.834: WARN/dalvikvm(364): Link of class 'Lcom/
JWScientech/FavoritePlaces/PlaceMappingActivity;' failed
10-15 11:03:44.853: ERROR/dalvikvm(364): Could not find class
'com.JWScientech.FavoritePlaces.PlaceMappingActivity', referenced
from
method
com.JWScientech.FavoritePlaces.PlaceListActivity.createMap
10-15 11:03:44.853: WARN/dalvikvm(364): VFY: unable to resolve const-
class 57 (Lcom/JWScientech/FavoritePlaces/PlaceMappingActivity;)
in       Lcom/JWScientech/FavoritePlaces/PlaceListActivity;


The debug break point stoped at Intent call code:
Intent i = new Intent(this, PlaceMappingActivity.class);


The method createMap() in PlaceListActivity is as following:


private void createMap() {


     Intent i = new Intent(this, PlaceMappingActivity.class);
     startActivity(i);



}


It is intesting that when I put PlaceMappingActivity class as
application main Activity in Manifest.xml, The PlaceMappingActivity
class is working well. I don't know what's wrong in my codes.

Thanks


Jimmy



-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to