CN105117222A - Method and apparatus for providing android package (APK) customization service - Google Patents

Method and apparatus for providing android package (APK) customization service Download PDF

Info

Publication number
CN105117222A
CN105117222A CN201510512639.2A CN201510512639A CN105117222A CN 105117222 A CN105117222 A CN 105117222A CN 201510512639 A CN201510512639 A CN 201510512639A CN 105117222 A CN105117222 A CN 105117222A
Authority
CN
China
Prior art keywords
apk
user
framework
network address
customization
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.)
Granted
Application number
CN201510512639.2A
Other languages
Chinese (zh)
Other versions
CN105117222B (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

Landscapes

  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method and an apparatus for providing an android package (APK) customization service. The method comprises: making a universal APK framework, wherein the APK framework contains a browser kernel; receiving a website address provided by a user; adding the website address provided by the user into the APK framework and packaging the APK framework into an APK customized by the user; and returning the APK customized by the user to the user. The method has the beneficial effect of simply and quickly generating the APK, and meanwhile is universal; for the user who does not understand an APK programming technology, the user is only required to provide the website address for generating the APK required for the user; and the problem that an APK programming technician is required to specially write the APK when the user hopes to customize the APK without a very complicated function is solved, so that the APK development time is greatly shortened, and time advantage and technical convenience are provided for the user to promote and use the APK.

Description

A kind ofly provide the Android bag APK method and apparatus of customize services
Technical field
The present invention relates to application development field, particularly a kind ofly provide the Android bag APK method and apparatus of customize services.
Background technology
Android system is as the open source system of develop rapidly in recent years, and be widely applied in smart mobile phone and other sci-tech products, the third party application that this system-based is developed also presents volatile rising tendency.Many companies, when promotion business and product, also not only depend on original leaflet, phone, note, website promotion means, wish exploitation Android application program and are distributed to popularization object.The Android bag APK of Android application program has the features such as volume is little, easy for installation, distribution channel is extensive, ways of distribution is simple, can simply install by downloading, scanning the modes such as Quick Response Code.And user wishes that the APK developed often needs APK programming technique personnel to carry out writing of specialty, wastes time and energy, and function needed for user often user company's site comprised, very not complicated.
Such as, certain company wishes to promote new product, carry out product introduction in company official website by the independent page and bought the setting of function, also wish a Android application program that there is product introduction and buy function of exploitation simultaneously, prior art is utilized can only again to write JAVA code according to the demand of user, expend time in, may business opportunity be incured loss through delay.
Summary of the invention
In view of the above problems, propose the present invention in case provide a kind of overcome the problems referred to above or solve the problem at least in part the Android bag APK method and apparatus of customize services is provided.
According to one aspect of the present invention, providing a kind ofly provides the Android bag APK method of customize services, comprising: formulate general APK framework; Browser kernel is comprised in described APK framework; Receive the network address that user provides; The network address that described user provides is added in described APK framework, is packaged into the APK of described customization; The APK of described customization is returned to described user.
Alternatively, the network address that described user provides is added to described APK framework to comprise: the network address that described user provides to be added in described APK framework and to be associated with the browser kernel in described APK framework, make the described browser kernel when the APK of described customization runs load and play up described network address, realize the operation logic that webpage corresponding to described network address comprises.
Alternatively, the method comprises further: provide the multiple JS interfaces realizing difference in functionality, and webpage corresponding to the network address provided for described user calls when performing corresponding operation logic.
Alternatively, the method comprises further: provide the multiple JS interfaces realizing difference in functionality; Receive the logic function descriptor that described user provides; According to the logic function descriptor that described user provides, generate corresponding logic function code based on described multiple JS interface; The network address that described logic function code and described user provide together is added in described APK framework, is packaged into the APK of described customization.
Alternatively, the method comprises further: the APK title that reception user provides and mark picture; The described APK being packaged into described customization comprises: be packaged into the APK name nominating provided of described user, and the mark picture provided using described user is as the APK of icon.
Alternatively, the method comprises further: receive the various information that described user is submitted to by terminal device; And the APK of described customization returned to the terminal device that described user submits to various information to use.
Alternatively, the method comprises further: provide APK customize services website, the page of this website provides information submit interface to, submits by this information the various information that described in interface, user submits to; And APK download interface is provided on the page of this website, make described user download the APK of described customization by this APK download interface.
According to another aspect of the present invention, providing a kind ofly provides the Android bag APK device of customize services, comprising: framework formulates unit, is suitable for formulating general APK framework; Browser kernel is comprised in described APK framework; User interface section, is suitable for the network address that reception user provides, and is suitable for the APK of described customization to return to described user; Customize services unit, is suitable for the network address that described user provides to add in described APK framework, is packaged into the APK of described customization.
Alternatively, described customize services unit, to be suitable for the network address that described user provides to add in described APK framework and to be associated with the browser kernel in described APK framework, make the described browser kernel when the APK of described customization runs load and play up described network address, realize the operation logic that webpage corresponding to described network address comprises.
Alternatively, described customize services unit, is further adapted for the multiple JS interfaces providing and realize difference in functionality, and webpage corresponding to the network address provided for described user calls when performing corresponding operation logic.
Alternatively, described user interface section, is further adapted for the logic function descriptor receiving described user and provide; Described customize services unit, is further adapted for the multiple JS interfaces providing and realize difference in functionality, according to the logic function descriptor that described user provides, generates corresponding logic function code based on described multiple JS interface; The network address that described logic function code and described user provide together is added in described APK framework, is packaged into the APK of described customization.
Alternatively, described user interface section, is further adapted for and receives the APK title that provides of user and mark picture; Described customize services unit, is further adapted for and is packaged into the APK name nominating provided of described user, and the mark picture provided using described user is as the APK of icon.
Alternatively, described user interface section, is suitable for receiving the various information that described user is submitted to by terminal device, and the APK of described customization is returned to the terminal device that described user submits to various information to use.
Alternatively, described user interface section, is suitable for providing APK customize services website, the page of this website provides information submit interface to, submits by this information the various information that described in interface, user submits to; And APK download interface is provided on the page of this website, make described user download the APK of described customization by this APK download interface.
Of the present inventionly provide the Android bag APK method of customize services, by formulating the general APK framework comprising browser kernel, and the network address that reception user provides, and added in APK framework, be packaged into the APK of customization, again the APK of described customization is returned to described user, there is simple, to generate APK fast beneficial effect, the method also has versatility simultaneously, to the user not understanding APK programming technique, also can only need user to provide network address, just can generate the APK required for user.Solve when user wishes the very not complicated APK of customization function, also the problem of the programming technique personnel bespoke APK relying on APK is needed, considerably reduce the APK development time, for user promotes, uses APK to provide temporal advantage and technical facility.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of instructions, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 shows a kind of process flow diagram providing the method for Android bag APK customize services that the embodiment of the present invention provides;
Fig. 2 show the embodiment of the present invention and provide another the process flow diagram of the method for Android bag APK customize services is provided;
Fig. 3 shows a kind of structural drawing providing the device of Android bag APK customize services that the embodiment of the present invention provides.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
Fig. 1 shows a kind of process flow diagram providing the method for Android bag APK customize services that the embodiment of the present invention provides, and as shown in Figure 1, the method comprises:
Step S110, formulates general APK framework; Browser kernel is comprised in APK framework.
In Android system, built-in a high-performance Web kitt kernel browser, is encapsulated as the assembly that is called WebView in SDK (Software Development Kit) SDK.The browser kernel comprised in the APK framework that the present embodiment provides also can adopt WebView to realize, and APK framework can adopt NativeC code to write.
Step S120, receives the network address that user provides.
Step S130, network address user provided is added in APK framework, is packaged into the APK of customization.
Step S140, returns to user by the APK of customization.
Method shown in Fig. 1, by formulating the general APK framework comprising browser kernel, and the network address that reception user provides, and added in APK framework, be packaged into the APK of customization, again the APK of customization is returned to user, have simple, to generate APK fast beneficial effect, the method also has versatility, to the user not understanding APK programming technique simultaneously, also can only need user to provide network address, just can generate the APK required for user.Solve when user wishes the very not complicated APK of customization function, also the problem of the programming technique personnel bespoke APK relying on APK is needed, considerably reduce the APK development time, for user promotes, uses APK to provide temporal advantage and technical facility.
In one embodiment of the invention, in method shown in Fig. 1, network address user provided is added APK framework to and is comprised: network address user provided to be added in APK framework and is associated with the browser kernel in APK framework, make the browser kernel when the APK of customization runs load and play up network address, realize the operation logic that webpage corresponding to network address comprises.
Info web corresponding to the network address that user provides not merely comprises some exhibition information, as picture, text etc., may also include some and web page to the interactive function of object, such as to buy, ballot etc.Now need to adopt such as the WebView of the browser kernel in APK framework to realize each operation logic of the network address that user provides, purchase or voting function etc. can be completed as clicked certain icon, this ensure that user provides all functions of network address intactly to present.
In one embodiment of the invention, the method shown in Fig. 1 comprises further: provide the multiple JS interfaces realizing difference in functionality, and webpage corresponding to the network address provided for user calls when performing corresponding operation logic.
Adopt JS Interface realization operation logic, the reusability of system similar modular blocks can be improved, make inhomogeneous communication more firm.The method that the present embodiment provides is a kind of general method realizing Android bag APK customize services, namely each is wished to the user of customization APK, can function when not changing APK framework needed for completing user.And the function needed for different user is much repetition, the such as modes of payments, the modes such as the common modes of payments has bank card fast to pay, the payment of micro-letter, Alipay payment, and the JS interface that correspondence required for these functions is called is identical, does not need for each APK develops separately.So the multiple JS interfaces realizing difference in functionality only need be provided in APK framework, as micro-letter payment interface, Alipay payment interface etc., webpage corresponding to the network address that namely can provide user calls when performing corresponding operation logic, simplifies exploitation operation, shortens the development time.
Fig. 2 show the embodiment of the present invention and provide another the process flow diagram of the method for Android bag APK customize services is provided, as shown in Figure 2, the method comprises:
Step S210, provides the multiple JS interfaces realizing difference in functionality.
Step S220, receives the logic function descriptor that user provides.
Step S230, according to the logic function descriptor that user provides, generates corresponding logic function code based on multiple JS interface.
Step S240, network address logic function code and user provided together is added in APK framework, is packaged into the APK of customization.
Browser kernel such as WebView can not realize all logic functions needed for user, and such as, due to security restriction, the logic function needed for a lot of user directly cannot be realized by WebView, now can be realized by the mode calling JS interface.In the present embodiment, user to required logic function, as secret protection etc. is described, by logic function descriptor, can generate corresponding logic function code based on multiple JS interface.Like this in the APK of encapsulation, the network address that general APK framework only need comprise logic function code and user to be provided can realize all functions needed for user, is namely not limited to the function achieved by WebView, meets the demand of user to a greater extent.
In one embodiment of the invention, the method shown in Fig. 1 comprises further: the APK title that reception user provides and mark picture.The APK being packaged into customization comprises: be packaged into the APK name nominating provided of user, and the mark picture provided using user is as the APK of icon.
Android application program can attract to use an importance of object to be exactly the icon of application program, because the desktop of Android system can present the icon of application program, user wishes that icon has aesthetic feeling naturally.And as the supplier of application program, also wish that the application program of oneself has sufficiently high discrimination.Present embodiments provide a kind of method being provided APK title and mark picture by user, user can give a name to oneself wanting the APK customized, and makes the icon attracted eyeball, improves the attention rate of product.Similarly, can add at application program launching interface and welcome picture, then only need add before APK encapsulation and welcome picture.
In one embodiment of the invention, said method comprises further: receive the various information that user is submitted to by terminal device; And the APK of customization returned to the terminal device that user submits to various information to use.
Present embodiments provide the mode that user submits various information to, namely user passes through at terminal device, as various information panel computer, smart mobile phone being submitted to desired customization APK comprise, as website, APK title, mark picture etc., and the APK customized is received by terminal device, achieve remote interaction, the mode customizing and receive APK is all very easy.
In one embodiment of the invention, said method comprises further: provide APK customize services website, the page of this website provides information submit interface to, the various information submitting to interface user to submit to by this information; And APK download interface is provided on the page of this website, make the APK that user is customized by this APK download interface download user.
The present embodiment further provides the mode that a kind of APK of customization service provides, namely APK customize services website is provided, user only need log in this website, information needed for the corresponding page is inputted by information submission interface is as the network address, APK title etc. that need submit to, the APK of customization is obtained eventually through APK download interface, simple and convenient.
Fig. 3 shows a kind of structural drawing providing the device of Android bag APK customize services that the embodiment of the present invention provides, and as shown in Figure 3, provides the device 300 of Android bag APK customize services to comprise:
Framework formulates unit 310, is suitable for formulating general APK framework; Browser kernel is comprised in APK framework.
In Android system, built-in a high-performance webkit kernel browser, is encapsulated as the assembly that is called WebView in SDK (Software Development Kit) SDK.The browser kernel comprised in the APK framework that the present embodiment provides also can adopt WebView to realize, and APK framework can adopt NativeC code to write.
User interface section 320, is suitable for the network address that reception user provides, and is suitable for the APK of customization to return to user.
Customize services unit 330, the network address being suitable for user being provided is added in APK framework, is packaged into the APK of customization.
Device shown in Fig. 3, formulate unit 310 by framework and formulate the general APK framework comprising browser kernel, and adopt user interface section 320 to receive the network address that user provides, and added in APK framework by customize services unit 330, be packaged into the APK of customization, by user interface section 320, the APK of customization is returned to user again, have simple, the beneficial effect of quick generation APK, this device also has versatility simultaneously, to the user not understanding APK programming technique, also can user be only needed to provide network address, just the APK required for user can be generated.Solve when user wishes the very not complicated APK of customization function, also the problem of the programming technique personnel bespoke APK relying on APK is needed, considerably reduce the APK development time, for user promotes, uses APK to provide temporal advantage and technical facility.
In one embodiment of the invention, in device shown in Fig. 3, customize services unit 330, the network address being suitable for user being provided to be added in APK framework and is associated with the browser kernel in APK framework, make the browser kernel when the APK of customization runs load and play up network address, realize the operation logic that webpage corresponding to network address comprises.
Info web corresponding to the network address that user provides not merely comprises some exhibition information, as picture, text etc., may also include some and web page to the interactive function of object, such as to buy, ballot etc.Now need to adopt such as the WebView of the browser kernel in APK framework to realize each operation logic of the network address that user provides, purchase or voting function etc. can be completed as clicked certain icon, this ensure that user provides all functions of network address intactly to present.
In one embodiment of the invention, in the device shown in Fig. 3, customize services unit 330, is further adapted for the multiple JS interfaces providing and realize difference in functionality, and webpage corresponding to the network address provided for user calls when performing corresponding operation logic.
Adopt JS Interface realization operation logic, the reusability of system similar modular blocks can be improved, make inhomogeneous communication more firm.The device that the present embodiment provides universally can realize Android bag APK customize services, namely each is wished to the user of customization APK, can function when not changing APK framework needed for completing user.And the function needed for different user is much repetition, the such as modes of payments, the modes such as the common modes of payments has bank card fast to pay, the payment of micro-letter, Alipay payment, and the JS interface that correspondence required for these functions is called is identical, does not need for each APK develops separately.So the multiple JS interfaces realizing difference in functionality only need be provided in APK framework, as micro-letter payment interface, Alipay payment interface etc., webpage corresponding to the network address that namely can provide user calls when performing corresponding operation logic, simplifies exploitation operation, shortens the development time
In one embodiment of the invention, in the device shown in Fig. 3, user interface section 320, is further adapted for the logic function descriptor receiving user and provide.
Customize services unit 330, is further adapted for the multiple JS interfaces providing and realize difference in functionality, according to the logic function descriptor that user provides, generates corresponding logic function code based on multiple JS interface; Network address logic function code and user provided together is added in APK framework, is packaged into the APK of customization.
Browser kernel such as WebView can not realize all logic functions needed for user, and such as, due to security restriction, the logic function needed for a lot of user directly cannot be realized by WebView, now can be realized by the mode calling JS interface.In the present embodiment, user to required logic function, as secret protection etc. is described, by logic function descriptor, can generate corresponding logic function code based on multiple JS interface.Like this in the APK of encapsulation, the network address that general APK framework only need comprise logic function code and user to be provided can realize all functions needed for user, is namely not limited to the function achieved by WebView, meets the demand of user to a greater extent.
In one embodiment of the invention, in the device shown in Fig. 3, user interface section 320, is further adapted for and receives the APK title that provides of user and mark picture;
Customize services unit 330, is further adapted for and is packaged into the APK name nominating provided of user, and the mark picture provided using user is as the APK of icon.
Android application program can attract to use an importance of object to be exactly the icon of application program, because the desktop of Android system can present the icon of application program, user wishes that icon has aesthetic feeling naturally.And as the supplier of application program, also wish that the application program of oneself has sufficiently high discrimination.The device of the present embodiment can provide APK title and mark picture by user, and user can give a name to oneself wanting the APK customized, and makes the icon attracted eyeball, improves the attention rate of product.Similarly, can add at application program launching interface and welcome picture, then only need add before APK encapsulation and welcome picture.
In one embodiment of the invention, in said apparatus, user interface section 320, is suitable for receiving the various information submitted to by terminal device of user, and the APK of customization is returned to the terminal device that user submits to various information to use.
The device of the present embodiment can accept the various information that user is submitted to by terminal device, as user passes through at terminal device, as various information panel computer, smart mobile phone being submitted to desired customization APK comprise, as website, APK title, mark picture etc.And by the APK customized is returned to user by terminal device, achieve remote interaction, customization and to receive the mode of APK all very easy.
In one embodiment of the invention, in said apparatus, user interface section 320, be suitable for providing APK customize services website, the page of this website provide information submit interface to, the various information submitting to interface user to submit to by this information; And APK download interface is provided on the page of this website, make user download the APK of described customization by this APK download interface.
The device of the present embodiment further provides a kind of APK customize services website, user only need log in this website, information needed for the corresponding page is inputted by information submission interface, as the network address, APK title etc. that need submit to, obtains the APK of customization eventually through APK download interface, simple and convenient.
The foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.All any amendments done within the spirit and principles in the present invention, equivalent replacement, improvement etc., be all included in protection scope of the present invention.
It should be noted that:
Intrinsic not relevant to any certain computer, virtual bench or miscellaneous equipment with display at this algorithm provided.Various fexible unit also can with use based on together with this teaching.According to description above, the structure constructed required by this kind of device is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In instructions provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary array mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions that the some or all parts in the device of Android bag APK customize services are provided that microprocessor or digital signal processor (DSP) can be used in practice to realize according to the embodiment of the present invention.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
A1, a kind ofly provide the Android bag APK method of customize services, wherein, the method comprises:
Formulate general APK framework; Browser kernel is comprised in described APK framework;
Receive the network address that user provides;
The network address that described user provides is added in described APK framework, is packaged into the APK of described customization;
The APK of described customization is returned to described user.
A2, method as described in A1, wherein, the network address that described user provides is added to described APK framework and comprise:
The network address that described user provides to be added in described APK framework and to be associated with the browser kernel in described APK framework, make the described browser kernel when the APK of described customization runs load and play up described network address, realize the operation logic that webpage corresponding to described network address comprises.
A3, method as described in A1, wherein, the method comprises further:
There is provided the multiple JS interfaces realizing difference in functionality, webpage corresponding to the network address provided for described user calls when performing corresponding operation logic.
A4, method as described in A1, wherein, the method comprises further:
The multiple JS interfaces realizing difference in functionality are provided;
Receive the logic function descriptor that described user provides;
According to the logic function descriptor that described user provides, generate corresponding logic function code based on described multiple JS interface;
The network address that described logic function code and described user provide together is added in described APK framework, is packaged into the APK of described customization.
A5, method as described in A1, wherein,
The method comprises further: the APK title that reception user provides and mark picture;
The described APK being packaged into described customization comprises: be packaged into the APK name nominating provided of described user, and the mark picture provided using described user is as the APK of icon.
A6, method according to any one of A1-A5, wherein,
The method comprises further: receive the various information that described user is submitted to by terminal device;
And the APK of described customization returned to the terminal device that described user submits to various information to use.
A7, method according to any one of A1-A5, wherein,
The method comprises further: provide APK customize services website, the page of this website provides information submit interface to, submits by this information the various information that described in interface, user submits to;
And APK download interface is provided on the page of this website, make described user download the APK of described customization by this APK download interface.
B8, a kind ofly provide the Android bag APK device of customize services, wherein, this device comprises:
Framework formulates unit, is suitable for formulating general APK framework; Browser kernel is comprised in described APK framework;
User interface section, is suitable for the network address that reception user provides, and is suitable for the APK of described customization to return to described user;
Customize services unit, is suitable for the network address that described user provides to add in described APK framework, is packaged into the APK of described customization.
B9, device as described in B8, wherein,
Described customize services unit, to be suitable for the network address that described user provides to add in described APK framework and to be associated with the browser kernel in described APK framework, make the described browser kernel when the APK of described customization runs load and play up described network address, realize the operation logic that webpage corresponding to described network address comprises.
B10, device as described in B8, wherein,
Described customize services unit, is further adapted for the multiple JS interfaces providing and realize difference in functionality, and webpage corresponding to the network address provided for described user calls when performing corresponding operation logic.
B11, device as described in B8, wherein,
Described user interface section, is further adapted for the logic function descriptor receiving described user and provide;
Described customize services unit, is further adapted for the multiple JS interfaces providing and realize difference in functionality, according to the logic function descriptor that described user provides, generates corresponding logic function code based on described multiple JS interface; The network address that described logic function code and described user provide together is added in described APK framework, is packaged into the APK of described customization.
B12, device as described in B8, wherein,
Described user interface section, is further adapted for and receives the APK title that provides of user and mark picture;
Described customize services unit, is further adapted for and is packaged into the APK name nominating provided of described user, and the mark picture provided using described user is as the APK of icon.
B13, device according to any one of B8-B12, wherein,
Described user interface section, is suitable for receiving the various information that described user is submitted to by terminal device, and the APK of described customization is returned to the terminal device that described user submits to various information to use.
B14, device according to any one of B8-B12, wherein,
Described user interface section, is suitable for providing APK customize services website, the page of this website provides information submit interface to, submits by this information the various information that described in interface, user submits to; And APK download interface is provided on the page of this website, make described user download the APK of described customization by this APK download interface.

Claims (10)

1. provide an Android bag APK method for customize services, wherein, the method comprises:
Formulate general APK framework; Browser kernel is comprised in described APK framework;
Receive the network address that user provides;
The network address that described user provides is added in described APK framework, is packaged into the APK of described customization;
The APK of described customization is returned to described user.
2. the method for claim 1, wherein the network address that described user provides is added to described APK framework to comprise:
The network address that described user provides to be added in described APK framework and to be associated with the browser kernel in described APK framework, make the described browser kernel when the APK of described customization runs load and play up described network address, realize the operation logic that webpage corresponding to described network address comprises.
3. the method for claim 1, wherein the method comprises further:
There is provided the multiple JS interfaces realizing difference in functionality, webpage corresponding to the network address provided for described user calls when performing corresponding operation logic.
4. the method for claim 1, wherein the method comprises further:
The multiple JS interfaces realizing difference in functionality are provided;
Receive the logic function descriptor that described user provides;
According to the logic function descriptor that described user provides, generate corresponding logic function code based on described multiple JS interface;
The network address that described logic function code and described user provide together is added in described APK framework, is packaged into the APK of described customization.
5. the method for claim 1, wherein
The method comprises further: the APK title that reception user provides and mark picture;
The described APK being packaged into described customization comprises: be packaged into the APK name nominating provided of described user, and the mark picture provided using described user is as the APK of icon.
6. provide an Android bag APK device for customize services, wherein, this device comprises:
Framework formulates unit, is suitable for formulating general APK framework; Browser kernel is comprised in described APK framework;
User interface section, is suitable for the network address that reception user provides, and is suitable for the APK of described customization to return to described user;
Customize services unit, is suitable for the network address that described user provides to add in described APK framework, is packaged into the APK of described customization.
7. device as claimed in claim 6, wherein,
Described customize services unit, to be suitable for the network address that described user provides to add in described APK framework and to be associated with the browser kernel in described APK framework, make the described browser kernel when the APK of described customization runs load and play up described network address, realize the operation logic that webpage corresponding to described network address comprises.
8. device as claimed in claim 6, wherein,
Described customize services unit, is further adapted for the multiple JS interfaces providing and realize difference in functionality, and webpage corresponding to the network address provided for described user calls when performing corresponding operation logic.
9. device as claimed in claim 6, wherein,
Described user interface section, is further adapted for the logic function descriptor receiving described user and provide;
Described customize services unit, is further adapted for the multiple JS interfaces providing and realize difference in functionality, according to the logic function descriptor that described user provides, generates corresponding logic function code based on described multiple JS interface; The network address that described logic function code and described user provide together is added in described APK framework, is packaged into the APK of described customization.
10. device as claimed in claim 6, wherein,
Described user interface section, is further adapted for and receives the APK title that provides of user and mark picture;
Described customize services unit, is further adapted for and is packaged into the APK name nominating provided of described user, and the mark picture provided using described user is as the APK of icon.
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 true CN105117222A (en) 2015-12-02
CN105117222B 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110060134A (en) * 2019-04-26 2019-07-26 天津店主助手科技有限公司 APP correlating 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 (3)

* 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
CN104572089A (en) * 2014-12-26 2015-04-29 北京京东尚科信息技术有限公司 Method and device for generating android installation package

Patent Citations (3)

* 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
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
HANJIESON: ""webview的使用--JS接口"", 《HTTP://BLOG.CSDN.NET/HANJIESON/ARTICLE/DETAILS/10207023》 *
萌萌的IT人: "将HTML5封装成android应用APK 文件若干方法", 《HTTPS://BLOG.CSDN.NET/DYLLOVE98/ARTICLE/DETAILS/8831841》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110060134A (en) * 2019-04-26 2019-07-26 天津店主助手科技有限公司 APP correlating method and system, sharing method and system, terminal and medium
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

Also Published As

Publication number Publication date
CN105117222B (en) 2019-05-31

Similar Documents

Publication Publication Date Title
CN105068813A (en) Method and device for providing android package (APK) modification service
CN101322096B (en) Metadata driven user interface
TWI703463B (en) Information display method, device and intelligent terminal
CN107070858B (en) Service processing method and device
CN104462262A (en) Method and device for achieving voice search and browser client side
CN101771993B (en) System and method thereof for realizing polymerization application based on mobile network
CN110049456A (en) A kind of method, device and mobile terminal showing Rich Media in mobile terminal
CN104462478A (en) Mobile browser client and webpage interacting method, device and client
CN103970855A (en) Device and method for processing data
CN104360937A (en) Intelligent parameter checking device
CN104144255A (en) Method for displaying communication identification in electronic device, client side and electronic device
CN105574755A (en) Method and device of providing front-end service
CN103631587A (en) Software installation package customization method and server
CN104967689B (en) A kind of data processing method and device
CN105631650A (en) Method and device for realizing universal front end payment service
CN104331306A (en) Content updating method, equipment and system
CN105786207A (en) Information input method and device
CN105117222A (en) Method and apparatus for providing android package (APK) customization service
CN103561115A (en) Method, open platform and system for obtaining electronic codes in real-time mode
CN104965690A (en) Method and apparatus for processing data
CN103631619A (en) Software mounting method and terminal
CN114338793A (en) Message pushing method and device, electronic equipment and readable storage medium
CN103957234A (en) Method for sending download files in browser and browser device
CN104899746A (en) Sale terminal and method for interaction with mobile device
CN103514035A (en) Method and device for having control over default application program of Android operating system

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