1. 程式人生 > >1.1 What is the plug-in?

1.1 What is the plug-in?

A game center, such as Lianzhong in China, supports hundreds of games such as Chess, Bridges, and Texas hold 'em poker. The game platform is made of all games which have hundreds of megabytes. It takes a long time to download them all, but users tend to play only one or two of them. It is improper for users to download hundreds of games that they do not play.

      In addition, any game update or release requires re-downloading hundreds of megabytes of installation packages, which is also a maddening event for users.

      Therefore, the game platform usually adopts plug-in technology.

      The common practice is to allow users to download only installation package with a dozen of megabyte, which includes the game center and the most popular games, such as Texas Hold 'em Poker. Users enter the game center, and get the game list, click on item named "Chess" to download Chess game plug-in, it is called "on-demand download".

      This is plug-in programming, and based on the game platform for the personal computer, such plug-in is an executable file with extension file name as ".exe" or ".dll".

      In the Android world, there is no such file as exe or dll. All files are compressed into an apk file and downloaded locally. App installation process of Android platform, in fact, just put the apk file into a local directory, then, use PMS to read the permission information and the information of four major components. So plug-in programming in the Android is not the same as that of software application on a computer.

      In fact, for the game in the Android world, the usage of the plug-in technology is not a real plug-in framework, it is just the dynamic delivery of the script from the server, according to the information in the script, modify the character attributes, add props and maps of the game.

      Android plug-in technology, mainly used in news, e-commerce, reading, traveling, video, music and other applications. For example, a traveling App, it involves the order and payment, and can be regarded as a branch of e-commerce, it can be split into independent plug-ins such as hotels, air tickets and train tickets, etc.

相關推薦

1.1 What is the plug-in

A game center, such as Lianzhong in China, supports hundreds of games such as Chess, Bridges, and Texas hold 'em poker. The game platform is made of all ga

What is the difference between wc -1 < mydata.dat and wc -1 < mydata.dat ?

What is the difference between wc -1 < mydata.dat and wc -1 < mydata.dat ? To output the number of lines in the mydata.dat file, we

What is the difference between Kill and Kill -9 command in Unix?

data esp osi lin mil print ren win sku w difference kill -9 pid and kill pid command - Ask Ubuntu https://askubuntu.com/questions/7918

What is the difference between static func and class func in Swift?

truct computed per value subclass guid between tab odi Special Kinds of Methods Methods associated with a type rather than an instance

What is the 'cls' variable used for in Python classes?

在類方法中第一個引數名叫cls,這是一種預設的程式設計風格,並非強制,也可以叫其他名字。主要用於區分類方法和例項方法。 Function and method arguments: Always use self for the first argument to instance

Spring Security(二):2.1 Introduction What is Spring Security?

Spring Security provides comprehensive security services for Java EE-based enterprise software applications. There is a particular emphasis on supporting p

What is the best way to paginate results in SQL Server

先了解 MySQL server side paging: First off, don’t have a separate server script for each page, that is just madness. Most applications implement pagination v

Ask HN: What is the best smartphone for privacy conscious consumers in 2018?

Do you want privacy conscious or “off the grid”?For the former, Apple is the way to go; so far they haven’t done anything privacy-hostile and I personally

What is the best country to get acquired in?

I'm trying to incorporate. I'll not raise any fund (I assume this why companies mainly others incorporate in the US) and I'm planning for an acquisitions.

What Is the Best Way to Improve Competition in Modern Capitalism?

This story is for Medium members.Continue with FacebookContinue with GoogleMedium curates expert stories from leading publishers exclusively for members (w

1.7 All components require plug-in?

      In Android, Activity, Service, ContentProvider, and BroadcastReceiver are called as four major components.      Do all four components need convert t

1.3 History of Android Plug-in Programing

In July 27, 2012 , it was the first milestone in Android plug-in technology. Yimin Tu(mmin18 on Github), who worked for dianping.com , released the first A

what is the difference between Integer and int in java?

ive rim ever pan long () bool out com int is a primitive type, Variables of int type store the actual binary value for the Integer type y

What is the 'cls' variable used for in Python classes?

在類方法中第一個引數名叫cls,這是一種預設的程式設計風格,並非強制,也可以叫其他名字。主要用於區分類方法和例項方法。 Function and method arguments: Always us

UVA10056 - What is the Probability ?(概率)

ant scanf org import 1.0 key align review soft UVA10056 - What is the Probability ?(概率) 題目鏈接 題目大意:有n個人玩遊戲,一直到一個人勝出之後遊戲就能夠結束,要不然就一直從第

What is the Windows Integrity Mechanism?(什麽是Windows完整性機制)

ech 管理員 tac p s configure hierarchy 重要 issue ide The Windows integrity mechanism is a core component of the Windows security architectu

【轉載】What is the difference between authorized_keys and known_hosts file for SSH?

led accounts dep protocol wide HERE data round enc The known_hosts file lets the client authenticate the server, to check that it isn‘t c

【轉】What is the minimum version of Red Hat Enterprise Linux that supports Intel® Omni-Path? (OPA)

原文連結:https://access.redhat.com/solutions/2803981 What is the minimum version of Red Hat Enterprise Linux that supports Intel® Omni-Path? (OPA) &nb

What is the difference between iface eth0 inet manual and iface eth0 inet static?

iface eth0 inet static: Defines a static IP address for eth0 iface eth0 inet manual :To create a network interface without an IP address at a

What is the difference between book depreciation and tax depreciation?

  Generally, the difference involves the "timing" of the depreciation expense on a company's financial statementsversus the depreciati