w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Android open file using Google Drive with ACTION_GET_CONTENT

You have to set a more specific MIME type or a list of them, but you have to keep in mind that the ACTION_GET_CONTENT intent won't work with the latest Google Drive version starting from Android Kitkat. In order to get files from Drive you have to use the Google Drive API or use the storage access framework (SAF). Using SAF however it could be not what you want because it allows the user select other sources and not only Drive.

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.