-2

How does mobile applications( like fb, linkedin,…) access a web page with out a web browser? Do these apps have an inbuilt web browser or do all apps share a common web browser in the phone? Do these apps also use javascript to display web pages like browser? My question is who does the job of web browser in android app? Who displays html pages and works on javascript if no browser is present?

charan kamma
  • 27
  • 1
  • 7
  • By using web services, you don't need to have a navigational interface – Phantômaxx Sep 30 '16 at 11:47
  • Can a web page containing JavaScript be displayed normally (like we view in browser) through an Android app using webview? Can webview make use of JavaScript while displaying web pages? If no then whats the way to make web pages displayed by android app to be dynamic? If use of Internet becomes dominant in mobile phone (than computer), will JavaScript die out some day? – charan kamma Sep 30 '16 at 17:24
  • Yes: a WebView is a mini-browser. Therefore, you can display dynamic content. But you must enable JavaScript. – Phantômaxx Oct 01 '16 at 08:31

2 Answers2

0

Some apps have webviews embedded in them that display a web page straight from the source. But some (like Facebook) fetch data and dynamically display data on the screen.

Carter Brainerd
  • 199
  • 2
  • 10
0

Please read this article about webview, which will answer your query. This is a technique by which an application can show a web page within the application.

For example consider the payment of bill through an app, the app opens the banks webpage into it where user provide the OTP/Password.

Apps like facebook/twitter just fetch the data from their server and show it using their app. For details please check android developers site.

Soumyadip Das
  • 1,781
  • 3
  • 16
  • 34