The former exercise show how to " play MIDI audio using MediaPlayer ". MediaPlayer can play video file also. This exercise show h...
Read More
Home » Archive for November 2010
Play foreground and background music using SoundPool and MediaPlayer
Merge the previous exercises " A simple exercise to play MIDI audio using MediaPlayer " and " Play audio resources using Soun...
Read More
Play audio resources using SoundPool
The SoundPool class manages and plays audio resources for applications. A SoundPool is a collection of samples that can be loaded into memo...
Read More
A simple exercise to play MIDI audio using MediaPlayer
MediaPlayer class can be used to control playback of audio/video files and streams. Put a MIDI file into the res/raw folder of your project...
Read More

Android Market introduce Content Rating
Starting in a few weeks, Android Market will be showing content ratings for all applications. This new capability will provide users with ad...
Read More
ProgressBar running in AsyncTask
It's a exercise of a Horizontal ProgressBar which running in a background AsyncTask. Modify main.xml to have a button to start the progr...
Read More

Recent changes to Android Market that require developers' attention
First, Google have added support for a recent changes feature, which allows developers to add notes about changes specific to the newest ver...
Read More
onPostExecute() of AsyncTask
In my old exercise " AsyncTask: perform background operations and publish results on the UI thread ", doInBackground() is a infini...
Read More
Example of using Color Resource
Color XML resource that carries a color value (a hexadecimal color). The value always begins with a pound (#) character and then followed b...
Read More
String Resources
A string resource provides text strings for your application with optional text styling and formatting. There are three types of resources ...
Read More
SensorSimulator: simulate sensor on Android emulator.
The OpenIntents SensorSimulator lets you simulate sensor data with the mouse in real time. It currently supports accelerometer, compass,...
Read More
AndroidManifest.xml for Motorola's QVGA-based CHARM and FLIPOUT
Did you know that Motorola has announced several QVGA-based mass market devices? The Motorola CHARM and FLIPOUT, announced in the last few ...
Read More
startActivity() with action Intent.ACTION_VIEW
When call startActivity() with action Intent.ACTION_VIEW, the system will start an activity to display the data to the user. ACTION_VIEW is ...
Read More

Perform stress-test on your applications using Monkey, a UI/Application Exerciser.
The Monkey is a program that runs on your emulator or device and generates pseudo-random streams of user events such as clicks, touches, or ...
Read More
Subscribe to:
Comments (Atom)