I try to catch error with

 ContentValues values = new ContentValues();
            values.put(Media.DISPLAY_NAME, "Voicemail");
          //  values.put(Media.MIME_TYPE, "Audio/wav");
            values.put(Media.CONTENT_TYPE, "Audio/wav");
            values.put(Media._ID, 1);
            values.put(Media.DATA, decoded);

            try{
                ContentResolver cr = getContentResolver();
            }
            catch(Exception e)
            {
                 Log.v(TAG, "ERROR Exception: " + e);
            }

and i receice:

 08-20 09:20:43.868: VERBOSE/(3568): ERROR Exception:
java.lang.NullPointerException

Why ??

--~--~---------~--~----~------------~-------~--~----~
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]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to