Play Mp3 while on Camera Vie

by Jose Gomez » Wed, 03 Feb 2010 01:53:08 GMT

Sponsored Links
 Hey guys and gals,

I am trying to add a bit of a narration in the form of augmented reality to
the application I am building. In essence the user will be looking through
his/her handset to a location X and I want an MP3 file or WAV
or whatever format to play while the camera view finder is up (like the
augmented reality apps except instead of overlaying images and widgets I
need to overlay audio)

Anyone know a way to do this?


Jose C Gomez 
Sent from Jacksonville, Florida, United States


Play Mp3 while on Camera Vie

by Mark Murphy » Wed, 03 Feb 2010 01:56:27 GMT

 > Hey guys and gals,

It should just work, assuming you're creating your own camera preview.
Just use MediaPlayer or AsyncPlayer or something for the voiceover.

Mark Murphy (a Commons Guy) 
Android App Developer Books: 


Sponsored Links

Other Threads

1. Transparency on Views behaving differently in 1.5

Is this on the emulator or on a real device?

Please enter a bug at with a working piece of
code that exhibits the issue and SDK details (sdk, OS, emu vs device,
etc.) Thanks in advance.



2. MmsApp giving a ClassNotFoundException and resulting in incoming text messages being lost.

Hi there,

After having updated my ADP1 (to 1.5) with the images provided here:

I'm getting a ClassNotFoundException for the MmsApp. I can use another
app like ChompSMS to send text messages, but I'm unable the get
incoming messages.

Does anyone have any suggestions?

One weird thing I've noticed is that I do receive text messages for a
short period of time shortly after having done a factory reset, but I
do not find it a lasting solution =) It's weird though that the
ClassNotFoundException suddenly appears...

I've got a stack trace here:

3. Where is source code for Dev Tools?

4. How to start android emulator in landscape mode?

5. Notification without firing any Intent

6. Maintaining two Eclipse installs with two Android SDKs

7. How to get list id from many list?