What kind of permission I have to implement into AndroidManifest.xml ??? here my sample xml:
*********************** AndroidManifest.xml ************************************** <uses-permission android:name="android.permission.INTERNET"> android:name="android.permission.SUBSCRIBED_FEEDS_WRITE> android:name="android.permission.SUBSCRIBED_FEEDS_READ> </uses-permission> **************************************************************************************** When I launch mu java code: ********************************* Java code **************************************** byte[] decoded = Base64.decode( tabMsg[0].getMsgBase64() ); ContentValues values = new ContentValues(); values.put(Media.DISPLAY_NAME, "Voicemail"); values.put(Media.CONTENT_TYPE, "Audio/wav"); values.put(Media._ID, 1); Uri uri = getContentResolver().insert(Media.INTERNAL_CONTENT_URI, values); ************************************************************************************** getContentResolver() have en exception error : 08-20 08:05:15.787: WARN/dalvikvm(1475): threadid=3: thread exiting with uncaught exception (group=0x4000fe70) 08-20 08:05:15.797: ERROR/AndroidRuntime(1475): Uncaught handler: thread main exiting due to uncaught exception 08-20 08:05:16.076: ERROR/AndroidRuntime(1475): java.lang.RuntimeException: Unable to start activity ComponentInfo {com.dany.android.socketinterface/ com.dany.android.socketinterface.InterfaceGraphiqueVVM}: java.lang.RuntimeException: Unable to start activity ComponentInfo {com.dany.android.socketinterface/ com.dany.android.socketinterface.TabVoicemail}: java.lang.NullPointerException 08-20 08:05:16.076: ERROR/AndroidRuntime(1475): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java: 2268) Did I forget something or an other permission ??? Dany --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---