Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A method and system for loading webview on PC

An operating system and page technology, applied in the direction of program loading/starting, creating/generating source code, instruments, etc., can solve the problems of low timeliness and achieve high timeliness

Active Publication Date: 2020-07-17
SUZHOU EAGLE NETWORK TECH CO LTD
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If you directly use IOS or Android to load the Web under Unity, then you must deploy the entire code to a mobile terminal such as a mobile phone or tablet to see the effect after the entire code development is completed. This method is still low in timeliness

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method and system for loading webview on PC
  • A method and system for loading webview on PC
  • A method and system for loading webview on PC

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0034] This example figure 1 As shown, a method for loading WebView on a PC is provided, and the method includes the following steps:

[0035] S11: Embedding an H5 page in Unity and using an embedded web browser plug-in Embedded Browser to display the H5 page.

[0036] S12: Determine the type of operating system that needs to be deployed.

[00...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for loading WebView on a PC. The method comprises the following steps: S11, embedding an H5 page in Unity, and displaying the H5 page by using an Embedded Browser plug-in; S12, judging the type of an operation system needing to be deployed; S13, setting a browser label UA corresponding to the operation system type; S14, when the UA is set to be Android or IOS, directly calling a Native API of Android and IOS through UniVebView to achieve WebView loading of an internal page; and when the UA is set as the desktop system, calling the packaged interface unity to interact with the webpage. Therefore, the method for loading the WebView on the PC is realized, the PC end and the mobile end are synchronously supported, the workload of a developer is reduced, the specific timeliness is high, and the deployment effect is determined.

Description

technical field [0001] The invention relates to the technical field of software development, in particular to a method and system for loading WebView on a PC. Background technique [0002] With the development of mobile Internet, especially the development of mobile platform games. The products of various game companies are increasingly diversified and high-quality, and the competition is becoming increasingly fierce. This requires game companies to iterate quickly and respond quickly when developing a game. [0003] The current mainstream operating systems used by mobile platforms are Apple's IOS operating system and Google's Android operating system. However, due to the huge gap in performance between embedded processors and desktop system processors such as Intel and AMD, developers of both IOS and Android are still using desktop systems such as Windows for development. . [0004] In this way, while developers enjoy the high performance of the desktop system, it will ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F8/36G06F8/38G06F9/445
CPCG06F8/36G06F8/38G06F9/44526
Inventor 宋大伟李拓
Owner SUZHOU EAGLE NETWORK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products