Remark: I have a exercise " Display Gallery selected image using BitmapFactory " before. The original idea is to select image usin...
Read More
Home » Archive for July 2012
Implement Android Gallery widget
Please note: android.widget.Gallery is no longer supported. Other horizontally scrolling widgets include HorizontalScrollView and ViewPage...
Read More
Android Accessory Development Kit (ADK) for 2012
The Android Accessory Development Kit (ADK) for 2012 is the latest reference implementation of an Android Open Accessory device, designed...
Read More
Sort directory/file in order of lastModified time
Last exercise describe how to Sort directory/file in alphabetical order ignore case . To Sort directory/file in order of lastModified time, ...
Read More
Sort directory/file in alphabetical order ignore case
Last exercise of " File Explorer " list file/directory without order. We can implement Comparator<? super File> to sort the ...
Read More
Example of File Explorer in Android
I have a exercise of " Implement a simple File Explorer in Android " long time ago. As I gain more understanding on Android, I wan...
Read More
PreferenceFragment with ListPreference
Last post describe a simple example of PreferenceFragment with CheckBoxPreference and EditTextPreference . ListPreference will be added on t...
Read More
Example of using PreferenceFragment
In my old post " Preferences and SharedPreferences " describe how to implement PreferenceActivity calling deprecated addPreference...
Read More
Enable Hardware Acceleration using Java code
To enable Hardware Acceleration programmatically using Java code, call the following code with FLAG_HARDWARE_ACCELERATED : getWindow().setFl...
Read More
Enable Hardware Acceleration for Android 3.0 or later devices
Android 3.0 (Honeycomb) introduced Hardware Acceleration. To enable Hardware Acceleration for your app, edit AndroidManifest.xml to insert t...
Read More
RSS feed reader run in AsyncTask
It's a long long exercise . Refer to the previous exercise " A simple RSS reader IV, start browser to open the selected feed "...
Read More
Pre-announce - New YouTube Android Player Tools@Google I/O 2012
If you are building Android smartphone, tablet or Google TV applications and want to incorporate high-quality YouTube video playback in your...
Read More
Android Apps in Google Play - Google I/O 2012
Google Play is growing faster than ever. In this talk, we'll share insights about Google Play's momentum, the most successful Google...
Read More
Create button with round background
To create button with round background, create /res/drawable/roundbackground.xml to define round background drawable. <?xml version=...
Read More

Creating alias resources
When you have a resource that you'd like to use for more than one device configuration (but do not want to provide as a default resource...
Read More
Providing Alternative Resources
App developers can provide alternative resources to support specific device configurations. For instance, you should include alternative dra...
Read More
10.9% of Android devices running Ice Cream Sandwich
According to the updated distribution data from Android Developers Site, there are 10.9% of Android devices running Ice Cream Sandwich (Andr...
Read More
Life cycle of MasterDetailFlow HelloWorld
In my previous post Life cycle of Fragment experience to know Lifecycle of simple Fragment. After that, Google released Android SDK Android...
Read More
Error: The method onItemSelected(String) of type ItemListActivity must override a superclass method
It MAY BE happen if you new a project using the new Android SDK Revision 20: Eclipse complain with errors of: - The method onItemSelected(St...
Read More
Subscribe to:
Comments (Atom)