1461107711-ba9c4a01-9f28-4507-831a-ee5da9280b78

1. A method of enabling a game to be played on an electronic device, the method comprising:
enabling a game application on the electronic device to utilize a contact list for an instant messaging (IM) application for playing games with contacts in the contact list; and
during game play with a particular contact in the contact list, preparing game messages to be sent to the particular contact by including data in an IM message and an identifier to associate the data with the game application.
2. The method according to claim 1, further comprising maintaining game in progress data based on the game messages.
3. The method according to claim 2, wherein the game messages comprise game progress for a particular game in progress, the method further comprising updating the game in progress data upon sending or receiving a game message.
4. The method according to claim 1, further comprising associating a contact list entry in the contact list with a game in progress associated with the game messages.
5. The method according to claim 4, further comprising displaying a graphical user interface (GUI) for the game in progress upon detecting selection of the contact list entry associated with the game in progress.
6. The method according to claim 5, further comprising maintaining game in progress data upon switching away from the GUI to enable the game in progress to be resumed upon a re-invocation of the GUI.
7. The method according to claim 6, further comprising, upon the game in progress ending, removing the game in progress association with the contact list entry.
8. The method according to claim 4, further comprising displaying a notification of a new move received for the game in progress in a new game message.
9. A computer readable storage medium comprising computer executable instructions for enabling a game to be played on an electronic device, the computer readable medium comprising instructions for:
enabling a game application on the electronic device to utilize a contact list for an instant messaging (IM) application for playing games with contacts in the contact list; and
during game play with a particular contact in the contact list, preparing game messages to be sent to the particular contact by including data in an IM message and an identifier to associate the data with the game application.
10. The computer readable storage medium according to claim 9, further comprising instructions for maintaining game in progress data based on the game messages.
11. The computer readable storage medium according to claim 10, wherein the game messages comprise game progress for a particular game in progress, the computer readable storage medium further comprising instructions for updating the game in progress data upon sending or receiving a game message.
12. The computer readable storage medium according to claim 9, further comprising instructions for associating a contact list entry in the contact list with a game in progress associated with the game messages.
13. The computer readable storage medium according to claim 12, further comprising instructions for displaying a graphical user interface (GUI) for the game in progress upon detecting selection of the contact list entry associated with the game in progress.
14. The computer readable storage medium according to claim 13, further comprising instructions for maintaining game in progress data upon switching away from the GUI to enable the game in progress to be resumed upon a re-invocation of the GUI.
15. The computer readable storage medium according to claim 14, further comprising instructions for, upon the game in progress ending, removing the game in progress association with the contact list entry.
16. The computer readable storage medium according to claim 12, further comprising instructions for displaying a notification of a new move received for the game in progress in a new game message.
17. An electronic device comprising a processor, display, an instant messaging (IM) application, and a memory, the memory storing computer executable instructions for enabling a game to be played on the electronic device, the computer executable instructions comprising instructions for:
enabling a game application on the electronic device to utilize a contact list for an instant messaging (IM) application for playing games with contacts in the contact list; and
during game play with a particular contact in the contact list, preparing game messages to be sent to the particular contact by including data in an IM message and an identifier to associate the data with the game application.
18. The electronic device according to claim 17, further comprising instructions for maintaining game in progress data based on the game messages.
19. The electronic device according to claim 18, wherein the game messages comprise game progress for a particular game in progress, the memory further comprising instructions for updating the game in progress data upon sending or receiving a game message.
20. The electronic device according to claim 17, further comprising instructions for associating a contact list entry in the contact list with a game in progress associated with the game messages.
21. The electronic device according to claim 20, further comprising instructions for displaying a graphical user interface (GUI) for the game in progress upon detecting selection of the contact list entry associated with the game in progress.
22. The electronic device according to claim 21, further comprising instructions for maintaining game in progress data upon switching away from the GUI to enable the game in progress to be resumed upon a re-invocation of the GUI.
23. The electronic device according to claim 22, further comprising instructions for, upon the game in progress ending, removing the game in progress association with the contact list entry.
24. The electronic device according to claim 20, further comprising instructions for displaying a notification of a new move received for the game in progress in a new game message.
25. A method comprising:
displaying in a first portion of a screen for a mobile device, a game application interface for a game in progress;
displaying in a second portion of the screen, an instant messaging (IM) conversation between players associated with the game in progress;
enabling game moves to be executed in the first portion of the screen; and
enabling an IM conversation to occur between the players in the second portion of the screen.
26. A method comprising:
displaying, on a screen for a mobile device, a game application interface for a game in progress;
enabling an instant messaging (IM) conversation to occur between players associated with the game in progress; and
displaying new instant messages over top of the game application interface.
27. The method according to claim 26, wherein the new instant messages are displayed over top of the game application interface for a limited period of time.

