CN105117222B - It is a kind of that the Android packet APK method and apparatus of customization service are provided - Google Patents

It is a kind of that the Android packet APK method and apparatus of customization service are provided Download PDF

Info

Publication number
CN105117222B
CN105117222B CN201510512639.2A CN201510512639A CN105117222B CN 105117222 B CN105117222 B CN 105117222B CN 201510512639 A CN201510512639 A CN 201510512639A CN 105117222 B CN105117222 B CN 105117222B
Authority
CN
China
Prior art keywords
apk
user
network address
frame
customized
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510512639.2A
Other languages
Chinese (zh)
Other versions
CN105117222A (en
Inventor
葛山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510512639.2A priority Critical patent/CN105117222B/en
Publication of CN105117222A publication Critical patent/CN105117222A/en
Application granted granted Critical
Publication of CN105117222B publication Critical patent/CN105117222B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of method and apparatus of offer Android packet APK customization service, and method includes: to formulate general APK frame;It include browser kernel in the APK frame;Receive the network address that user provides;The network address that the user provides is added in the APK frame, the customized APK is packaged into;The customized APK is returned into the user.This method has beneficial effect that is simple, quickly generating APK, while also having versatility, to the user for not understanding APK programming technique, can also only need user to provide network address, just can generate APK required for user.It solves when user wishes the not sufficiently complex APK of customization function, also the problem of relying on the programming technician bespoke APK of APK is needed, the APK development time is considerably reduced, promoted for user, provide temporal advantage and technical convenience using APK.

Description

It is a kind of that the Android packet APK method and apparatus of customization service are provided
Technical field
The present invention relates to application development field, in particular to a kind of method that Android packet APK customization service is provided and Device.
Background technique
Android system has been widely applied to smart phone and other science and technology as the open source system developed rapidly in recent years In product, the third party application developed in the system-based also shows volatile growth trend.Many public affairs Department does not depend solely on original leaflet, phone, short message, website promotion means, it is desirable to develop in promotion business and product yet Android application program is simultaneously distributed to popularization object.The Android packet APK of Android application program has small in size, easy for installation, distribution The features such as channel is extensive, ways of distribution is simple can simply be installed by the modes such as downloading, scanning the two-dimensional code.And it uses Family wishes that the APK of exploitation generally requires APK programming technician and carries out writing for profession, time-consuming and laborious, and function needed for user It can be often that user company's site is included, it is not sufficiently complex.
For example, certain company wishes to promote new product, product introduction has been carried out by the individual page in company official website With purchase function setting, while also want to exploitation it is a with product introduction and buy function Android application program, utilize The prior art can only rewrite JAVA code according to the demand of user, expend the time, may be delayed business opportunity.
Summary of the invention
In view of the above problems, it proposes on the present invention overcomes the above problem or at least be partially solved in order to provide one kind The method and apparatus that the offer Android packet APK customization service of problem is provided.
According to one aspect of the present invention, a kind of method of offer Android packet APK customization service is provided, comprising: formulate General APK frame;It include browser kernel in the APK frame;Receive the network address that user provides;The user is provided Network address is added in the APK frame, is packaged into the customized APK;The customized APK is returned to described User.
Optionally, the network address that the user provides is added in the APK frame includes: the net for providing the user Location be added to it is in the APK frame and associated with the browser kernel in the APK frame so that when described customized The browser kernel loads and renders the network address when APK operation, and the operation for realizing that the corresponding webpage of the network address includes is patrolled Volume.
Optionally, this method further comprises: the multiple JS interfaces for realizing different function is provided, for user offer The corresponding webpage of network address called when executing corresponding operation logic.
Optionally, this method further comprises: providing the multiple JS interfaces for realizing different function;The user is received to provide Logic function description information;According to the logic function description information that the user provides, generated based on the multiple JS interface Corresponding logic function code;The network address that the logic function code and the user provide is added to the APK frame In frame, it is packaged into the customized APK.
Optionally, this method further comprises: receiving the APK title and mark picture that user provides;It is described to be packaged into institute Stating customized APK includes: the APK name nominating being packaged into the offer of the user, and with user offer APK of the mark picture as icon.
Optionally, this method further comprises: receiving the various information that the user is submitted by terminal device;And it will The customized APK returns to the user and submits terminal device used in various information.
Optionally, this method further comprises: providing APK and customizes site for service, provides information on the page of the website Interface is submitted, the various information for submitting user described in interface to submit by the information;And the page in the website above mentions For APK download interface, so that the user downloads the customized APK by the APK download interface.
Another aspect according to the present invention provides a kind of device of offer Android packet APK customization service, comprising: frame Unit is formulated, suitable for formulating general APK frame;It include browser kernel in the APK frame;User interface section is suitable for The network address that user provides is received, and suitable for the customized APK is returned to the user;Service unit is customized, is fitted It is added in the APK frame in the network address for providing the user, is packaged into the customized APK.
Optionally, the customization service unit, the network address suitable for providing the user are added in the APK frame simultaneously It is associated with the browser kernel in the APK frame, so that the browser kernel when customized APK operation The network address is loaded and rendered, realizes the operation logic that the corresponding webpage of the network address includes.
Optionally, the customization service unit is further adapted for providing the multiple JS interfaces for realizing different function, for institute State user offer the corresponding webpage of network address when executing corresponding operation logic calling.
Optionally, the user interface section is further adapted for receiving the logic function description information that the user provides; The customization service unit is further adapted for providing the multiple JS interfaces for realizing different function, be patrolled according to what the user provided Functional circuit information is collected, corresponding logic function code is generated based on the multiple JS interface;By the logic function code with The network address that the user provides is added in the APK frame, is packaged into the customized APK.
Optionally, the user interface section is further adapted for receiving the APK title and mark picture that user provides;Institute Customization service unit is stated, is further adapted for being packaged into the APK name nominating of the offer of the user, and with the user APK of the mark picture of offer as icon.
Optionally, the user interface section, the various information submitted suitable for receiving the user by terminal device, with And the customized APK is returned into the user and submits terminal device used in various information.
Optionally, the user interface section is adapted to provide for APK customization site for service, provides on the page of the website Information submits interface, the various information for submitting user described in interface to submit by the information;And the page in the website Upper offer APK download interface, so that the user downloads the customized APK by the APK download interface.
The method of offer Android packet APK customization service of the invention, by formulating the general APK comprising browser kernel Frame, and receive the network address that user provides, and is added in APK frame, is packaged into customized APK, then by institute It states customized APK and returns to the user, there is beneficial effect that is simple, quickly generating APK, while this method also has Versatility can also only need user to provide network address, just can generate required for user to the user for not understanding APK programming technique APK.It is special to solve the programming technician for also needing to rely on APK when user wishes the not sufficiently complex APK of customization function The problem of door writes APK, considerably reduces the APK development time, promotes for user, provides temporal advantage using APK With technical convenience.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows a kind of flow chart of method for providing Android packet APK customization service provided in an embodiment of the present invention;
Fig. 2 shows the flow charts of the method for another offer Android packet APK customization service provided in an embodiment of the present invention;
Fig. 3 shows a kind of structure chart of device for providing Android packet APK customization service provided in an embodiment of the present invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
Fig. 1 shows a kind of flow chart of method for providing Android packet APK customization service provided in an embodiment of the present invention, such as Shown in Fig. 1, this method comprises:
Step S110 formulates general APK frame;It include browser kernel in APK frame.
Built-in a high-performance Web kitt kernel browser, encapsulates in Software Development Kit SDK in Android system It is called the component of WebView for one.The browser kernel for including in APK frame provided in this embodiment can also use WebView realizes that APK frame can be write using Native C code.
Step S120 receives the network address that user provides.
Step S130, the network address that user is provided are added in APK frame, are packaged into customized APK.
Customized APK is returned to user by step S140.
Method shown in FIG. 1, by formulating the general APK frame comprising browser kernel, and reception user's offer Network address, and be added in APK frame, be packaged into customized APK, then customized APK is returned into user, With beneficial effect that is simple, quickly generating APK, while this method also has versatility, to the use for not understanding APK programming technique Family can also only need user to provide network address, just can generate APK required for user.It solves when user wishes customization function When not sufficiently complex APK, the problem of relying on the programming technician bespoke APK of APK is also needed, is considerably reduced The APK development time promotes for user, provides temporal advantage and technical convenience using APK.
In one embodiment of the invention, in method shown in FIG. 1, the network address that user is provided is added to APK frame In include: the network address that user is provided be added to it is in APK frame and associated with the browser kernel in APK frame so that working as Browser kernel loads and renders network address when customized APK is run, and realizes the operation logic that the corresponding webpage of network address includes.
Webpage information corresponding to network address provided by user not merely includes some displaying information, such as picture, text Deng, may also include some and webpage towards object interactive function, such as purchase, ballot etc..It is needed at this time using APK Browser kernel such as WebView in frame realizes each operation logic for the network address that user provides, and such as clicking certain icon can be complete At purchase or voting function etc., this ensure that the institute of user's offer network address is functional completely to be showed.
In one embodiment of the invention, method shown in FIG. 1 further comprises: providing and realizes the multiple of different function JS interface, so that the corresponding webpage of network address that user provides is called when executing corresponding operation logic.
Operation logic is realized using JS interface, the reusability of system similar modular blocks can be improved, so that inhomogeneous communication is more Add firm.Method provided in this embodiment is a kind of general method for realizing Android packet APK customization service, i.e., uncommon for each Hope the user of customization APK, function needed for user being completed in the case where not changing APK frame.And different user institute The function of needing is much duplicate, such as the means of payment, and the common means of payment has bank card quick payment, wechat payment, branch Pay the modes such as precious payment, and the corresponding JS interface called required for these functions be it is identical, do not need for each APK individually into Row exploitation.So the multiple JS interfaces for realizing different function need to be only provided in APK frame, such as wechat payment interface, Alipay Payment interface etc., it can be called in the corresponding webpage of network address that user provides when executing corresponding operation logic, letter Change exploitation process, shortens the development time.
Fig. 2 shows it is provided in an embodiment of the present invention another provide Android packet APK customization service method flow chart, As shown in Fig. 2, this method comprises:
Step S210 provides the multiple JS interfaces for realizing different function.
Step S220 receives the logic function description information that user provides.
Step S230 generates corresponding logic based on multiple JS interfaces according to the logic function description information that user provides Function code.
The network address that logic function code and user provide is added in APK frame, is packaged into user by step S240 The APK of customization.
Browser kernel such as WebView can not achieve all logic functions needed for user, such as since safety limits It makes, logic function needed for many users can not be directly realized by by WebView, at this time can be by way of calling JS interface It is realized.In the present embodiment, user can be described required logic function, such as secret protection, pass through logic Functional circuit information generates corresponding logic function code based on multiple JS interfaces.In this way in the APK of encapsulation, general APK Frame need to only can be realized comprising logic function code and the network address that user provides needed for user it is functional, that is, be not limited to Function achieved by WebView meets the demand of user to a greater extent.
In one embodiment of the invention, method shown in FIG. 1 further comprises: receiving the APK title that user provides With mark picture.Being packaged into customized APK includes: the APK name nominating being packaged into the offer of user, and with APK of the mark picture that family provides as icon.
Android application program can attract be exactly using an importance of object application program icon, because of Android The icon of application program can be presented on the desktop of system, user wishes that icon has aesthetic feeling naturally.And as application program Supplier, it is also desirable to which the application program of oneself has sufficiently high discrimination.It present embodiments provides one kind and provides APK by user The method of title and mark picture, the APK that user can want customization to oneself give a name, and make the icon to attract eyeball, improve The attention rate of product.Similarly, it can be added at application program launching interface and welcome picture, then it only need to the addition before APK is encapsulated Welcome picture.
In one embodiment of the invention, the above method further comprises: receiving what user was submitted by terminal device Various information;And customized APK is returned into user and submits terminal device used in various information.
Present embodiments provide the mode that user submits various information, i.e. user by terminal device, as tablet computer, The various information for submitting desired customization APK to include on smart phone identifies picture etc. such as website, APK title, and leads to It crosses terminal device and receives the APK customized, realize remote interaction, the mode for customizing and receiving APK is all very easy.
In one embodiment of the invention, the above method further comprises: providing APK and customizes site for service, in the net Information is provided on the page stood and submits interface, the various information for submitting interface user to submit by the information;And at this APK download interface is provided on the page of website, so that user downloads customized APK by the APK download interface.
The present embodiment further provides a kind of mode that customization APK service provides, i.e. offer APK customizes site for service, User need to only log in the website, submit interface to input required information if you need to the net of submission by information on the corresponding page Location, APK title etc. obtain the APK of customization eventually by APK download interface, simple and convenient.
Fig. 3 shows a kind of structure chart of device for providing Android packet APK customization service provided in an embodiment of the present invention, such as Shown in Fig. 3, the device 300 for providing Android packet APK customization service includes:
Frame formulates unit 310, suitable for formulating general APK frame;It include browser kernel in APK frame.
Built-in a high-performance webkit kernel browser, encapsulates in Software Development Kit SDK in Android system It is called the component of WebView for one.The browser kernel for including in APK frame provided in this embodiment can also use WebView realizes that APK frame can be write using Native C code.
User interface section 320, the network address provided suitable for receiving user, and suitable for returning to customized APK User.
Service unit 330 is customized, the network address suitable for providing user is added in APK frame, is packaged into customized APK。
Device shown in Fig. 3 formulates unit 310 by frame and formulates the general APK frame comprising browser kernel, with And the network address that user provides is received using user interface section 320, and be added to APK frame by customizing service unit 330 In frame, it is packaged into customized APK, then customized APK is returned into user by user interface section 320, there is letter Beneficial effect that is single, quickly generating APK, while the device also has versatility, to the user for not understanding APK programming technique, It can only need user to provide network address, just can generate APK required for user.It solves when user wishes customization function not ten When dividing complicated APK, the problem of relying on the programming technician bespoke APK of APK is also needed, considerably reduces APK exploitation Time promotes for user, provides temporal advantage and technical convenience using APK.
In one embodiment of the invention, in device shown in Fig. 3, service unit 330 is customized, suitable for providing user Network address be added to it is in APK frame and associated with the browser kernel in APK frame so that when customized APK run When browser kernel load and render network address, realize the operation logic that the corresponding webpage of network address includes.
Webpage information corresponding to network address provided by user not merely includes some displaying information, such as picture, text Deng, may also include some and webpage towards object interactive function, such as purchase, ballot etc..It is needed at this time using APK Browser kernel such as WebView in frame realizes each operation logic for the network address that user provides, and such as clicking certain icon can be complete At purchase or voting function etc., this ensure that the institute of user's offer network address is functional completely to be showed.
In one embodiment of the invention, in device shown in Fig. 3, service unit 330 is customized, is further adapted for providing Realize different function multiple JS interfaces, for user provide the corresponding webpage of network address when executing corresponding operation logic tune With.
Operation logic is realized using JS interface, the reusability of system similar modular blocks can be improved, so that inhomogeneous communication is more Add firm.Device provided in this embodiment can universally realize Android packet APK customization service, i.e., each is wished to customize The user of APK, function needed for user being completed in the case where not changing APK frame.And function needed for different user It can be much duplicate, such as the means of payment, the common means of payment has bank card quick payment, wechat payment, Alipay branch The modes such as pay, and the corresponding JS interface called required for these functions be it is identical, do not need individually to be opened for each APK Hair.So the multiple JS interfaces for realizing different function need to be only provided in APK frame, as wechat payment interface, Alipay are paid Interface etc., it can be called, simplify when executing corresponding operation logic in the corresponding webpage of network address that user provides Process is developed, the development time is shortened
In one embodiment of the invention, in device shown in Fig. 3, user interface section 320 is further adapted for receiving The logic function description information that user provides.
Service unit 330 is customized, is further adapted for providing the multiple JS interfaces for realizing different function, be provided according to user Logic function description information generates corresponding logic function code based on multiple JS interfaces;Logic function code is mentioned with user The network address of confession is added in APK frame, is packaged into customized APK.
Browser kernel such as WebView can not achieve all logic functions needed for user, such as since safety limits It makes, logic function needed for many users can not be directly realized by by WebView, at this time can be by way of calling JS interface It is realized.In the present embodiment, user can be described required logic function, such as secret protection, pass through logic Functional circuit information generates corresponding logic function code based on multiple JS interfaces.In this way in the APK of encapsulation, general APK Frame need to only can be realized comprising logic function code and the network address that user provides needed for user it is functional, that is, be not limited to Function achieved by WebView meets the demand of user to a greater extent.
In one embodiment of the invention, in device shown in Fig. 3, user interface section 320 is further adapted for receiving The APK title and mark picture that user provides;
Customize service unit 330, be further adapted for being packaged into the APK name nominating of the offer of user, and with APK of the mark picture that family provides as icon.
Android application program can attract be exactly using an importance of object application program icon, because of Android The icon of application program can be presented on the desktop of system, user wishes that icon has aesthetic feeling naturally.And as application program Supplier, it is also desirable to which the application program of oneself has sufficiently high discrimination.The device of the present embodiment can provide APK by user Title and mark picture, the APK that user can want customization to oneself give a name, make the icon to attract eyeball, improve product Attention rate.Similarly, it can be added at application program launching interface and welcome picture, then only addition need to welcome figure before APK is encapsulated Piece.
In one embodiment of the invention, in above-mentioned apparatus, user interface section 320 passes through end suitable for receiving user The various information that end equipment is submitted, and customized APK is returned into user, terminal used in various information is submitted to set It is standby.
The device of the present embodiment can receive the various information that user is submitted by terminal device, as user passes through in terminal Equipment, as submitted the desired various information for customizing APK and including on tablet computer, smart phone, such as website, APK title, Identify picture etc..And by the way that the APK customized is returned to user by terminal device, remote interaction, user's customization are realized And receive APK mode it is all very easy.
In one embodiment of the invention, in above-mentioned apparatus, user interface section 320, it is adapted to provide for APK customization clothes It is engaged in website, providing information on the page of the website and submitting interface, submits interface user to submit by the information all kinds of Information;And APK download interface is provided on the page of the website, so that user downloads the use by the APK download interface The APK of family customization.
The device of the present embodiment further provides a kind of APK customization site for service, and user need to only log in the website, in phase Interface is submitted to input required information if you need to network address, the APK title etc. of submission, eventually by APK by information on the page answered Download interface obtains the APK of customization, simple and convenient.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all Any modification, equivalent replacement, improvement and so within the spirit and principles in the present invention, are all contained in protection scope of the present invention It is interior.
It should be understood that
Algorithm and display be not inherently related to any certain computer, virtual bench or other equipment provided herein. Various fexible units can also be used together with teachings based herein.As described above, it constructs required by this kind of device Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed Meaning one of can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice Microprocessor or digital signal processor (DSP) service to realize that offer Android packet APK according to an embodiment of the present invention is customized Device in some or all components some or all functions.The present invention is also implemented as executing institute here Some or all device or device programs of the method for description are (for example, computer program and computer program produce Product).It is such to realize that program of the invention can store on a computer-readable medium, or can have one or more The form of signal.Such signal can be downloaded from an internet website to obtain, and perhaps be provided on the carrier signal or to appoint What other forms provides.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame Claim.
A1, a kind of Android packet APK that provides customize the method serviced, wherein this method comprises:
Formulate general APK frame;It include browser kernel in the APK frame;
Receive the network address that user provides;
The network address that the user provides is added in the APK frame, the customized APK is packaged into;
The customized APK is returned into the user.
A2, the method as described in A 1, wherein the network address that the user provides is added in the APK frame includes:
By the network address that the user provides be added in the APK frame and with the browser kernel in the APK frame It is associated, so that when customized APK operation, the browser kernel loads and renders the network address, described in realization The operation logic that the corresponding webpage of network address includes.
A 3, the method as described in A 1, wherein this method further comprises:
The multiple JS interfaces for realizing different function are provided, so that the corresponding webpage of network address that the user provides is executing phase The calling when operation logic answered.
A4, the method as described in A 1, wherein this method further comprises:
The multiple JS interfaces for realizing different function are provided;
Receive the logic function description information that the user provides;
According to the logic function description information that the user provides, corresponding logic function is generated based on the multiple JS interface It can code;
The network address that the logic function code and the user provide is added in the APK frame, is packaged into The customized APK.
A 5, the method as described in A 1, wherein
This method further comprises: receiving the APK title and mark picture that user provides;
It is described that be packaged into the customized APK include: the APK name nominating being packaged into the offer of the user , and using the mark picture that the user provides as the APK of icon.
A 6, the method as described in any one of A 1-A 5, wherein
This method further comprises: receiving the various information that the user is submitted by terminal device;
And the customized APK is returned into the user and submits terminal device used in various information.
A 7, the method as described in any one of A 1-A 5, wherein
This method further comprises: providing APK and customizes site for service, information submission is provided on the page of the website and is connect Mouthful, the various information for submitting user described in interface to submit by the information;
And APK download interface is provided on the page of the website, so that the user is downloaded by the APK download interface The customized APK.
B8, a kind of the Android packet APK device of customization service is provided, wherein the device includes:
Frame formulates unit, suitable for formulating general APK frame;It include browser kernel in the APK frame;
User interface section, the network address provided suitable for receiving user, and suitable for returning to the customized APK The user;
Service unit is customized, the network address suitable for providing the user is added in the APK frame, is packaged into the use The APK of family customization.
B9, the device as described in B 8, wherein
The customization service unit, the network address suitable for providing the user be added in the APK frame and with it is described Browser kernel in APK frame is associated, so that the browser kernel loads simultaneously when customized APK operation The network address is rendered, realizes the operation logic that the corresponding webpage of the network address includes.
B 10, the device as described in B 8, wherein
The customization service unit is further adapted for providing the multiple JS interfaces for realizing different function, for the user The corresponding webpage of the network address of offer is called when executing corresponding operation logic.
B 11, the device as described in B 8, wherein
The user interface section is further adapted for receiving the logic function description information that the user provides;
The customization service unit is further adapted for providing the multiple JS interfaces for realizing different function, according to the user The logic function description information of offer generates corresponding logic function code based on the multiple JS interface;By the logic function The network address that energy code and the user provide is added in the APK frame, is packaged into the customized APK.
B 12, the device as described in B 8, wherein
The user interface section is further adapted for receiving the APK title and mark picture that user provides;
The customization service unit is further adapted for being packaged into the APK name nominating of the offer of the user, and Using the mark picture that the user provides as the APK of icon.
B 13, the device as described in any one of B 8-B 12, wherein
The user interface section, the various information submitted suitable for receiving the user by terminal device, and by institute It states customized APK and returns to terminal device used in user's submission various information.
B 14, the device as described in any one of B 8-B 12, wherein
The user interface section is adapted to provide for APK customization site for service, provides information on the page of the website and submit Interface, the various information for submitting user described in interface to submit by the information;And APK is provided on the page of the website Download interface, so that the user downloads the customized APK by the APK download interface.

Claims (14)

1. a kind of provide the Android packet APK method of customization service, wherein this method comprises:
Formulate general APK frame;It include browser kernel in the APK frame;
Receive the network address that user provides;
The network address that the user provides is added in the APK frame, the customized APK is packaged into;
The customized APK is returned into the user;
This method further comprises: providing the multiple JS interfaces for realizing different function;
Receive the logic function description information that the user provides;
According to the logic function description information that the user provides, in corresponding logic function generation, is generated based on the multiple JS interface Code;
The network address that the logic function code and the user provide is added in the APK frame, is packaged into described Customized APK.
2. the method for claim 1, wherein the network address that the user provides is added in the APK frame and includes:
The network address that the user provides is added in the APK frame and related to the browser kernel in the APK frame Connection realizes the network address so that the browser kernel loads and render the network address when customized APK operation The operation logic that corresponding webpage includes.
3. the method for claim 1, wherein this method further comprises:
The multiple JS interfaces for realizing different function are provided, so that the corresponding webpage of network address that the user provides is executing accordingly It is called when operation logic.
4. the method for claim 1, wherein
This method further comprises: receiving the APK title and mark picture that user provides;
It is described that be packaged into the customized APK include: the APK name nominating being packaged into the offer of the user, with And using the mark picture that the user provides as the APK of icon.
5. such as method of any of claims 1-4, wherein
This method further comprises: receiving the various information that the user is submitted by terminal device;
And the customized APK is returned into the user and submits terminal device used in various information.
6. such as method of any of claims 1-4, wherein
This method further comprises: providing APK and customizes site for service, information is provided on the page of the website and submits interface, is led to Cross the various information that the information submits user described in interface to submit;
And APK download interface is provided on the page of the website, so that the user passes through described in APK download interface downloading Customized APK.
7. a kind of provide the Android packet APK device of customization service, wherein the device includes:
Frame formulates unit, suitable for formulating general APK frame;It include browser kernel in the APK frame;
User interface section, the network address provided suitable for receiving user, and it is described suitable for returning to the customized APK User;
Service unit is customized, the network address suitable for providing the user is added in the APK frame, and it is fixed to be packaged into the user The APK of system;
The user interface section is further adapted for receiving the logic function description information that the user provides;
The customization service unit is further adapted for providing the multiple JS interfaces for realizing different function, be provided according to the user Logic function description information, corresponding logic function code is generated based on the multiple JS interface;By the logic function generation The network address that code is provided with the user is added in the APK frame, is packaged into the customized APK.
8. device as claimed in claim 7, wherein
The customization service unit, the network address suitable for providing the user be added in the APK frame and with the APK frame Browser kernel in frame is associated, so that the browser kernel is loaded and rendered when customized APK operation The network address realizes the operation logic that the corresponding webpage of the network address includes.
9. device as claimed in claim 7, wherein
The customization service unit is further adapted for providing the multiple JS interfaces for realizing different function, for user offer The corresponding webpage of network address called when executing corresponding operation logic.
10. device as claimed in claim 7, wherein
The user interface section is further adapted for receiving the APK title and mark picture that user provides;
The customization service unit is further adapted for being packaged into the APK name nominating of the offer of the user, and with institute APK of the mark picture of user's offer as icon is provided.
11. the device as described in any one of claim 7-10, wherein
The user interface section, the various information submitted suitable for receiving the user by terminal device, and by the use The APK of family customization returns to the user and submits terminal device used in various information.
12. the device as described in any one of claim 7-10, wherein
The user interface section is adapted to provide for APK customization site for service, and information submission is provided on the page of the website and is connect Mouthful, the various information for submitting user described in interface to submit by the information;And it is provided under APK on the page of the website Interface is carried, so that the user downloads the customized APK by the APK download interface.
13. a kind of electronic equipment, wherein include: processor;And it is arranged to the storage of storage computer executable instructions Device, the executable instruction make the processor execute method according to claim 1 to 6 when executed.
14. a kind of computer readable storage medium, wherein the computer-readable recording medium storage one or more program, One or more of programs are when the electronic equipment for being included multiple application programs executes, so that the electronic equipment executes root According to method of any of claims 1-6.
CN201510512639.2A 2015-08-19 2015-08-19 It is a kind of that the Android packet APK method and apparatus of customization service are provided Active CN105117222B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510512639.2A CN105117222B (en) 2015-08-19 2015-08-19 It is a kind of that the Android packet APK method and apparatus of customization service are provided

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510512639.2A CN105117222B (en) 2015-08-19 2015-08-19 It is a kind of that the Android packet APK method and apparatus of customization service are provided

Publications (2)

Publication Number Publication Date
CN105117222A CN105117222A (en) 2015-12-02
CN105117222B true CN105117222B (en) 2019-05-31

Family

ID=54665224

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510512639.2A Active CN105117222B (en) 2015-08-19 2015-08-19 It is a kind of that the Android packet APK method and apparatus of customization service are provided

Country Status (1)

Country Link
CN (1) CN105117222B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110060134B (en) * 2019-04-26 2020-12-29 天津店主助手科技有限公司 APP association method and system, sharing method and system, terminal and medium
CN110275730A (en) * 2019-05-28 2019-09-24 广州九尾信息科技有限公司 A kind of method and device based on Android platform JavaScript customization serviceization
CN112363732A (en) * 2020-10-15 2021-02-12 深圳市明源云科技有限公司 Website packaging method and device, terminal equipment and computer readable storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572089A (en) * 2014-12-26 2015-04-29 北京京东尚科信息技术有限公司 Method and device for generating android installation package

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103593396A (en) * 2013-10-08 2014-02-19 北京奇虎科技有限公司 Network resource extracting method and device based on browser
CN103686365A (en) * 2013-12-11 2014-03-26 上海巍岭数码科技有限公司 Android set top box system under B/S service model

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572089A (en) * 2014-12-26 2015-04-29 北京京东尚科信息技术有限公司 Method and device for generating android installation package

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"webview的使用--JS接口";hanjieson;《http://blog.csdn.net/hanjieson/article/details/10207023》;20130823;第1-3页
将HTML5封装成android应用APK 文件若干方法;萌萌的It人;《https://blog.csdn.net/dyllove98/article/details/8831841》;20130421;第1-3页

Also Published As

Publication number Publication date
CN105117222A (en) 2015-12-02

Similar Documents

Publication Publication Date Title
CN105068813B (en) It is a kind of that the Android packet APK method and apparatus of modification service are provided
CN105354014B (en) Application interface renders methods of exhibiting and device
CN105765527B (en) The method and apparatus of software development kit (SDK) for customization
CN105814539B (en) The method and apparatus generated for code virtualization and remote process call
CN110187878A (en) A kind of page generation method and device
US10088980B2 (en) Method and system for providing menu data for mobile applications
CN105117222B (en) It is a kind of that the Android packet APK method and apparatus of customization service are provided
WO2010075268A2 (en) Framework versioning
CN102981846B (en) The method that Password Input frame element is processed and browser
CN107451162A (en) Network resource accession equipment, mixing apparatus and method
CN108228551B (en) excel data import method, device, equipment and computer readable storage medium
CN105574755A (en) Method and device of providing front-end service
CN103631587A (en) Software installation package customization method and server
US10540150B2 (en) Composable context menus
CN106549996A (en) Device using method and washing machine based on Quick Response Code
CN104463642A (en) Advertisement filtering processing method and device and browser client side
CN105631650A (en) Method and device for realizing universal front end payment service
CN103631619A (en) Software mounting method and terminal
CN110597564A (en) Installation package construction and service component loading method, device and terminal equipment
CN108363574B (en) Front-end customization method and device based on SDK, terminal equipment and storage medium
CN103957234A (en) Method for sending download files in browser and browser device
CN112214202B (en) Mobile phone program development system without writing codes
CN102999580B (en) Password input frame element processing method and browser
CN106933851A (en) Render the methods, devices and systems of webpage
CN109032696A (en) A kind of page tune method, terminal and computer storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220707

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right