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

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -