CN102314366A - npk packaging tool and method for making and installing NPK format installation package of Android program - Google Patents

npk packaging tool and method for making and installing NPK format installation package of Android program Download PDF

Info

Publication number
CN102314366A
CN102314366A CN201110266237A CN201110266237A CN102314366A CN 102314366 A CN102314366 A CN 102314366A CN 201110266237 A CN201110266237 A CN 201110266237A CN 201110266237 A CN201110266237 A CN 201110266237A CN 102314366 A CN102314366 A CN 102314366A
Authority
CN
China
Prior art keywords
file
npk
apk
android
data
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.)
Pending
Application number
CN201110266237A
Other languages
Chinese (zh)
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.)
FUZHOU BOYUAN WIRELESS NETWORK TECHNOLOGY Co Ltd
Original Assignee
FUZHOU BOYUAN WIRELESS NETWORK TECHNOLOGY 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 FUZHOU BOYUAN WIRELESS NETWORK TECHNOLOGY Co Ltd filed Critical FUZHOU BOYUAN WIRELESS NETWORK TECHNOLOGY Co Ltd
Priority to CN201110266237A priority Critical patent/CN102314366A/en
Publication of CN102314366A publication Critical patent/CN102314366A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention provides an npk packaging tool and a method for making and installing an NPK format installation package of an Android program. According to the method, the integration of an apk file, a data file and an xml configuration file in an npk file is realized, the npk file comprises at least one apk file; at least one data file is made for one apk file; information of the apk file, the package name of an apk application program, the version number of the apk application program, a data file and a catalog of mobile phone storage cards needing to the uploaded for a data package are recorded in the xml configuration file; and the npk file is installed on android equipment. By adopting the tool and the method provided by the invention, a game manufacturer can package needed game programs and data into an NPK format installation package, an APK program of a game is installed to the internal storage of a mobile phone in the software installing process, an A data package is automatically installed in a storage card without occupying any internal storage, and manual intervention is not required, so that one-click setup is truly realized, and great convenience is brought to users.

Description

