Hi,

You should install sdcard on the emulator before running the MediaRecorder
sample as it stores the recorded media file in the path
Video.Media.EXTERNAL_CONTENT_URI which is on the sdcard.

Thanks,
Megha

On Fri, Apr 11, 2008 at 1:32 PM, Niranjan <[EMAIL PROTECTED]> wrote:

>
> I am getting following exception while trying sample media recording
> example. Any idea?
>
> ERROR/AndroidRuntime(654): java.lang.NullPointerException
> ERROR/AndroidRuntime(654):     at
> android.content.ContentResolver.getProvider(ContentResolver.java:380)
> ERROR/AndroidRuntime(654):     at
> android.content.ContentResolver.insert(ContentResolver.java:281)
> ERROR/AndroidRuntime(654):     at
>
> mysamples.android.MyMediaRecorder.initiateMediaRecorder(MyMediaRecorder.java:
> 98)
> ERROR/AndroidRuntime(654):     at mysamples.android.MyMediaRecorder
> $1.onClick(MyMediaRecorder.java:63)
>
> Thanks,
> Niranjan
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to