In my app in android a have many classes and I want to order them in differents packets. The problems is that if I have in the packet “com.List” the class List.class and in the packet “com.List.Fruit” the class “Fruit.class” and I try an intent from List.class to Fruit.class I get “Force Close”. What should I do? Where is my mistake? I mention that in AndroidManifest I put both of activitys. Any idea is welcome. Thank you.
Share
You should use either full package name Like List.class.ClassName or include that package in class.