Npk strapping tool and making and the method that Android program NPK form installation kit is installed
[technical field]
The present invention relates to a kind of npk strapping tool and utilize this npk strapping tool to make and install the method for Android program NPK form installation kit.
[background technology]
Because being installed to store on the card to software, the characteristic of Android system itself has certain obstacle always; And the packet tens M M up to a hundred easily of recreation your writing; The game developer has to game design is become a little APK master routine; Packet through WIFI or the online download games of cell phone network after installing blocks to storing, and all is processing like this like the A Fanda under the Gameloft, elite's racing car.Though do the installation that to accomplish recreation like this but operation is too loaded down with trivial details.Moreover domestic WIFI popularity rate is not high; Cell phone network is downloaded slowly and flow costs an arm and a leg; Each big mobile phone-downloaded website directly offers user's download with the packet packing; Manually be placed into the SD card, a solution of also can yet be regarded as still acquires a certain degree of difficulty but for some new hands, operate.
The NPK form is by the software installation kit form of a kind of Android of the being applicable to system of the imperial company of net exploitation, can directly install through 91 mobile phone assistants.With respect to traditional APK form, the advantage of NPK form is and can directly bigger game data bag be downloaded to the SD card.
[summary of the invention]
One of technical matters that the present invention will solve is to provide a kind of npk strapping tool, is applicable to the software installation kit form of Android system, can directly install through 91 mobile phone assistants.
Above-mentioned technical matters adopts following technical proposals to realize: a kind of npk strapping tool; It is characterized in that: this npk strapping tool has been realized with the npk integrating documents apk file, data file, these 3 parts of xml configuration file; Make a npk file comprise at least one apk file; At least one data file of apk paper formulation; Said xml configuration file has write down information, the apk application package name of apk file, the catalogue of the mobile phone memory card that the version number of apk application program, data file, packets need are uploaded.
Described npk strapping tool further comprises:
Add file module: be used at least one apk file, at least one data file are added into the npk file;
Revise data file and upload catalogue module: the catalogue that is used to revise the mobile phone memory card that packets need uploads;
Integrate module: be used to integrate and add good apk file, data file and the said catalogue of uploading, generate the xml configuration file simultaneously;
Compression module: integrate module is integrated good apk file, data file, uploaded catalogue and npk file of xml configuration file compression generation.
Two of the technical matters that the present invention will solve; Be to provide a kind of method of making and installing Android program NPK form installation kit, recreation manufacturer can become NPK form installation kit with the games of needs with packing data, and software can be mounted to mobile phone EMS memory or storage card with the APK program of recreation in installation process; Packet then is installed to automatically to store and blocks not committed memory; Also need not manual intervention, really realize key installation, use easily.
Above-mentioned technical matters adopts following technical proposals to realize: a kind of method of making and installing Android program NPK form installation kit is characterized in that comprising the steps:
Step 10, utilize npk strapping tool as claimed in claim 1 to make Android program NPK form installation kit, apk program file, packet file are incorporated in the npk file with the xml configuration file that uploads to android stores catalogue about packet;
Step 20, said npk file is installed on the android equipment: at first resolve the npk file; Obtain apk, data file and xml configuration file; Start Android Debug Bridge driver to operating system registration pipeline and through pipeline then, the apk file is installed and is uploaded data file to the path of the storage card of the android equipment of formulating.
Parsing npk file in the said step 20 is to be carried out automatically by 91 mobile phone assistants on the android equipment.
The present invention has following advantage:
1, npk strapping tool of the present invention is applicable to the software installation kit form of Android system, can directly install through 91 mobile phone assistants, and with respect to traditional APK form, the advantage of NPK form is and can directly bigger game data bag be downloaded to the SD card.
2, the method for making of the present invention and installation Android program NPK form installation kit; Recreation manufacturer can become NPK form installation kit with the games of needs with packing data; Software can be mounted to mobile phone EMS memory (2.2 above android firmwares can select to be mounted to mobile phone EMS memory or storage card) with the APK program of recreation in installation process, packet then is installed to automatically to store and blocks not committed memory, also need not manual intervention; The real key of realizing is installed, and uses easily.
[description of drawings]
Combine embodiment that the present invention is further described with reference to the accompanying drawings.
Fig. 1 is the Organization Chart through the npk file of npk strapping tool generation of the present invention.
Fig. 2 is the software architecture figure of an embodiment of npk strapping tool of the present invention.
Fig. 3 is that client of the present invention realizes making Android program NPK form installation kit process flow diagram.
Fig. 4 is that the present invention installs Android program NPK form installation kit process flow diagram.
[embodiment]
The invention provides a kind of npk strapping tool; As shown in Figure 1; This npk strapping tool has been realized with the npk integrating documents apk file, data file, these 3 parts of xml configuration file, makes a npk file comprise at least one apk file, at least one data file of apk paper formulation; Be the npk file with the relation of apk file be the relation more than 1 pair; The apk file also is the relation more than 1 pair with data file, and said xml configuration file has write down information, the apk application package name of apk file, the information such as catalogue of the mobile phone memory card that the version number of apk application program, data file, packets need are uploaded.
As shown in Figure 2, npk strapping tool of the present invention can be explained through following software module:
Add file module: be used at least one apk file, at least one data file are added into the npk file;
Revise data file and upload catalogue module: the catalogue that is used to revise the mobile phone memory card that packets need uploads;
Integrate module: be used to integrate and add good apk file, data file and the said catalogue of uploading, generate the xml configuration file simultaneously;
Compression module: integrate module is integrated good apk file, data file, uploaded catalogue and npk file of xml configuration file compression generation.
Wherein the generation of Xml configuration file can adopt following program to carry out:
Figure BDA0000089968120000041
When specifically being provided with; One " browsing ", " interpolation file " can be provided on the main interface of this npk strapping tool, and perhaps " interpolation file " button is related with said interpolation file module; It is related that input frame and " modification path " button that " this resource is installed to: " be provided on npk strapping tool master interface and said modification data file are uploaded catalogue module, is used to revise data file and need uploads to the path of mobile phone memory card and click and come into force.On npk strapping tool master interface, provide one " generating the NPK bag " button related with integrate module.So, the client can adopt following step to carry out when using this npk strapping tool:
(1). operation NPK strapping tool;
(2). add the apk installation kit: click the Browse button on the npk strapping tool master interface, eject file selection box, select this locality to need the apk installation kit that adds;
(3). add data file: " the interpolation file " on the click npk strapping tool master interface be " interpolation file " button perhaps, ejects file selection box, selects this locality to need the data file of adding;
(4). choose data, in the input frame of npk strapping tool master interface " this resource is installed to: ", revise the path that data file need upload to mobile phone memory card, click " modification path " button, promptly come into force.
(5). after data are ready, click " generating the NPK bag " button, the npk instrument is just integrated the file that these three key elements of mobile phone memory card catalogue that apk installation kit, data file, data file upload to generate the npk form.
(6). the file of the npk form of generation comprises three partial contents, one: apk program file, two: packet, three: configuration file: npk.xml.
Said n pk strapping tool is applicable to the software installation kit form of Android system, can directly install through 91 mobile phone assistants on the Android equipment, is very much convenient.
In conjunction with Fig. 3 and shown in Figure 4, utilize above-mentioned npk strapping tool, making of the present invention and the method that Android program NPK form installation kit is installed comprise the steps:
Step 10, utilize the npk strapping tool to make Android program NPK form installation kit, apk program file, packet file are incorporated in the npk file with the xml configuration file that uploads to android stores catalogue about packet;
Step 20, said npk file is installed on the android equipment: at first resolve the npk file; Obtain apk file, data file and xml configuration file; Start Android Debug Bridge driver to operating system registration pipeline and through pipeline then, the apk file is installed and is uploaded data file to the path of the storage card of the android equipment of formulating.Parsing npk file in this step 20 can be carried out by 91 mobile phone assistants on the android equipment automatically.
Specify the detailed process of step 20 below in conjunction with Fig. 4:
1, program start is resolved the npk file, if resolve successfully, obtains apk program file, packet file and xml configuration file, carries out next step, if unsuccessful explanation npk file is installed failure, termination routine.
2, start Android Debug Bridge driver to operating system registration pipeline and through pipeline then; Execution command adb install [1] [r] [s] < file>installs the apk file and uploads data file to the path of the storage card of the android equipment of formulating; If install successfully; Carry out next step, if failure, then termination routine are installed.
3, upload packet, fill order adb push < local>< romote>uploads, if upload success, prompting is installed successfully, termination routine, if upload failure, then failure, termination routine are installed in prompting.
As stated; Making of the present invention and the method that Android program NPK form installation kit is installed, recreation manufacturer can become NPK form installation kit with the games of needs with packing data, and software can be mounted to mobile phone EMS memory or storage card with the APK program of recreation in installation process; Packet then is installed to automatically to store and blocks not committed memory; Also need not manual intervention, really realize key installation, use easily.
Though more than described embodiment of the present invention; But the technician who is familiar with the present technique field is to be understood that; We described concrete embodiment is illustrative; Rather than being used for qualification to scope of the present invention, those of ordinary skill in the art are in the modification and the variation of the equivalence of doing according to spirit of the present invention, all should be encompassed in the scope that claim of the present invention protects.

