What is the difference between an embedded app H5 and a normal h5?

Source: Internet
Author: User
Keywords html5 php

Where's the difference? Big difference?

I want to do a H5 page embedded in the app, but I won't write so I grabbed a similar page with the Grab kit tool, I want to add my program but do not know how to change, a lot of JS code can not understand, I hope the great God help to see the code
is to make a sign-in page


  
   
  
  
   
  <title>Sign</title>
  
   
  sign in

Consecutive check-ins, there's more surprises.

...
...
...
...
...
...
...
list of winners of yesterday >... Pointspoints Prize pool ... People contribute ... Points

Registration rules

    • 1. Points can be earned by check-in and sign -in sharing;
    • 2. Insist on daily check-in and check-in sharing can get more generous rewards;
    • 3. The missing sign will make the check-in progress reset, adhere to the registration reward richer!
    • 4. For each additional 1 participants, the points prize pool will be increased by 1 points;
    • 5. The next day 0:00 randomly draws 1000 winning users from all the users who sign in on the same day, dividing the rewards of the bonus pool.
    • 6. The final interpretation of the activity is owned by the team of everyone.
    • 7. Warm tip: Call on the small partners to sign in, there are more rewards Oh!

Sign-in sharing can be obtained
opportunity to sign up for points +5

I need to sign in.sign -in sharing


Reply content:

Where's the difference? Big difference?

I want to do a H5 page embedded in the app, but I won't write so I grabbed a similar page with the Grab kit tool, I want to add my program but do not know how to change, a lot of JS code can not understand, I hope the great God help to see the code
is to make a sign-in page


  
   
  
  
   
  <title>Sign</title>
  
   
  sign in

Consecutive check-ins, there's more surprises.

...
...
...
...
...
...
...
list of winners of yesterday >... Pointspoints Prize pool ... People contribute ... Points

Registration rules

    • 1. Points can be earned by check-in and sign -in sharing;
    • 2. Insist on daily check-in and check-in sharing can get more generous rewards;
    • 3. The missing sign will make the check-in progress reset, adhere to the registration reward richer!
    • 4. For each additional 1 participants, the points prize pool will be increased by 1 points;
    • 5. The next day 0:00 randomly draws 1000 winning users from all the users who sign in on the same day, dividing the rewards of the bonus pool.
    • 6. The final interpretation of the activity is owned by the team of everyone.
    • 7. Warm tip: Call on the small partners to sign in, there are more rewards Oh!

Sign-in sharing can be obtained
opportunity to sign up for points +5

I need to sign in.sign -in sharing


PC-side size units are usually used px
And Android with DP, Apple with PT

PC has DblClick
Android Apple has Ontouch

As long as the runtime is WEBVIEW,HTML5 is the same.
I packaged the phpdroid based on webview+php (ARM) for the development of the app.
WebView equivalent to Browser, PHP as an HTTP server, b/S architecture,
Developing apps is as simple as developing a WAP mobile station in PHP.

1, the limited difference lies in WebView or crosswalk some of the built-in functions such as: Alert,conform such as browser control can be defined;
2, for some events no longer inherit the security settings from the system: for example, hardware acceleration pull, store cookie pull ... is disabled in the browser, but embedded can be defined WebView or crosswalk initially enabled;
3, there are new standards, may be built in the system webview efficiency is poor or not smooth, embedded can do not use the built-in WebView, and the use of self-built chrome core framework to host the app;
4, the most important thing is, if it is a mixed app, basically is a self-made browser, the basic can be the original H5 WebApp some of the implementation of the laborious function to achieve better acoustic code, such as: Icon for a squirrel browser, you can think he loaded a H5 webapp, is a hybrid app, with some such as: the generation of the current adress QR code function, share page (app-level non-web level) and other functions, these features on the web to achieve more laborious, but in the native code implementation is relatively mature perfect;
5: In general, you can think: mixed H5 on the Web page, more than the independent implementation of the Web page, a lot less code (of course, is the web code), but these features are generally implemented in the native code; "Imagine:" Share to "on the web and on the open page of" share to ", These two parts feature a Web implementation, a native implementation "

Drink too much, words are broken, sorry ...

1, for this check-in page, and there is no difference, the difference is only the page layout problem.

2, such a check-in function of the small page can be directly used WebView Loadurl loading, only need to deploy H5 to the Web server on the line, or directly packaged in the app (but this update is not easy).

3, check-in page can let the front-end write, of course, you can also write your own.

  • 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.