Category: Android

Using Android FileProvider for sharing files

Recently, I was making an android app and needed to implement a function that allows the user to attach a text file to gmail. Everything seemed so simple. But I found myself unable to find the solution. It took nearly 24hours searching over the web and finally found the solution. What was the solution ? It is called the ¬†FileProvider!… Read more →