A kind of wallpaper social contact method and its system
Technical field
The present invention relates to mobile terminal social application programming arts, and in particular to a kind of wallpaper social contact method and its system.
Background technique
General social application program is all to need user to enter inside application program to carry out wallpaper setting again after selected wallpaper,
And wallpaper content is Editor's Pick, social application program can only also carry out picture transmitting, picture can not be directly disposed as
The desktop wallpaper of user, such operation is relatively complicated, is not able to satisfy the individual demand of user.
Summary of the invention
The purpose of the present invention exactly overcomes the deficiencies of the prior art and provide a kind of realization wallpaper social interaction, enriches wallpaper
Show the wallpaper social contact method of form.
Another object to realize the present invention, invention also provide a kind of wallpaper social intercourse system.
In order to achieve the above object, a kind of wallpaper social contact method is adopted the following technical scheme that, the method is answered in social activity
With what is realized under program, the described method comprises the following steps:
S1, the data information for obtaining the currently used wallpaper picture of good friend;
The director data that S2, edit requests good friend's wallpaper change, believes according to the data of the currently used wallpaper picture of good friend
Breath, from the wallpaper picture of identical wallpaper image data information is loaded in this map office to current wallpaper editing interface;
S3, the wallpaper picture loaded is cut out according to the dimension scale of the currently used wallpaper of good friend;
S4, wallpaper editing interface are equipped with the list of animation textures, choose the animation textures in list and drag to current wallpaper
On picture;
The location information of S5, record animation textures on wallpaper;
After S6, wallpaper edit, the wallpaper currently editted and animation textures information data are generated change by application program
It instructs and the application program for sending most intimate friend friend receives;
S7, good friend application program receive wallpaper change request instruction after, wallpaper picture data are loaded as in memory
Bitmap object is arranged onto desktop wallpaper layer, animation textures data is carried out drafting and playing animation in Tabletop cover sublayer, with reality
The change of existing wallpaper.
Further, the animation textures zoom in and out, rotate according to demand, moving, mirror image.
Further, location information of the animation textures on wallpaper includes coordinate of the animation textures on wallpaper, size
And rotation angle information.
Further, the animation textures are png format, and are set in animation textures list container.
For the another object for realizing invention, the present invention also adopts the following technical scheme that a kind of wallpaper social intercourse system, the system
System is realized under social application program, the system comprises:
Acquiring unit obtains the data information of the currently used wallpaper picture of good friend;
Edit cell, the director data of edit requests good friend's wallpaper change, according to the currently used wallpaper picture of good friend
Data information, from the wallpaper picture of identical wallpaper image data information is loaded in this map office to current wallpaper editing interface;Root
The wallpaper picture loaded is cut out according to the dimension scale of the currently used wallpaper of good friend;Wallpaper editing interface is equipped with animation
Textures list is chosen the animation textures in list and is dragged on current wallpaper picture;Record position of the animation textures on wallpaper
Confidence breath;
Command unit is sent, after wallpaper edits, application program is by the wallpaper currently editted and animation textures Information Number
According to generate alteration command and send most intimate friend friend application program reception;
Changing unit, after the application program of good friend receives wallpaper change request instruction, by wallpaper picture data in memory
It is loaded as bitmap object, in setting to desktop wallpaper layer, animation textures data in Tabletop cover sublayer is drawn and played is dynamic
It draws, to realize the change of wallpaper.
Further, the animation textures zoom in and out, rotate according to demand, moving, mirror image.
Further, location information of the animation textures on wallpaper includes coordinate of the animation textures on wallpaper, size
And rotation angle information.
Further, the animation textures are png format, and are set in animation textures list container.
Compared with prior art, the beneficial effects of the present invention are: the present invention to obtain the currently used wallpaper picture of good friend
Data information;The director data of edit requests good friend's wallpaper change, believes according to the data of the currently used wallpaper picture of good friend
Breath, from the wallpaper picture of identical wallpaper image data information is loaded in this map office to current wallpaper editing interface;According to wallpaper
Dimension scale the wallpaper picture loaded is cut out;Wallpaper editing interface is equipped with the list of animation textures, can choose column
Animation textures in table simultaneously drag on current wallpaper picture;Record location information of the animation textures on wallpaper;Wallpaper editor
After good, the wallpaper currently editted and animation textures information data are generated alteration command and send answering for most intimate friend friend by application program
It is received with program;After the application program of good friend receives wallpaper change request instruction, wallpaper picture data are loaded as in memory
Bitmap object is arranged onto desktop wallpaper layer, animation textures data is carried out drafting and playing animation in Tabletop cover sublayer, with reality
The change of existing wallpaper.The present invention realizes the interaction of the wallpaper between good friend, and user only needs to send picture wallpaper in the application,
Good friend can automatically be set as desktop after receiving, and provide the animation textures of wallpaper, and abundant wallpaper shows form.
Detailed description of the invention
Fig. 1 is the module diagram of wallpaper social intercourse system of the present invention.
Fig. 2 is the flow chart of wallpaper social contact method of the present invention.
Specific embodiment
Come that the present invention will be described in detail below in conjunction with attached drawing and specific implementation method, it is of the invention it is schematic implement and
Illustrate for explaining the present invention, but not as a limitation of the invention.
As shown in Figure 1, a kind of wallpaper social intercourse system, the system is realized under social application program, the system
Include:
Acquiring unit obtains the data information of the currently used wallpaper picture of good friend;
Edit cell, the director data of edit requests good friend's wallpaper change, according to the currently used wallpaper picture of good friend
Data information, from the wallpaper picture of identical wallpaper image data information is loaded in this map office to current wallpaper editing interface;Root
The wallpaper picture loaded is cut out according to the dimension scale of wallpaper;Wallpaper editing interface is equipped with the list of animation textures, can be with
It chooses the animation textures in list and drags on current wallpaper picture;Record location information of the animation textures on wallpaper, institute
Stating location information of the animation textures on wallpaper includes coordinate, size and rotation angle information of the animation textures on wallpaper;Institute
It states animation textures and can zoom in and out, rotate according to demand, moving, mirror image;The animation textures are png format, and are set to
In animation textures list container, by clicking animation textures, event response is chosen textures and is shown on picture, and passes through dragging etc.
The position that mode changes textures allows textures to cover in wallpaper picture.
Command unit is sent, after wallpaper edits, application program is by the wallpaper currently editted and animation textures Information Number
According to generate alteration command and send most intimate friend friend application program reception;
Changing unit, after the application program of good friend receives wallpaper change request instruction, by wallpaper picture data in memory
It is loaded as bitmap object, in setting to desktop wallpaper layer, animation textures data in Tabletop cover sublayer is drawn and played is dynamic
It draws, to realize the change of wallpaper.
As shown in Fig. 2, a kind of wallpaper social contact method, the method is realized under social application program, the method
The following steps are included:
S101: the data information of the currently used wallpaper picture of good friend is obtained;
S102: the director data of edit requests good friend's wallpaper change, according to the data of the currently used wallpaper picture of good friend
Information, from the wallpaper picture of identical wallpaper image data information is loaded in this map office to current wallpaper editing interface;
S103: the wallpaper picture loaded is cut out according to the dimension scale of wallpaper;
S104: wallpaper editing interface is equipped with the list of animation textures, can choose the animation textures in list and drag to and work as
In preceding wallpaper picture;
S105: location information of the record animation textures on wallpaper,
Location information of the animation textures on wallpaper includes coordinate, size and rotation angle of the animation textures on wallpaper
Spend information;The animation textures can zoom in and out according to demand, rotate, moving, mirror image;The animation textures are png format,
And it is set in animation textures list container;
S106: after wallpaper edits, application program, which generates the wallpaper currently editted and animation textures information data, to be become
It more instructs and the application program for sending most intimate friend friend receives;
S107: after the application program of good friend receives wallpaper change request instruction, wallpaper picture data are loaded in memory
For bitmap object, it is arranged onto desktop wallpaper layer, animation textures data is subjected to drafting and playing animation in Tabletop cover sublayer, with
Realize the change of wallpaper.
If function described in the present embodiment be realized in the form of SFU software functional unit and as independent product sale or
In use, can store in a storage medium readable by a compute device.Based on this understanding, the embodiment of the present invention is to existing
Having the part for the part or the technical solution that technology contributes can be embodied in the form of software products, which produces
Product are stored in a storage medium, including some instructions are used so that a calculating equipment (can be personal computer, service
Device, mobile computing device or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.And
Storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory
The various media that can store program code such as device (RAM, Random Access Memory), magnetic or disk.This explanation
Each embodiment is described in a progressive manner in book, the highlights of each of the examples are it is different from other embodiments it
Locate, same or similar part may refer to each other between each embodiment.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention.
Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest scope of cause.