Re: [android-developers] App Crash during HTTP Post

2011-08-17 Thread Mark Murphy
On Wed, Aug 17, 2011 at 7:00 AM, perumal316  wrote:
> I noticed that during HTTP Post of files to a backend server if the
> connection is not established (no reception) or the file size is too
> big (>10MB) my application crashes.
>
> Is there any way to solve this issue? How do I handle for such errors?

Use adb logcat, DDMS, or the DDMS perspective in Eclipse to examine
LogCat and look at the stack trace associated with your crash.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to *Advanced* Android Development_ Version 2.0
Available!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] App Crash during HTTP Post

2011-08-17 Thread lbendlin
also, implement reachability code, perform the transfer in the background in 
small chunks, and let the server confirm each chunk (via MD5 etc), with 
retransmission if they don't match

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en