How Android engineers quickly learn about web

Source: Internet
Author: User

How Android engineers quickly learn about web
How can Android engineers quickly learn the web section? Today, I am mainly talking about my recent experience in the web section. Recently, html5 is getting increasingly popular, some time ago, the company made a project and asked our "android" program to help build the client framework. In fact, the so-called framework is actually a shell of android, then we embedded all the pages in webview and loaded html5. We found that the effects of html5 clients and android native were not very bad. It seems that the company is so interested in h5 trends, I am so keen to learn h5 ,. When I first started learning, I started to install the software sublime_text.exe to write h5 Code. At the beginning, I thought it was easy to directly open the browser to view the effect. The first demo I wrote was to click the button to play a music. When I first typed the code, I typed the code in Notepad. when the result was saved, it was saved as ANSI encoding by default, the result is displayed as garbled characters, and the code is also encoded.

<! DOCTYPE html PUBLIC "-// W3C // dtd xhtml 1.0 Transitional // EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 

 

But it was still garbled and tangled for a long time. When I thought about whether I saved the encoding, I checked it and modified the encoding and then browsed it with a browser. This was the expected result, at that time, I was so happy that I finally made the first h5 demo. I instantly felt that h5 was very simple. From that demo, I learned h5 with great confidence. After many demos, I did this for a complete h5 app. I hope I can help other friends as much as possible. Thank you.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.