Om Chant – Android Application

In this post, I am going to discuss about how to create ‘Om Chant’ application. Let me give you an overview of ‘Om Chant’ application:

Om Chant – Android Application

  1. The Om Chant application chants the universal mantra – ‘Om‘ continuously. Om is one of the most powerful mantra which brings inner peace to whoever listens to it.
  2. Application chants Om continuously once you press play button.
  3. One can stop playing it by pressing pause button.
Read More

Android Mediaplayer Example – Play from Internet

In this post, we are going to discuss about how to play a music file(MP3) present over the internet. Android provides extensive support for playing music and it has dedicated a class called MediaPlayer which has all the necessary methods to play, pause, stop and do more with a MP3 file.

With the help of Android MediaPlayer framework we can play audio from media files stored in/as:

  1. Application’s resources (raw resources) [ Android Mediaplayer Example – Play from local resource ]
  2. Standalone files in the filesystem[ Android Mediaplayer Example – Play from URI ]
  3. Data stream arriving over a network connection
Read More

Android Mediaplayer Example – Play from URI

In this post, we are going to discuss about how to play a music file(MP3) in Android application. Android provides extensive support for playing music and it has dedicated a class called MediaPlayer which has all the necessary methods to play, pause, stop and do more with a MP3 file.

With the help of Android MediaPlayer framework we can play audio from media files stored in/as:

  1. Application’s resources (raw resources) [Android Mediaplayer Example – Play from local resource]
  2. Standalone files in the filesystem
  3. Data stream arriving over a network connection [Android Mediaplayer Example – Play from Internet]
Read More

Android Mediaplayer Example – Play from local resource

In this post, we are going to discuss about how to play a music file(MP3) in Android application. Android provides extensive support for playing music and it has dedicated a class called MediaPlayer which has all the necessary methods to play, pause, stop and do more with a MP3 file.

With the help of Android MediaPlayer framework we can play audio from media files stored in/as:

  1. Application’s resources (raw resources) [Similar to Button Listener – Make the cat start Meowing]
  2. Standalone files in the filesystem [Android Mediaplayer Example – Play from URI]
  3. Data stream arriving over a network connection [Android Mediaplayer Example – Play from Internet]
Read More

Button Listener – Make the cat start Meowing

We might have thought, how come when we click a button some action is performed in Android phone. Here in this post, we are going to discuss how to handle button events in Android.

Before proceed with the post, I would like to thank everyone who gave constant feedback for the past three posts. I expect everyone to let me know if you come across any difficulty while creating the application.

Please subscribe to this blog to keep getting updates when new post is added.

What are we going to develop?

We are gonna develop a simple application which has one button  that covers whole  layout of the app. When you click/tap on the button, ‘Meow’ sound will be played, to be more appropriate we will keep ‘Cat’ image as background of the button. :)

Read More

Pin It on Pinterest