CN105138325A - Method for obtaining resources of electronic equipment - Google Patents

Method for obtaining resources of electronic equipment Download PDF

Info

Publication number
CN105138325A
CN105138325A CN201510487290.1A CN201510487290A CN105138325A CN 105138325 A CN105138325 A CN 105138325A CN 201510487290 A CN201510487290 A CN 201510487290A CN 105138325 A CN105138325 A CN 105138325A
Authority
CN
China
Prior art keywords
electronic equipment
apk
resource
obtaining
wallpaper
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
CN201510487290.1A
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.)
Wingtech Communication Co Ltd
Original Assignee
Wingtech Communication 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 Wingtech Communication Co Ltd filed Critical Wingtech Communication Co Ltd
Priority to CN201510487290.1A priority Critical patent/CN105138325A/en
Publication of CN105138325A publication Critical patent/CN105138325A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a method for obtaining resources of electronic equipment. The method comprises the steps as follows: an implementation mode is integrated into an android package (APK); and the APK is provided to be installed into the electronic equipment, so that obtaining of required resources of corresponding electronic equipment is achieved. The APK runs to generate a png picture which takes current time millimeters as the name in a built-in memory of a mobile phone; and the picture is the current mobile phone wallpaper. If a user wants the obtained system wallpaper to be set as the current wallpaper, the system wallpaper can be obtained by execution according to the method. In a third-party preset APK manner, obtaining of a resource-managing class of the wanted resource in the mobile phone resources is achieved by a third-party APK code. According to the method for obtaining the resources of the electronic equipment disclosed by the invention, the resource obtaining speed can be improved; and the usage experience of the user is improved.

Description

Obtain the method for electronic equipment resource
Technical field
The invention belongs to electronic information technical field, relate to a kind of resource acquisition system, particularly relate to a kind of method obtaining electronic equipment resource.
Background technology
The general degree of recognition in main flow UI interfacial effect market popular on the market is at present higher, will obtain market accreditation with prestissimo, making customized amendment based on main flow UI, is shortcut eaily, but the interface resources of main flow UI cannot obtain, UI repaints and consuming time longer.
In view of this, nowadays in the urgent need to designing a kind of new resource acquiring method, to overcome now methodical above-mentioned defect.
Summary of the invention
Technical matters to be solved by this invention is: provide a kind of method obtaining electronic equipment resource, can improve the speed of resource acquisition.
For solving the problems of the technologies described above, the present invention adopts following technical scheme:
Obtain a method for electronic equipment resource, described method comprises: implementation is integrated in APK, provides APK to be installed to electronic equipment internal, namely realizes the resource obtaining the respective electronic equipment needed.
As a preferred embodiment of the present invention, run this APK and generate the png picture that is title with current time millimeter in embedded in mobile phone stores, this picture is current phone wallpaper;
The system wallpaper gone for is set to current wallpaper and then can obtains system wallpaper according to said method execution.
As a preferred embodiment of the present invention, adopt third party preset APK mode, by third party APK codes implement to the acquisition of resource management class wanting Gains resources in mobile phone resources.
As a preferred embodiment of the present invention, third party preset APK installs in the later stage, and this APK has the right writing outside T card.
As a preferred embodiment of the present invention, the preset APK of third party has the authority obtaining system resource management associated class, obtains dependent resource management class.
As a preferred embodiment of the present invention, by obtaining related management class methods Gains resources object.
As a preferred embodiment of the present invention, by drawing, android supplying method class is correlated with by painting canvas, and the read-write right described in employing, is depicted as bmp file and is saved on external T card by resource object.
As a preferred embodiment of the present invention, described resource generating mode, the filename of generation is the png picture of title by current time millimeter, prevents the picture preserved when changing resource to be capped.
Beneficial effect of the present invention is: the method for the acquisition electronic equipment resource that the present invention proposes, and can improve the speed of resource acquisition, improve the experience of user.
Accompanying drawing explanation
Fig. 1 is the process flow diagram that the present invention obtains electronic equipment resource allocation method.
Embodiment
The preferred embodiments of the present invention are described in detail below in conjunction with accompanying drawing.
Embodiment one
Refer to Fig. 1, present invention is disclosed a kind of method obtaining electronic equipment resource, described method comprises: implementation is integrated in APK, provides APK to be installed to electronic equipment internal, namely realizes the resource obtaining the respective electronic equipment needed.
Run this APK and generate the png picture that is title with current time millimeter in embedded in mobile phone stores, this picture is current phone wallpaper.The system wallpaper gone for is set to current wallpaper and then can obtains system wallpaper according to said method execution.
The present invention adopts the preset APK mode of third party, by third party APK codes implement to the acquisition of resource management class wanting Gains resources in mobile phone resources.
In sum, the method for the acquisition electronic equipment resource that the present invention proposes, can improve the speed of resource acquisition, improves the experience of user.
Here description of the invention and application is illustrative, not wants by scope restriction of the present invention in the above-described embodiments.Distortion and the change of embodiment disclosed are here possible, are known for the replacement of embodiment those those of ordinary skill in the art and the various parts of equivalence.Those skilled in the art are noted that when not departing from spirit of the present invention or essential characteristic, the present invention can in other forms, structure, layout, ratio, and to realize with other assembly, material and parts.When not departing from the scope of the invention and spirit, can other distortion be carried out here to disclosed embodiment and change.

Claims (8)