Claims (4)

1. npk strapping tool; It is characterized in that: this npk strapping tool has been realized with the npk integrating documents apk file, data file, these 3 parts of xml configuration file; Make a npk file comprise at least one apk file; At least one data file of apk paper formulation, said xml configuration file have write down information, the apk application package name of apk file, the catalogue of the mobile phone memory card that the version number of apk application program, data file, packets need are uploaded.
2. npk strapping tool according to claim 1 is characterized in that: further comprise:
Add file module: be used at least one apk file, at least one data file are added into the npk file;
Revise data file and upload catalogue module: the catalogue that is used to revise the mobile phone memory card that packets need uploads;
Integrate module: be used to integrate and add good apk file, data file and the said catalogue of uploading, generate the xml configuration file simultaneously;
Compression module: integrate module is integrated good apk file, data file, uploaded catalogue and npk file of xml configuration file compression generation.
3. a method of making and installing Android program NPK form installation kit is characterized in that comprising the steps:
Step 10, utilize npk strapping tool as claimed in claim 1 to make Android program NPK form installation kit, apk program file, packet file are incorporated in the npk file with the xml configuration file that uploads to android stores catalogue about packet;
Step 20, said npk file is installed on the android equipment: at first resolve the npk file; Obtain apk, data file and xml configuration file; Start Android Debug Bridge driver to operating system registration pipeline and through pipeline then, the apk file is installed and is uploaded data file to the path of the storage card of the android equipment of formulating.
4. making according to claim 3 and the method that Android program NPK form installation kit is installed, it is characterized in that: the parsing npk file in the said step 20 is to be carried out automatically by 91 mobile phone assistants on the android equipment.
CN201110266237A 2011-09-08 2011-09-08 npk packaging tool and method for making and installing NPK format installation package of Android program Pending CN102314366A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110266237A CN102314366A (en) 2011-09-08 2011-09-08 npk packaging tool and method for making and installing NPK format installation package of Android program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110266237A CN102314366A (en) 2011-09-08 2011-09-08 npk packaging tool and method for making and installing NPK format installation package of Android program

