Followup.  The same example has many other errors:

values.put(MediaStore.MediaColumns.MIME_TYPE,
recorder.getMimeContentType());

MediaRecorder has no getMimeContentType() method.

...plus a few other problems as well.  Is this the wrong sample code
to use to record audio?

On May 19, 10:26 am, Keith Wiley <kbwi...@gmail.com> wrote:
> http://developer.android.com/guide/topics/media/index.htmlshows
> sample code for recording audio, including the following line:
>
> values.put(MediaStore.MediaColumns.TIMESTAMP, System.currentTimeMillis
> ());
>
> Currently, MediaStore.MediaColumns has no TIMESTAMP field.  What is
> the best way to notify the maintainers of the docs of any errors we
> find?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to