For force close, there could be two reasons.

1. Your application logic might depends on the data you get from the
webserver, there you might be doing a parsing with the Null or incorrect
data which is causing the force close.

2. While handling the HTTP Connections, make sure you also handle the
timeout and show a valid message to the user rather then FORCE CLOSE.



On Tue, Dec 3, 2013 at 10:38 AM, sree android
<[email protected]>wrote:

> Hi friends,
> some times i am faceing a problum.That is when i am getting data from
> server using web services ,some times my app is force closed due to low
> internet peers(Low internet signals).how can i handle this problum and how
> can i avoid app force close problum.
>
> when my app app is force close at that time alert will display,when i
> press that alert i will navigate to home screen.
>
>
> thank you in advance.
>
> --
> 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
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Warm Regards,
*Mukesh Kumar*,
Android Consultant/Freelancer,
India,Hyderabad.

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to