Publications (1)

Publication Number Publication Date
CN102314366A true CN102314366A (en) 2012-01-11

Family

ID=45427559

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110266237A Pending CN102314366A (en) 2011-09-08 2011-09-08 npk packaging tool and method for making and installing NPK format installation package of Android program

Country Status (1)

Country Link
CN (1) CN102314366A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102902566A (en) * 2012-09-29 2013-01-30 广东欧珀移动通信有限公司 Method and device for installing and starting application software
CN103077061A (en) * 2013-01-16 2013-05-01 珠海市君天电子科技有限公司 Installing method of application software in Android equipment and system
CN103092663A (en) * 2013-02-04 2013-05-08 东莞宇龙通信科技有限公司 A method and device for installing an application program in a terminal
CN103425503A (en) * 2012-05-18 2013-12-04 宇龙计算机通信科技(深圳)有限公司 Method and system for managing applications based on Android and communication terminal
CN103729188A (en) * 2013-12-31 2014-04-16 福建三元达软件有限公司 Android system application program development method, Android system application program running method and Android system application program running device
CN104035860A (en) * 2013-03-07 2014-09-10 腾讯科技(深圳)有限公司 Method, device and system for generating test tasks of intelligent terminal software package
CN105487874A (en) * 2015-12-11 2016-04-13 电子科技大学 Unified management method for HTML5 web application and native application in mobile terminal
CN106033335A (en) * 2015-03-11 2016-10-19 腾讯科技(深圳)有限公司 An installation package generating method and device
CN111782263A (en) * 2020-07-22 2020-10-16 网易(杭州)网络有限公司 Game packaging processing method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101561762A (en) * 2008-04-18 2009-10-21 鸿富锦精密工业(深圳)有限公司 Software installation procedure packing system and method
CN101699400A (en) * 2009-09-03 2010-04-28 中兴通讯股份有限公司 Method and system for generating and running installation program of client
CN101799757A (en) * 2010-01-22 2010-08-11 华为终端有限公司 Method and device for integrating JAVA software to mobile terminal as well as mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101561762A (en) * 2008-04-18 2009-10-21 鸿富锦精密工业(深圳)有限公司 Software installation procedure packing system and method
CN101699400A (en) * 2009-09-03 2010-04-28 中兴通讯股份有限公司 Method and system for generating and running installation program of client
CN101799757A (en) * 2010-01-22 2010-08-11 华为终端有限公司 Method and device for integrating JAVA software to mobile terminal as well as mobile terminal

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103425503A (en) * 2012-05-18 2013-12-04 宇龙计算机通信科技(深圳)有限公司 Method and system for managing applications based on Android and communication terminal
CN102902566A (en) * 2012-09-29 2013-01-30 广东欧珀移动通信有限公司 Method and device for installing and starting application software
CN103077061A (en) * 2013-01-16 2013-05-01 珠海市君天电子科技有限公司 Installing method of application software in Android equipment and system
CN103092663B (en) * 2013-02-04 2016-01-13 东莞宇龙通信科技有限公司 A kind of method of set up applications in the terminal and device
CN103092663A (en) * 2013-02-04 2013-05-08 东莞宇龙通信科技有限公司 A method and device for installing an application program in a terminal
CN104035860A (en) * 2013-03-07 2014-09-10 腾讯科技(深圳)有限公司 Method, device and system for generating test tasks of intelligent terminal software package
CN104035860B (en) * 2013-03-07 2018-04-20 腾讯科技(深圳)有限公司 Intelligent terminal software bag test assignment generation method, device and system
CN103729188A (en) * 2013-12-31 2014-04-16 福建三元达软件有限公司 Android system application program development method, Android system application program running method and Android system application program running device
CN103729188B (en) * 2013-12-31 2017-06-16 恒鸿达科技有限公司 The development approach of android system application program, operation method, running gear
CN106033335A (en) * 2015-03-11 2016-10-19 腾讯科技(深圳)有限公司 An installation package generating method and device
CN105487874A (en) * 2015-12-11 2016-04-13 电子科技大学 Unified management method for HTML5 web application and native application in mobile terminal
CN111782263A (en) * 2020-07-22 2020-10-16 网易(杭州)网络有限公司 Game packaging processing method and device
CN111782263B (en) * 2020-07-22 2024-01-23 网易(杭州)网络有限公司 Game packaging processing method and device

