Recently I had quite some issues with sending data via POST to a webservice from an Android app.
Category: Coding
Setup Dagger with Eclipse
The dependency injection library Dagger by Square setup for using it with Eclipse is a bit different when not using Maven.
StringEntity Doesn't Play by the Rules of Android
So here is the situation: you build up some JSON objects and pop them into a StringEntity so your HTTPClient can send the stuff to server. We know on Android, the default charset is UTF-8 and use that knowledge through out the whole application, not considering that this fact might change in some places. But it does!… Continue reading StringEntity Doesn't Play by the Rules of Android
stopManagingCursor
When you get exceptions like the following after ActivityB resumes to ActivityA java.lang.IllegalStateException this should only be called when the cursor is valid You might want to call stopManagingCursor in onResume()