This application claims priority under 35 U.S.C. ยง119(a) to Korean Patent Application No. 10-2010-0011189, filed on Feb. 5, 2010, in the Korean Intellectual Property Office, the entire disclosure of which is incorporated herein by reference.
1. Field of the Invention
The present invention generally relates to a web-service in a mobile device, and more particularly, to a method and apparatus for selecting hyperlinks in a mobile device having a small screen.
2. Description of the Related Art
Recently, mobile devices have acquired the ability to browse the web, and accordingly, functions for facilitating web-browsing conveniently like in a desktop computer in the mobile devices are necessary. Specifically, a conventional mobile browser shows a web page that is produced to be suitable for a resolution of the desktop computer in an overview mode by reducing the size of the web page according to the resolution of the screen of the mobile device. In the reduced web page, it is difficult for a user of the mobile device to touch or click a hyperlink in the web page accurately. In particular, it becomes more difficult for a user to manipulate the web page when the mobile device uses a touch-type input using the fingers.
The present invention provides a method and apparatus for selecting a hyperlink by touching or clicking the hyperlink in a web page in a mobile device.
According to an aspect of the present invention, there is provided a method of selecting a hyperlink, the method including obtaining a coordinate corresponding to a touch or a click input when the touch or click input to a web page is sensed; searching for at least one candidate hyperlink existing near the coordinate; enlarging a region including the at least one candidate hyperlink; and changing the at least one candidate hyperlink to be distinguishable from other hyperlinks.
The method may further comprise outputting a predetermined sound so that the enlargement of the region including the candidate hyperlink is distinguished from a general screen enlargement.
The method may further comprise performing a function corresponding to a selected candidate hyperlink, when a touch or a click input of one of the candidate hyperlinks is sensed in the enlarged screen.
The method may further comprise displaying the previous image before enlarging the screen, when a touch or click input of other portions than at least one candidate hyperlink is sensed in the enlarged screen.
The method may further comprise enlarging the screen further when a long tap input or a double click input is sensed in the enlarged screen.
According to another aspect of the present invention, there is provided an apparatus for selecting a hyperlink, the apparatus including a web browser, wherein the web browser including an event processing unit for obtaining a coordinate corresponding to a touch or click input when the touch or click input is sensed by a web page; a hyperlink searching unit searching for at least one candidate hyperlink existing near the coordinate; and a hyperlink processing unit for enlarging a region including the at least one candidate hyperlink, and changing the at least one candidate hyperlink to be distinguishable from other hyperlinks.
The above and other features and advantages of the present invention will become more apparent by describing in detail embodiments thereof with reference to the attached drawings in which:
Hereinafter, embodiments of the present invention will be described in detail with reference to accompanying drawings.
Referring to
The web browser 100 includes an event processing unit 101 sensing a touch input or a click input to a web page and obtaining coordinates corresponding to the input, a hyperlink searching unit 102 searching for at least one candidate hyperlink existing near the input coordinates, and a hyperlink effect processing unit 103 for enlarging a region including the at least one candidate hyperlink and processing the candidate hyperlink to be distinguishable from other hyperlinks. Examples of each of the units will be described with reference to
Referring to
The user may touch or click a location in order to select a hyperlink in a web page. However, in a mobile web browser, the web page is reduced as shown in
Referring to
The event processing unit 101 calculates a coordinate corresponding to a touch or click input when the touch or click input is sensed in the enlarged web page in step S360. It is determined whether the user has accurately selected one of the candidate hyperlinks 520 through 522 or touches other regions besides the candidate hyperlinks 520 through 522, by referring to the calculated coordinate in step S370. If the user accurately selects one of the candidate hyperlinks 520 through 522, an event corresponding to the selected candidate hyperlink is performed. Consequently, the function corresponding to the candidate hyperlink is performed in step S390 of
On the other hand, if the user wants to enlarge the web page more than the currently enlarged screen to select the hyperlink, i.e., if the user is not satisfied with the current enlargement and hyperlink process, the user may further enlarge the web page by using the touch or click with another input process. In the present embodiment, a long tap or a double click input is used. When the event processing unit 101 senses the long tap or the double click input to the enlarged screen, the event processing unit 101 determines the input as an event for further enlarging the screen. Therefore, the region including the candidate hyperlinks is enlarged more, as shown in
The present invention can also be embodied as computer-readable codes on a computer-readable recording medium. The computer-readable recording medium is any data storage device that can store data which can be thereafter read by a computer system. Examples of the computer-readable recording medium include Read-Only Memory (ROM), Random-Access Memory (RAM), CD-ROMs, magnetic tapes, floppy disks, optical data storage devices, and carrier waves (such as data transmission through the Internet). The computer-readable recording medium can also be distributed over network coupled computer systems so that the computer-readable code is stored and executed in a distributed fashion.
While the present invention has been particularly shown and described with reference to embodiments thereof, it will be understood by those of ordinary skill in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present invention as defined by the following claims and their equivalents.
| Number | Date | Country | Kind |
|---|---|---|---|
| 10-2010-0011189 | Feb 2010 | KR | national |