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?


Thanks!

Sincerely
Jose C Gomez

 http://www.josecgomez.com 
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)
 http://commonsware.com 
Android App Developer Books:  http://commonsware.com/books.html 


--


Sponsored Links


Other Threads

1. Why do I need requery() when I already have notifyDataSetChanged()

I had an adapter that was no updating properly when I called

myAdapter.notifyDataSetChanged()

This causes much headache an finally I tried

cursor.requery(); //This is the cursor on which myAdapter is connected
to
myAdapter.notifyDataSetChanged();


My Question is - Why do I need to run requery()? I thought that
notifyDataSetChanged() would automatically update the cursor for us!


--~--~---------~--~----~------------~-------~--~----~

2. How to disable screen orientation change in code?

Hello,
how can the screen orientation change be disabled in code? I must
force portrait/landscape orientation, but can't use
android:screenOrientation="landscape" in the manifest because of issue
3324 -
http://code.google.com/p/android/issues/detail?id=3324
Do you have any ideas?
Thank in advance,
Mike.


--~--~---------~--~----~------------~-------~--~----~

3. Location.getLastKnownLocation returns null

4. Location.getLastKnownLocation returns null

5. Pointers for a port to an OMAP device?

6. debugger not bound

7. Archos 5 porting group