Today, we begin to understand WebView, as well as web apps development, from the main content of Android real examples to explain official documents and follow-up.
(blog address: http://blog.csdn.net/developer_jiangqq), reproduced please specify.
Author:hmjiangqq
Email:[email protected]
basically inAndroidabove we have two ways to provide the application(Application): 1.Client-based applications(also useAndroidSDKdevelopment. Install on user devicesAPKfile), 2.based onWebApplication(use web development standards. And does not need to be installed on any user device)
Kids Shoes Assume you choose to Android device Development one based on Web Standard app, Android above the mainstream Web The browser is still supported ( such as WebView FrameWork) , it provides a special view and style attributes so that the application we develop will be able to display the correct size and scale on all screens.
[Figure A]:we have two ways of showingWebcontent:①:UseAndroidWebBrowser,②:Chongbuilt to includeWebViewapplications for browser view Controls
show. We are able to use Android browser or through our own Android app web content But we shouldn't just be developing an Android APP
Instead we are in Android AP p The content embedded in the Web page should be designed specifically for special scenarios.
You can even define an interface betweenyour AndroidAPP and the Web page. This enables the use of JavaScript in the Web page in the Android app to invoke web design-based Applications ( application) of AndroidAPIs
below we are going to Android Equipment Development Web page to see the article on the page :
1. support for Web apps on different screens
Main content : 1. develop applications for mobile devices. We use WebView. 2. develop Web pages of the right size for Android devices.
3. Support multi-resolution
2. Span lang= "ZH-CN" style= "Font-family:simsun" > use webview create Web Apps
Main content : 1. in the Android Application use WebView to embed Web pages.
2. binding JavaScript and AndroidAPIs
3. Migrating to the WebView of the Android4.4 version number
4. debugging Web Apps
Main content : 1. Use Javascript Control Desk APIs to debug Web Apps
5.Web App s Best Practices Rules
  main content :1. android Develop an efficient web Apps A series of rules to follow
6.WebApps Develop practical examples to explain
Copyright notice: This article blog original articles, blogs, without consent, may not be reproduced.
[WebView One of the research]:web apps Basic Introduction