1. obtain a method for electronic equipment resource, it is characterized in that, described method comprises:
Implementation is integrated in APK, provides APK to be installed to electronic equipment internal, namely realizes the resource obtaining the respective electronic equipment needed.
2. the method for acquisition electronic equipment resource according to claim 1, is characterized in that:
Run this APK and generate the png picture that is title with current time millimeter in embedded in mobile phone stores, this picture is current phone wallpaper;
The system wallpaper gone for is set to current wallpaper and then can obtains system wallpaper according to said method execution.
3. the method for acquisition electronic equipment resource according to claim 1, is characterized in that:
Adopt third party preset APK mode, by third party APK codes implement to the acquisition of resource management class wanting Gains resources in mobile phone resources.
4. the method for acquisition electronic equipment resource according to claim 1, is characterized in that:
Third party preset APK installs in the later stage, and this APK has the right writing outside T card.
5. the method for acquisition electronic equipment resource according to claim 1, is characterized in that:
The preset APK of third party has the authority obtaining system resource management associated class, obtains dependent resource management class.
6. the method for acquisition electronic equipment resource according to claim 1, is characterized in that:
By obtaining related management class methods Gains resources object.
7. the method for acquisition electronic equipment resource according to claim 1, is characterized in that:
By drawing, android supplying method class is correlated with by painting canvas, and the read-write right described in employing, is depicted as bmp file and is saved on external T card by resource object.
8. the method for acquisition electronic equipment resource according to claim 1, is characterized in that:
Described resource generating mode, the filename of generation is the png picture of title by current time millimeter, prevents the picture preserved when changing resource to be capped.
CN201510487290.1A 2015-08-10 2015-08-10 Method for obtaining resources of electronic equipment Pending CN105138325A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510487290.1A CN105138325A (en) 2015-08-10 2015-08-10 Method for obtaining resources of electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510487290.1A CN105138325A (en) 2015-08-10 2015-08-10 Method for obtaining resources of electronic equipment

Publications (1)

Publication Number Publication Date
CN105138325A true CN105138325A (en) 2015-12-09

Family

ID=54723683

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510487290.1A Pending CN105138325A (en) 2015-08-10 2015-08-10 Method for obtaining resources of electronic equipment

Country Status (1)

Country Link
CN (1) CN105138325A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070195105A1 (en) * 2006-02-17 2007-08-23 Anu Koberg Dynamic wallpaper on mobile communication device
CN102411497A (en) * 2011-07-20 2012-04-11 中兴通讯股份有限公司 Widget resource importing and exporting method and device
US20120254557A1 (en) * 2011-03-28 2012-10-04 Sony Ericsson Mobile Communications Ab Mobile terminal, memory card socket and method of writing protection for memory card in the mobile terminal
CN102810060A (en) * 2011-06-01 2012-12-05 腾讯科技(深圳)有限公司 Method and device for configuring Android picture resource
CN103838573A (en) * 2014-01-03 2014-06-04 浙江宇天科技股份有限公司 Application program generation method and device
CN103955372A (en) * 2014-04-30 2014-07-30 广东欧珀移动通信有限公司 Method and device for detecting resources in mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070195105A1 (en) * 2006-02-17 2007-08-23 Anu Koberg Dynamic wallpaper on mobile communication device
US20120254557A1 (en) * 2011-03-28 2012-10-04 Sony Ericsson Mobile Communications Ab Mobile terminal, memory card socket and method of writing protection for memory card in the mobile terminal
CN102810060A (en) * 2011-06-01 2012-12-05 腾讯科技(深圳)有限公司 Method and device for configuring Android picture resource
CN102411497A (en) * 2011-07-20 2012-04-11 中兴通讯股份有限公司 Widget resource importing and exporting method and device
CN103838573A (en) * 2014-01-03 2014-06-04 浙江宇天科技股份有限公司 Application program generation method and device
CN103955372A (en) * 2014-04-30 2014-07-30 广东欧珀移动通信有限公司 Method and device for detecting resources in mobile terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
俞木发: "解惑APK Android手机玩通透", 《电脑爱好者》 *

Similar Documents

Publication Publication Date Title
CN102932777A (en) Method for updating terminal application and user terminal
CN105204873B (en) A kind of terminal and application interface display methods
CN109428911A (en) Apparatus control method, device, terminal device and operating system
CN104615538A (en) Mobile phone application testing method based on mobile phone interface control elements
CN103365644A (en) Method and device for expanding software functions
CN105700925A (en) APP interface implementation method and apparatus
CN104978183A (en) Icon construction method, and terminal equipment
CN104615414A (en) Channel packet customization method and device
CN102480557B (en) BREW (Binary Runtime Environment for Wireless) platform-based mobile phone application program management method and system
US20150160827A1 (en) Method of interface control and electronic device thereof
CN102800045A (en) Image processing method and device
CN105204859A (en) Animation management method and system
CN106779576B (en) Configuration method of service field
CN105677445A (en) Application installation managing method, device and intelligent terminal
CN104134228A (en) Booting/shutdown animation making system and booting/shutdown animation making method based on Android system
CN106066794A (en) Switching on and shutting down cartoon making device, mobile terminal and method
CN105278971A (en) Mobile terminal installation package batch generation method and device
CN111045686A (en) Method for improving application decompilation speed, intelligent terminal and storage medium
CN104182532A (en) Terminal file cleaning method and device and terminal
KR102141749B1 (en) APP program execution method and device
CN109787746A (en) A kind of device-fingerprint generation method based on hardware characteristics
CN104238892A (en) Information processing method and electronic equipment
CN105138325A (en) Method for obtaining resources of electronic equipment
CN104281462A (en) Firmware upgrade configuration saving system and method
CN105813138A (en) Information processing method and first electronic device

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: 20151209