android - Import whatsapp chat in a app -


i import whatsapp chats in app; try use content provider response permission denied; first app , first time use content provider don't know if impossible import chat or in code wrong.

my code is:

uri uri = uri.parse("content://com.whatsapp.fileprovider");  contentproviderclient cr = getcontentresolver().acquirecontentproviderclient(uri); 


Comments