Today we will learn about WebView, as well as web apps development, mainly from the official Android documents and the following practical examples.
(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.based on client application(also useAndroidSDKdevelopment, installation on user devicesAPKfile), 2.based onWebApplication(use web development standards and do not need to be installed on any user device)
Kids Shoes If you choose to Android device Development one based on Web Standard app, Android above the mainstream Web The browser is still supported ( e.g. WebView FrameWork) , it provides a special view and style attributes so that the application we develop can display the correct size and scale on all screens.
[Figure A]:we have two ways of showingWebcontent:①:UseAndroidWebBrowser,②:Chongbuilt withWebViewapplications for browser view Controls
show that we can either via Android browser or through your own AndroidAPPto displayWebcontent,but we should not just develop an androidAPPjust a simple way to show your Web content. On the contrary we are on AndroidAPPThe content embedded in the Web page should be designed specifically for special scenarios. You can even on your AndroidAPPand Web pages to define an interface that can be used in Android APPUse the WebJavaScript in the page to invoke Web-based design development applications(application)the AndroidAPIs
let's take a Android Equipment Development Web page to see the article on the page :
1. support for Web apps on different screens
main content :1. To develop applications for mobile devices, we use WebView. 2. 3. support multi-resolution
2. Span lang= "ZH-CN" style= "Font-family:simsun" > use webview create Web Apps
main content : 1. android Application above use WebView 2. APIs binding
3. Debugging Web Apps
Main content : 1. Use Javascript Control Desk APIs to debug Web Apps
4.Web App s Best Practices Rules
Main content : 1. to be Android development of efficient Web A list of rules that Apps need to follow
5. Practical examples ofWebApps Development
1.[webview Learn one]:web apps introduction