Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FileID=file.getId();//it is your file ID which you want to display
- String url = "https://docs.google.com/file/d/"+FileID;
- Intent i = new Intent(Intent.ACTION_VIEW);
- i.setData(Uri.parse(url));
- startActivity(i);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement