View Full Version : App crashes If user plugs unplugs the charging cable while user is on the screen.

05-17-2011, 02:30 AM
Hi ,

I am working on android application.I installed it on my i phone.All is working fine except when I plugs/unplugs the charging cable.This application is also hang on and stop to work when I get phone call in between using this application.

Please give your assistance if is there any solution to avoid this problem.


05-17-2011, 05:16 AM
Perhaps the app is relying on the data connection and when a call comes in it will drop the data if on a 3g cdma connection. Also moving this to a better section for you.

05-19-2011, 06:51 AM
You need to post code, specifically any Broadcast Receivers you have and the stack trace for the error message.