My application has a feature to view the file which is stored on server.
Currently, I am using the following code to view the file stored on server:
String url = "http://www.google.com";
Intent i = new Intent(Intent.ACTION_VIEW);
i.setData(Uri.parse(url));
startActivity(i);
But this is firstly download the file from the server. and then open the file by using respective application.
But is it possible to view file directly with out downloading?
Please help me. Thanks in advance.