Similar Documents

Publication Publication Date Title
CN102314366A (en) npk packaging tool and method for making and installing NPK format installation package of Android program
CN102541572B (en) A kind of method, system and device realizing operating system nucleus and guide
US9021427B2 (en) Conversion methods of applications of mobile devices and mobile devices and systems using the same
CN102411506B (en) Java-system business-unit plug-in type managing system and dynamic business-function changing method
KR100826871B1 (en) METHOD AND SYSTEM FOR PROVIDING STREAMING GAME SOFTWARE FOR PORTABLE TERMINAL
Meier et al. Professional Android
CN104156243B (en) A kind of application distribution and the system and method for quick load operating
CN104765627A (en) Smart device, and wearable device and application program installing and uninstalling method thereof
CN103259936B (en) Operating system upgrade method for mobile terminal and operating system upgrade device of operating system upgrade method
CN102184110B (en) SD smart card identification and driver loading method and system
CN107370804B (en) Software application processing method and device
CN102591667A (en) Method and device for remote publishing application
CN102455912A (en) Runtime extensions
CN102065118A (en) Method for updating network equipment and device for implementing method
CN102902531A (en) Customization and generation method and device of Android application program
CN101216773A (en) Embedded Linux system firmware downloading method and device
CN102243592A (en) Method and set top box for realizing multiple upgrading ways in Loader system
WO2013117039A1 (en) Software upgrading method and device
CN107577622A (en) Back end interface analogy method, equipment and storage medium
CN101008898A (en) Update and repair method of intellectualized equipment and system thereof
CN104750463A (en) A plug-in developing method and system
CN101505339B (en) Implementation method for directly deploying mobile phone application program from computer onto mobile phone
CN102004657A (en) Electronic equipment and updating method thereof
CN101800910A (en) Simulation system, PC side simulator and mobile phone side agent client
CN106569972A (en) USB interface-based JTAG one-chip microcomputer wireless emulator and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120111