Use logcat to see what the exception is. The catch it and handle it
appropriately.

On Nov 3, 5:07 am, Honest <[email protected]> wrote:
> Generally the exception comes when http connection is running and
> suddenly wifi goes off then it gave exception. This is real time
> problem so we can not control wife connectivity. So is there any
> solution of it.
>
> On Oct 31, 4:43 pm, Mark Murphy <[email protected]> wrote:
>
> > Honest wrote:
> > > My application used to execute in background by service. But sometimes
> > > when it goes in exception it is giving Exception with the Force Close
> > > Message Box. I want to avoid that Message box. Is there any way to
> > > avoid it ?
>
> > Figure out what the exception is (look at adb logcat, DDMS, or the DDMS
> > perspective in Eclipse to find the Java stack trace). Then, don't cause
> > that exception.
>
> > --
> > Mark Murphy (a Commons 
> > Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> > _Beginning Android_ from Apress Now Available!

-- 
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