-1

Can someone tell me what steps to follow to open an article in android app?

I do not meant open via browser but in-app.

Update description:

I do not mean open the actual website article, but copy the content (along with images, video links) and show it in the app with your preferred font, background etc

Vaggouras
  • 59
  • 1
  • 7

2 Answers2

0

You can open a web page in-app (instead of the browser) by using a WebView (see documentation here). I recommend also reading the API guide topic Building Web Apps in WebView.

Ted Hopp
  • 232,168
  • 48
  • 399
  • 521
0

you may use webview to load your html file

WebView webView = (WebView)findViewById(R.id.webView1);
webview.loadUrl("file:///android_asset/file.html");
Mina Fawzy
  • 20,852
  • 17
  • 133
  • 156