Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can we open files like ppt, doc, pps, rtf, etc. in Android?

Tags:

android

pdf

doc

Are there classses in Android that can open different kind of files like pps, ppt, docs, rtf, etc.?

Please provide links.

like image 930
user493244 Avatar asked Dec 20 '11 10:12

user493244


People also ask

How do I open RTF files on Android?

You can open and convert Rich Text files (RTF) in almost any text editor or word processor, including Microsoft Word and Google Docs. If you have an RTF file on your Android, iPhone, iPad, or Chromebook, just upload it to Google Drive and click to open it.

How can I open RTF file in Mobile?

Launch the Cool Reader app and tap on the icon below Browse file system. Navigate to the folder where the RTF file is stored on your Android device and tap on it. Cool Reader will now open the file. That's it!

How can I open PPT file in android programmatically?

You need to use other application to open your ppt files , Make sure that file location you are providing is accessible to other application. Try with following : final Uri uri = Uri. fromFile(file); final Intent intent = new Intent(Intent.

How do I open an RTF file?

The easiest way to open an RTF file in Windows is to use WordPad since it's pre-installed. If you're on a Mac, Apple TextEdit or Apple Pages can be used. Double-clicking the file should be all you need to do to trigger one of those programs to open it.


1 Answers

WebView mWebView = (WebView) findViewById( R.id.WebView01);
String pdfurl = ""; // Url of pdf or doc file.

String weblink="http://docs.google.com/gview?embedded=true&url="+pdfurl;    
mWebView.loadUrl(weblink);
like image 194
atrivedi Avatar answered Sep 20 '22 05:09

atrivedi