posted 9 years ago
Hi,
My app has an action bar with tabs with 3 fragments (1-list fragment with the list of running processes, 2-battery and memory info, 3-just some text). It works fine, with no errors on the emulator, but on a real device it starts ok, I go through the tabs several times(I left the phone to go into sleep mode and back and the app still worked) and then it unexpectedly force closes. My phone isn't seen among the adb devices, so I don't know if there are any errors in the logcat(the one in eclipse).
I installed a LogCat app to my phone and I think these are the errors, but I'm not sure they are related to my app, because I've uninstalled the app several hours ago and the errors occured just now according to the timestamps:
Please help me!!!
So, I finally managed to make my phone visible and here are the errors
and the code for the class Battery