Monthly Archives: June 2010

Syncing cookies between an HttpClient and a WebView

Hey all, Today I would like to show how to share cookies between an HttpClient and a WebView. This is necessary when your application use an HttpClient to make POST/GET calls, and then opens a WebView to a webpage that … Continue reading

Posted in Android | Tagged , , , | 19 Comments

ListView items using a Layout defined in XML

To customize the View that an item in a ListView uses (we might want a list item to be organized in some view hierarchy) , an easy approach is to implement a ListActivity, then extend BaseAdapter and call setListAdapter() on … Continue reading

Posted in Android | Tagged , , , , | Leave a comment

The Singleton Design Pattern

Often in object-oriented programming, we run into situations where we need to have a single instance of an object that can be globally accessed from the whole application. For example, if we needed to use an HTTP client for our … Continue reading

Posted in Programming | Leave a comment

First post

Hey all. This is where I’m going to post about all the interesting things I come across. We learn more by explaining to others, so hopefully this will further my own understanding too. Enjoy!

Posted in Reflection | 1 Comment