Yes, PlaceListActivity and PlaceMappingActivity are created in one package and all the Activities are registered in manifest.xml file. These general rules are followed certainly.
On Oct 15, 7:32 pm, 王福健 <[email protected]> wrote: > Lcom/JWScientech/FavoritePlaces/PlaceListActivity; > > PlaceListActivity isn't found. so you should make sure the PlaceListActivity > and PlaceListActivity are in the same package. > > hope it can help you. > > 2011/10/15 Jimmy <[email protected]> > > > > > Dear Sir > > > 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 Discuss" 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-discuss?hl=en.- Hide quoted text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "Android Discuss" 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-discuss?hl=en.
