App crashes If user plugs unplugs the charging cable while user is on the screen.
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 01:30 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.
You need to post code, specifically any Broadcast Receivers you have and the stack trace for the error message.