Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to handle fatal exception,activity not found?

 
Suzzane Pinto
Ranch Hand
Posts: 214
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
iam trying to call another activity using following code

added activity into the manifest also


still logcat says:


please suggest something because the app force close on click of button

thanks in advance

 
Tim Moores
Bartender
Posts: 2789
38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you compare the manifest and the error message closely, the problem should become clear.
 
Suzzane Pinto
Ranch Hand
Posts: 214
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes i understud that it is unable to call the activity...but not getting how to resolve

please help
 
Tim Moores
Bartender
Posts: 2789
38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to look at the error message much more closely than that ... every character counts
 
Suzzane Pinto
Ranch Hand
Posts: 214
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
but i have mentioned the activity in the manifest file..can i know what it could be?
 
Tim Moores
Bartender
Posts: 2789
38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Software development is all about paying attention to detail; it seems that you did not read the error message closely. As I said: every character counts.
 
Suzzane Pinto
Ranch Hand
Posts: 214
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i got it...
 
Haridas Reghunathan
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Suzzane
Im getting the same error can ├Żou help me with the same please.
how you rectified it?
 
Tim Moores
Bartender
Posts: 2789
38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
She solved it by paying attention to the details of the error message :-) The solution is likely to be similar to your case.
 
Haridas Reghunathan
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mr you please pay a very close attention to the 1st line of ma Query "Hi Suzzane"
 
Haridas Reghunathan
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found the answer i included the in the manifest.xml BUTbelow the </application> tag.
included the inside
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Haridas Reghunathan wrote:Hi Mr you please pay a very close attention to the 1st line of ma Query "Hi Suzzane"

Hi Haridas and Welcome to the Ranch!

JavaRanch is a friendly place for people around the world and the way you addressed Tim is unacceptable here. Tim was trying to help you and he is real treasure here.
Lets keep a positive and respectful attitude.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic