

The screen turns off and doesn't respond to any buttons. It runs fine on all phones, but when I try to uninstall the application on Galaxy Mini the phone shows uninstalling screen with progress bar then freezes. I have tested on three different phones Nexus S, Samsung Galaxy S II (I9100) and Samsung Galaxy Mini (S5570). In both previous and current version I'm using threads to do Bluetooth file transfer and there are a few AsyncTasks which does database read/write and sending emails. I'm using two databases, both of the similar size. The table isn't that large and only has about 5 rows max, but there are about 5 or 6 columns. After the version change, I'm using sqlite database to store some of my data. This problem never happened in the previous versions so I'm suspecting that something I changed is causing this.

I have been producing numerous alpha versions and recently did a major change in the code and have experienced the freezing problem when trying to uninstall the application. I have not had much experience with android application development and this is my first application. I'm developing an android application which uses background service.