The claims below are in addition to those above.
All refrences to claim(s) which appear below refer to the numbering after this setence.

1. A method for patching element defects by ink-jet printing, comprising steps of:
identifying a plurality of defect positions on a element;
obtaining an optimal ink-jet printing patching path covering said defect positions in a shortest distance based on position of a nozzle of ink-jet head; and
printing and patching said defects along said optimal patching path.
2. The method for patching defects of an element by ink-jet printing according to claim 1, wherein said step of identifying a plurality of defect positions comprises steps of:
capturing an image of said element;
removing noise from said image and establishing an image template;
pixelizing said image template and splitting it into a plurality of smaller images; and
analyzing and obtaining said defect positions through comparison of said image template to a standard template.
3. The method for patching defects of an element by ink-jet printing according to claim 2, wherein said step of removing noise and establishing an image template comprises steps of:
removing unnecessary image portions through a threshold of image segmentation;
rotating and aligning said image to a right position and detecting edge and calibrating said image to comply with physical measurements;
pre-processing said image to remove noise; and
filtering background of said image through image subtraction and comparison of said image template to said standard template.
4. The method for patching defects of an element by ink-jet printing according to claim 3, wherein said step of pre-processing said image comprises noise removal, color range conversion, increasing contrast, binary transformation and extract color planes.
5. The method for patching defects of an element by ink-jet printing according to claim 2, wherein said step of analyzing and obtaining said defect positions comprises steps of:
identifying a plurality of defects through pattern matching;
calculating area of each defect;
calculating necessary patching positions for each defect; and
setting said patching positions as defect positions.
6. The method for patching defects of an element by ink-jet printing according to claim 1, wherein said step of obtaining an optimal ink-jet printing patching path covering said defect positions in a shortest distance comprises steps of:
a) establishing a plurality of defect coordinates (Xi,Yi), i=1 to n;
b) referring on a reference coordinate (X0,Y0) of said nozzle of ink-jet head, and calculating distances Ri between said reference point and said plurality of defect positions, Ri=((Xi\u2212X0)2+(Yi\u2212Y0)2)12; and
c) selecting a defect position with a minimal Ri value as a next patching position.
7. The method for patching defects of an element by ink-jet printing according to claim 6, wherein said patching position is preset with coordinate of said nozzle and repeating said steps b) and c) for obtaining said next patching position till all defect positions are taken to form said optimal path.
8. The method for patching defects of an element by ink-jet printing according to claim 1, further comprises a step of labeling said defect positions to indicate patching status to speed up calculation in patch position.
9. The method for patching defects of an element by ink-jet printing according to claim 8, further comprises a step of checking said position labeling to verify finishing of said patching.
10. The method for patching defects of an element by ink-jet printing according to claim 1, further comprises a step of pre-oscillating ink in said nozzle and stabilizing said ink-jet printing.
11. The method for patching defects of an element by ink-jet printing according to claim 10, wherein said step of pre-oscillating is to provide pre-oscillating pulses to said nozzle with energy lower than an ejection voltage, while maintaining oscillation of ink in said nozzle to prevent ink from being dried and clogging said nozzle when said ink-jet head moving in said path between non-adjacent defect positions.