Bean life cycle in spring
This example gives you an idea on how to Initialize bean in the program and also explains the lifecycle of bean in spring. Run the given bean example to retrieves the values of the bean using java...
View ArticleA simple ListView, extends ListActivity
It’s the simplest form of ListView, extends ListActivity. The list is displayed as a single line of plain text, using the simple Android built-in layout “android.R.layout.simple_list_item_1”. package...
View ArticleListView, with icon
ListView in simplest form with plain text only. This exercise describe how to add a icon in ListView. create a new file in /res/layout/row.xml, to setup our layout on each row. <?xml version="1.0"...
View ArticleImplement a simple File Explorer in Android
– First of all, as a user app, I think it should not access the root “/” directly. So I assign root to Environment.getExternalStorageDirectory(), it’s the Android external storage directory. –...
View Article