This application claims the benefit under 35 U.S.C. §119(a) of a Korean patent application filed in the Korean Intellectual Property Office on Feb. 24, 2012 and assigned Serial No. 10-2012-0018905, the entire disclosure of which is hereby incorporated by reference.
1. Field of the Invention
The present invention relates to a portable terminal. More particularly, the present invention relates to an apparatus and method for a portable terminal with a dual Subscriber Identification Module (SIM) card.
2. Description of the Related Art
The development of portable terminals has enabled users to do various things. For example, users can view moving images or pictures, check news and weather information, and play games by accessing the Internet through portable terminals.
However, as portable terminals provide more functions, a user is required to go through a more complex process in order to perform various functions. For example, when several windows are displayed in a superimposed manner for one function, a user is required to input user information on each screen and repeat the process of closing each window on which the user inputs information.
Also, in the above example, when several windows are displayed on the portable terminal, a user may input information into a window or a keypad that is not intended by the user due to a user input error.
Therefore, a need exists for a bypass function that allows touch input to an uppermost view, and to all other views, when a plurality of views are displayed as superimposed.
The above information is presented as background information only to assist with an understanding of the present disclosure. No determination has been made, and no assertion is made, as to whether any of the above might be applicable as prior art with regard to the present invention.
Aspects of the present invention are to address at least the above-mentioned problems and/or disadvantages and to provide at least the advantages described below. Accordingly, an aspect of the present invention is to provide an apparatus and method for setting a bypass function with respect to all displayable views to process a touch input of not only an uppermost view but also of the other views even when a plurality of views are displayed in a superimposed manner.
Another aspect of the present invention is to provide an apparatus and method for enabling a user to set a bypass function with respect to a specific view and use this in various environments, thus improving the user's convenience.
Another aspect of the present invention is to provide an apparatus and method for displaying a view whose touch input is not processed, on a display unit of a portable terminal.
In accordance with an aspect of the present invention, a method for operating a portable terminal is provided. The method includes searching for a view including a touch region among two or more views displayed, determining whether a bypass function is set for the searched view, and determining whether to execute a command corresponding to the view according to whether the bypass function is set.
In accordance with another aspect of the present invention, a method for operating a portable terminal is provided. The method includes displaying two or more views, determining whether a bypass function is automatically set for each of the views displayed, and determining whether to execute a command corresponding to the view according to whether the bypass function is set.
In accordance with another aspect of the present invention, an apparatus of a portable terminal is provided. The apparatus includes a display unit for displaying two or more views, and a control unit for searching for a view including a touch region among the two or more views displayed, for determining whether a bypass function is set for the searched view, and for determining whether to execute a command corresponding to the view according to whether the bypass function is set.
In accordance with another aspect of the present invention, an apparatus of a portable terminal is provided. The apparatus includes a display unit for displaying two or more views, and a control unit for determining whether a bypass function is automatically set for each of the views displayed, and for determining whether to execute a command corresponding to the view according to whether the bypass function is set.
Other aspects, advantages, and salient features of the invention will become apparent to those skilled in the art from the following detailed description, which, taken in conjunction with the annexed drawings, discloses exemplary embodiments of the invention.
The above and other objects, features, and advantages of certain exemplary embodiments of the present invention will become more apparent from the following description taken in conjunction with the accompanying drawings, in which:
Throughout the drawings, it should be noted that like reference numbers are used to depict the same or similar elements, features, and structures.
The following description with reference to the accompanying drawings is provided to assist in a comprehensive understanding of exemplary embodiments of the invention as defined by the claims and their equivalents. It includes various specific details to assist in that understanding but these are to be regarded as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. In addition, descriptions of well-known functions and configurations may be omitted for clarity and conciseness.
The terms and words used in the following description and claims are not limited to the bibliographical meanings, but, are merely used by the inventor to enable a clear and consistent understanding of the invention. Accordingly, it should be apparent to those skilled in the art that the following description of exemplary embodiments of the present invention is provided for illustration purpose only and not for the purpose of limiting the invention as defined by the appended claims and their equivalents.
It is to be understood that the singular forms “a,” “an,” and “the” include plural referents unless the context clearly dictates otherwise. Thus, for example, reference to “a component surface” includes reference to one or more of such surfaces.
For example, when a user connects to a specific Internet site, view 1 may be a main screen, which is displayed on the display unit of the portable terminal. Thereafter, view 2, which may be a keypad, is displayed so that the user may input specific information. After view 2 is displayed, view 3, which may be a pop-up window containing detailed information on a product, may be displayed so that an advertiser can advertise a product or service. That is, for example, view 1 is a main window displayed on the portable terminal, and view 2 is a keypad displayed on view 1 such that at least a partial region thereof is superimposed on view 1. View 3 is a pop-up window containing detailed information on a product that is displayed on view 1 and view 2 such that at least a partial region thereof is superimposed on view 1 and view 2. Thus, it is assumed that two or more views in a portable terminal, which allow a touch input according to exemplary embodiments of the present invention, are views that are displayed on a display unit of the portable terminal sequentially from the bottom in a vertical direction such that their regions are superimposed at least partially. Herein, the view may be defined as a window that can be displayed on the display unit of the portable terminal. For example, the view may include at least one of a keypad, a pop-up window, a picture, and a moving image.
A description will be given of a method for processing a touch input in a portable terminal when a plurality of views are displayed on a display unit of the portable terminal as illustrated in
However, in exemplary embodiments of the present invention, a bypass function can be set for each view, which improves the user's convenience. Herein, the bypass function is defined as a function for enabling a user to set whether to execute a command corresponding to a touched view when any one of two or more views displayed on a portable terminal is touched. Specifically, regardless of the display position on a display unit of a portable terminal, whether to perform a touch input from a user may be preset in all displayable views. Detailed operations of the bypass function may be set to false and true. Specifically, if a user sets a bypass function to false with respect to a specific view, when a relevant view receives a touch input from the user, a command corresponding to the view receiving the touch input is executed. On the other hand, if a user sets a bypass function to true with respect to a specific view, when a relevant view receives a touch input from the user, a command corresponding to the view receiving the touch input is not executed.
Referring to
Referring to
Differences between exemplary embodiments and the related art are described as follows. With respect to the related art, and using
However, in exemplary embodiments of the present invention, since a bypass function can be set with respect to all the views displayable on the portable terminal, it is possible that the view located under the uppermost view can also receive a touch input from the user according to a user's setting, rather than only the view displayed uppermost receiving the touch input. For example, when the user inputs specific information onto view 1-3, when view 1-3 is a keypad, views 1-3-1, which are not intended by the user, are suddenly displayed. However, the user can continue to input specific information in to the keypad that is view 1-3. Specifically, when the user sets a bypass function to true with respect to the view displayed uppermost, the portable terminal fails to receive a touch input for views 1-3-1, each of which being a pop-up window that is displayed uppermost. Thus, unlike the related art, instead of receiving a touch input of the user only via the view displayed uppermost, a view located under the uppermost view can receive a touch input by user's setting.
Herein, the bypass function is defined as a function for enabling a user to set whether to execute a command corresponding to a touched view when any one of two or more views is displayed. That is, regardless of a display position on the display unit of a portable terminal, whether to allow touch input from a user may be preset in all displayable views. Detailed operations of the bypass function may be set to false and true. Specifically, if a user sets a bypass function to false with respect to a specific view, when a relevant view receives a touch input from the user, a command corresponding to the view receiving the touch input is executed. On the other hand, if a user sets a bypass function to true with respect to a specific view, when a relevant view receives a touch input from the user, a command corresponding to the view receiving the touch input is not executed.
Referring to
In another exemplary embodiment of the present invention, although the user can initially set a view to receive a touch input by using a bypass function, a view to receive a touch input from the user may also be designated by determining a view displayed on the display unit of the portable terminal. For example, the user may not initially set a bypass function to false or true with respect to a specific view, and a bypass function may be automatically set to true with respect to a pop-up window that is not intended by the user. That is, the portable terminal may check in real time all the views displayed on the display unit of the portable terminal, so that a touch input may not be received when a pop-up window that is not intended by the user is displayed. In the above example, a bypass function is not set with respect to each of the views displayed on the display unit of the portable terminal, and a view that is not intended by the user is monitored in real time, so that a bypass function may be set to true only with respect to, for example, a pop-up window. That is, for example, while the user is inputting specific information via view 1-3, when view 1-3 is a keypad, a view 1-3-1 that is, for example, a pop-up window is displayed on view 1-3, but fails to receive a touch input. Thus, the user can continue to input specific information via the keypad.
Referring to
When a bypass function is described with reference to
Referring to
More specifically, when a user selects the setting mode of a camera, a main view 301 that is an entire screen, and that is a parent view is displayed. A list view 302 that is each list item is included in the main view 301. A setting title view 303 displaying a setting title is included in each list view 302, and a setting value view 304, capable of inputting a specific setting value, is included in the setting title view 303. Specifically, referring to
Specifically, referring to
In the above example, the setting value view 304 is included in the setting title view 303, and the setting title view 303 is included in the list view 302. That is, the list view 302 is a parent view of the setting title view 303 and the setting value view 304. Thus, referring to
Hereinafter, an exemplary embodiment of a source code according to the present invention will be described. An exemplary embodiment of a source code according to the present invention is as follows.
Herein, if (getBypassTouch( )) means reading in BypassTouch flag and returning a null if a flag is set to true.
Also, return null means that a parent of a view performs a findViewByCoordinate( ) function of a next child view.
Also, for (View View: mViews) {//mViews: view list, View v=view. findViewByCoordinate(x,y); //Recursive call means calling findViewByCoordinate of child views of itself and searching for a view corresponding to a touch region.
Also, if (v!=null) represents a case where a view corresponding to a touch region is found, and resultView=v; means setting the found view to resultView.
Also, if(resultView !=null) and return resultView mean returning view(resultView) and ending a function when there is a found view.
Also, if(contains(x,y)//Does this view contain x, y? means determining whether itself (viewGroup) belongs to a relevant touch region.
Also, return this; means returning itself when it belongs to a relevant touch region.
Also, return null; means returning a null when it does not belong to a relevant touch region.
Referring to
After two or more views are displayed on the display unit of the portable terminal, the portable terminal receives a selection of a specific region from a user in step 402. More specifically, when receiving a selection of a specific region from a user, the portable terminal checks the coordinates of the region touched by the user in order to perform a received touch input. That is, the portable terminal checks the coordinates of the region touched by the user in order to determine the view touched by the user among a plurality of views displayed on the display unit.
After checking the coordinates of the region touched by the user, the portable terminal searches for a view including relevant coordinates among the two or more views in step 403. More specifically, when receiving a selection for a specific region from the user, the portable terminal checks the coordinates of the region selected by the user and searches for a view including relevant coordinates in order to determine the view selected by the user.
Thereafter, when the view touched by the user is searched for, the portable terminal determines whether a bypass function is set to false with respect to the searched view in step 404. Herein, the bypass function is defined as a function for enabling a user to set whether to execute a command corresponding to a touched view when any one of two or more views displayed on a portable terminal is touched. Specifically, regardless of a display position on a display unit of a portable terminal, whether to allow a touch input from a user may be preset in all displayable views. Detailed operations of the bypass function may be set to false and true. Specifically, if a user sets a bypass function to false with respect to a specific view, when a relevant view receives a touch input from the user, a command corresponding to the view receiving the touch input is executed. On the other hand, if a user sets a bypass function to true with respect to a specific view, when a relevant view receives a touch input from the user, a command corresponding to the view receiving the touch input is not executed.
When determining whether a bypass function is set to false with respect to the view touched by the user, the portable terminal performs a touch processing routine on a view with a bypass function set to false in step 405. Specifically, the portable terminal executes a command corresponding to the view with a bypass function set to false. Herein, the execution of a relevant command means that if the view with a bypass function set to false is a keypad, the user can input specific information by the keypad.
When it is determined in step 404 that a bypass function is set to true with respect to the view touched by the user, the view selected by the user does not receive a touch input, and the portable terminal searches for a next view in step 406. Specifically, the portable terminal determines whether a bypass function is set to false with respect to a second-order view that is the next view. When a bypass function is also set to true with respect to the second-order view, the portable terminal may repeat the process of searching for a view with a bypass function set to false.
Referring to
The control unit 501 controls operations of the portable terminal. For example, the control unit 501 searches for a view including a touched region among two or more views displayed, determines whether a bypass function is set in the searched view, and determines whether to execute a command corresponding to the view according to the determination result. Also, the control unit 501 checks the coordinates of the touch region and executes a command corresponding to the searched view when the bypass function is set to false with respect to the searched view. If the bypass function is set to true with respect to the searched view, the control unit 501 does not execute a command corresponding to the searched view and determines whether a bypass function is set with respect to a second-order view.
The input unit 502 provides the control unit 501 with input data generated by user selection. For example, the input unit 502 receives the selection of a specific region from the user.
The display unit 503 displays stored information, menu screen and state information of the portable terminal.
A touch sensitive display, called as a touch screen, may be used as the display unit 503. In this situation, a touch input may be performed via the touch sensitive display.
The communication module 504 processes signals transmitted/received through an antenna for voice and data communication.
The storage unit 505 may include a program storage unit for storing a program for controlling an operation of the portable terminal, and a data storage unit for storing data generated during the execution of a program.
In the above block configuration, the control unit 501 may control the overall functioning of the portable terminal. The above configurations should be considered in descriptive sense only and not for the purpose of limitation, and those skilled in the art will understand that various changes may be made therein without departing from the scope of the present invention. For example, although the respective units are configured and illustrated separately, the control unit 501 may be for performing all or some of the functions of the respective units.
Embodiments of the present invention according to the claims and description in the specification can be realized in the form of hardware, software or a combination of hardware and software.
Such software may be stored in a computer readable storage medium. The computer readable storage medium stores one or more programs (software modules), the one or more programs comprising instructions, which when executed by one or more processors in an electronic device, cause the electronic device to perform methods of the present invention.
Such software may be stored in the form of volatile or non-volatile storage such as, for example, a storage device like a ROM, whether erasable or rewritable or not, or in the form of memory such as, for example, RAM, memory chips, device or integrated circuits or on an optically or magnetically readable medium such as, for example, a CD, DVD, magnetic disk or magnetic tape or the like. It will be appreciated that the storage devices and storage media are embodiments of machine-readable storage that are suitable for storing a program or programs comprising instructions that, when executed, implement embodiments of the present invention. Embodiments provide a program comprising code for implementing apparatus or a method as claimed in any one of the claims of this specification and a machine-readable storage storing such a program. Still further, such programs may be conveyed electronically via any medium such as a communication signal carried over a wired or wireless connection and embodiments suitably encompass the same.
While the invention has been shown and described with reference to certain exemplary embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
10-2012-0018905 | Feb 2012 | KR | national |