TWI390437B - Method for executing instructions in a capacitive touch panel - Google Patents

Method for executing instructions in a capacitive touch panel Download PDF

Info

Publication number
TWI390437B
TWI390437B TW97144487A TW97144487A TWI390437B TW I390437 B TWI390437 B TW I390437B TW 97144487 A TW97144487 A TW 97144487A TW 97144487 A TW97144487 A TW 97144487A TW I390437 B TWI390437 B TW I390437B
Authority
TW
Taiwan
Prior art keywords
capacitive touch
sensing distance
sensing
touch panel
parameters
Prior art date
Application number
TW97144487A
Other languages
Chinese (zh)
Other versions
TW201020891A (en
Inventor
Wen Shu Chien
Hsu Hsiang Tseng
Original Assignee
Htc Corp
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 Htc Corp filed Critical Htc Corp
Priority to TW97144487A priority Critical patent/TWI390437B/en
Publication of TW201020891A publication Critical patent/TW201020891A/en
Application granted granted Critical
Publication of TWI390437B publication Critical patent/TWI390437B/en

Links

Description

用於一電容式觸控面板之指令執行方法Instruction execution method for a capacitive touch panel

本發明係關於一種指令執行方法;特別是一種用於電容式觸控面板之指令執行方法。The present invention relates to an instruction execution method; and more particularly to an instruction execution method for a capacitive touch panel.

隨著觸控面板之技術日漸成熟,應用於可攜式電子裝置之顯示螢幕亦日益普及。習知的觸控面板包含電容式觸控面板及電阻式觸控面板等,使用者在操作時以手指或感應棒觸碰面板後,電子裝置便會產生觸碰訊號,並執行對應之指令、程式或動作。As the technology of touch panels has matured, display screens for portable electronic devices have become increasingly popular. The conventional touch panel includes a capacitive touch panel and a resistive touch panel. When the user touches the panel with a finger or a sensor bar during operation, the electronic device generates a touch signal and executes corresponding commands. Program or action.

然而,使用者在操作習知觸控面板時仍有侷限,其中,最大的限制即在於必須確實觸碰螢幕才能對應產生指令。舉例而言,在使用電阻式觸控面板時,使用者必須在螢幕表面產生局部壓力,電阻式觸控面板方可辨識使用者觸碰之位置;而操作電容式觸控面板時必須使用能帶靜電之導體(例如能帶有電荷之使用者手指)方可於螢幕之局部產生電容效應,電容式觸控面板才能進一步辨識使用者所觸碰之位置。However, there are still limitations in the operation of the conventional touch panel. The biggest limitation is that the screen must be touched to respond to the command. For example, when using a resistive touch panel, the user must generate partial pressure on the surface of the screen, and the resistive touch panel can recognize the position touched by the user; and the band must be used when operating the capacitive touch panel. Electrostatic conductors (such as a user's finger with charge) can create a capacitive effect on the part of the screen, and the capacitive touch panel can further identify the location touched by the user.

在習知技術中,亦有揭露使用者在不觸碰螢幕之狀態下,仍能對其操作之方式,但皆必須增設其他感應裝置,例如超音波感應器、紅外線感應器等,來判斷使用者尚未接觸時的動作,並加以辨識後執行相對應之指令。然而,增設其他感應裝置勢必會導致成本增加,亦不利於產品逐漸輕量化的趨勢。In the prior art, there is also a way to expose the user's operation without touching the screen, but other sensing devices, such as an ultrasonic sensor and an infrared sensor, must be added to judge the use. The action when the person has not touched, and recognizes and executes the corresponding instruction. However, the addition of other sensing devices is bound to lead to increased costs and is not conducive to the trend of gradually becoming lighter.

有鑑於此,可攜式電子裝置在不增設其他感測裝置的情況下,而能辨識及執行非接觸指令之方法,乃為此一業界亟待解決的問題。In view of this, the method in which the portable electronic device can recognize and execute the non-contact command without adding another sensing device is an urgent problem to be solved in the industry.

本發明之一目的在於提供一種用於電容式觸控面板之指令執行方法,當該指令執行方法配合應用於電容式觸控面板時,不需配備額外的感測裝置,即可辨識及執行非接觸式之指令,提供使用者在電容式觸控面板上更多元之操作介面。An object of the present invention is to provide an instruction execution method for a capacitive touch panel. When the instruction execution method is applied to a capacitive touch panel, the device can be identified and executed without additional sensing devices. The contact type command provides the user with more operating interfaces on the capacitive touch panel.

為達上述目的,本發明提供一種用於電容式觸控面板之指令執行方法,該電容式觸控面板沿一垂直面板方向上具有第一感測距離。本發明之方法包含下列步驟:感測一物件是否落於該第一感測距離內;當該物件被感測到落於該第一感測距離內時,記錄該物件相對於該電容式觸控面板移動的複數個位置參數;以及,根據該複數個位置參數執行一對應的指令。To achieve the above objective, the present invention provides an instruction execution method for a capacitive touch panel having a first sensing distance along a vertical panel direction. The method of the present invention includes the steps of: sensing whether an object falls within the first sensing distance; and when the object is sensed to fall within the first sensing distance, recording the object relative to the capacitive touch a plurality of positional parameters of the control panel movement; and executing a corresponding instruction according to the plurality of positional parameters.

為讓本發明之上述目的、技術特徵、和優點能更明顯易懂,下文係以較佳實施例配合所附圖式進行詳細說明。The above described objects, technical features, and advantages of the present invention will become more apparent from the following description.

第1A~1D圖係為本發明之指令執行方法應用於一可攜式電子裝置上1之示意圖,於圖式中,該可攜式電子裝置1為一行動電話,或者,亦可以是個人數位助理(Personal Digital Assistant,PDA)、衛星定位導航裝置(Global Positioning System,GPS)、筆記型電腦等電子裝置,皆可應用本發明之技術。可攜式電子裝置1具有一顯示螢幕,該顯示螢幕係為一電容式觸控面板10,本發明之指令執行方法即係應用於電容式觸控面板10上。由於電容式觸控面板10之螢幕具有靜電感應的特性,搭配本發明指令執行方法之電腦程式可達成非接觸式的操作,而該可攜式電子裝置1中之其他習知元件,在此不另贅述。1A~1D is a schematic diagram of an instruction execution method of the present invention applied to a portable electronic device. In the figure, the portable electronic device 1 is a mobile phone, or may be a personal digital device. The technology of the present invention can be applied to electronic devices such as a Personal Digital Assistant (PDA), a Global Positioning System (GPS), and a notebook computer. The portable electronic device 1 has a display screen, and the display screen is a capacitive touch panel 10. The instruction execution method of the present invention is applied to the capacitive touch panel 10. Since the screen of the capacitive touch panel 10 is electrostatically sensitive, the computer program of the instruction execution method of the present invention can achieve non-contact operation, and other conventional components in the portable electronic device 1 are not otherwise Narration.

第1B圖係為操作可攜式電子裝置1之側視圖。該電容式觸控面板10沿一垂直電容式觸控面板10方向上,可定義一第一感測距離D1與一第二感測距離D2,其中,該第二感測距離D2係小於第一感測距離D1。於第一感測距離D1與一第二感測距離D2之間,定義出一感測範圍D3,本發明之指令執行方法,主要係應用於此感測範圍D3內。FIG. 1B is a side view of the portable electronic device 1. The capacitive touch panel 10 defines a first sensing distance D1 and a second sensing distance D2 along a vertical capacitive touch panel 10, wherein the second sensing distance D2 is smaller than the first The distance D1 is sensed. A sensing range D3 is defined between the first sensing distance D1 and a second sensing distance D2. The instruction execution method of the present invention is mainly applied to the sensing range D3.

請配合第2圖,所示為本發明之指令執行方法之流程圖。須說明的是,可攜式電子裝置1之電容式觸控面板2之操作模式,可供使用者選擇為接觸模式或非接觸模式,接觸模式係為一般習知觸控螢幕之操作方法,而本發明之指令執行方法係應用於非接觸模式;可攜式電子裝置1亦可具有自行判斷、切換操作模式之功能,在此不作限制。當可攜式電子裝置1處於非接觸模式時,先執行步驟21,感測一物件(較佳係為一帶靜電物體,例如使用者之手指、或感應棒等)是否落於第一感測距離D1內;實際上,可設定若電容式觸控面板10於一段時間範圍內,連續偵測該物件確實保持於第一感測距離D1中,便可判斷認為該物件落於第一感測距離D1內。例如,在執行本發明之方法時,電容式觸控面板10以75Hz的頻率進行掃瞄,即每秒鐘讀取75個座標,其中,擷取前30個座標點,來判讀帶靜電物體相對於電容式觸控面板10之距離與座標位置。Please refer to FIG. 2, which is a flowchart of the method for executing the instructions of the present invention. It should be noted that the operation mode of the capacitive touch panel 2 of the portable electronic device 1 can be selected by the user as a contact mode or a non-contact mode, and the contact mode is a general operation method of the touch screen. The instruction execution method of the present invention is applied to the non-contact mode; the portable electronic device 1 can also have the function of self-determination and switching operation mode, which is not limited herein. When the portable electronic device 1 is in the non-contact mode, step 21 is performed to sense whether an object (preferably a static-charged object such as a user's finger or an inductive bar) falls within the first sensing distance. In the case of D1, it can be determined that if the capacitive touch panel 10 continuously detects that the object is indeed maintained in the first sensing distance D1, it can be determined that the object falls on the first sensing distance. Within D1. For example, when performing the method of the present invention, the capacitive touch panel 10 scans at a frequency of 75 Hz, that is, reads 75 coordinates per second, wherein the first 30 coordinate points are captured to interpret the electrostatically charged object. The distance and coordinate position of the capacitive touch panel 10.

接下來執行步驟22,開始記錄該物件相對於電容式觸控面板10移動的複數個位置參數,請一併參閱第1C圖,所示為該物件在第一感測距離D1內形成運動軌跡之示意圖。詳言之,可攜式電子裝置1於一預定時間範圍內,開始記錄及儲存該物件相對於該電容式觸控面板10之位置,包含例如該物件相對於該電容式觸控面板的座標值或距離值。須說明的是,當該物件離開第一感測距離D1之外,將被視為使用者不繼續操作,可攜式電子裝置1便停止記錄該物件之位置參數。Next, step 22 is performed to start recording a plurality of positional parameters of the object relative to the movement of the capacitive touch panel 10. Referring to FIG. 1C, the object is formed to form a motion trajectory within the first sensing distance D1. schematic diagram. In detail, the portable electronic device 1 begins to record and store the position of the object relative to the capacitive touch panel 10 within a predetermined time range, including, for example, the coordinate value of the object relative to the capacitive touch panel. Or distance value. It should be noted that, when the object leaves the first sensing distance D1, it will be regarded as the user does not continue to operate, and the portable electronic device 1 stops recording the positional parameter of the object.

接著,可攜式電子裝置1根據該等位置參數,進一步判斷使用者之指令是否已經完成而結束,進而執行一對應的指令。詳言之,先執行步驟23,根據該等位置參數中之至少其中之一,判斷該物件是否落於該第二感測距離D2內;當該物件被判斷未落於該第二感測距離D2內時,表示該物件仍處於第一感測距離D1之感測範圍D3內,使用者仍持續利用該物件進行指令之輸入,該等位置參數仍屬於必須進行後續判讀的範圍。Then, the portable electronic device 1 further determines whether the user's instruction has been completed according to the positional parameters, and then executes a corresponding instruction. In detail, step 23 is performed first, according to at least one of the position parameters, determining whether the object falls within the second sensing distance D2; when the object is judged not to fall in the second sensing distance When D2 is inside, it indicates that the object is still within the sensing range D3 of the first sensing distance D1, and the user continues to use the object to input the command, and the position parameters still belong to the range in which subsequent interpretation is necessary.

然後,執行步驟24,判斷所記錄之該等位置參數中,是否有至少二個位置參數相同,易言之,若有至少二個位置參數相同,表示使用者之動作維持不動一段時間或者於感測範圍D3內平移一段距離,便判定認為使用者之動作已完成。舉例而言,在如前所述之掃瞄頻率為75Hz下,持續以最後10個掃描點進行判讀,當最後10個掃描點的座標值及/或高度值相同時,表示使用者之動作維持不動或於感測範圍D3內平移一段距離,就判斷為使用者之指令結束,而繼續執行下一步驟。上述之停止判斷方式僅為例示,系統廠商或使用者可以自行定義,在此不作限制。由於該等位置參數係該物件於感測範圍D3內所記錄,故可攜式電子裝置1可依其座標值及距離值之變化,完整記錄該物件之運動軌跡。Then, step 24 is performed to determine whether at least two position parameters are the same among the recorded position parameters. It is easy to say that if at least two position parameters are the same, it means that the user's motion remains unmoved for a period of time or sense. After a certain distance is translated within the measurement range D3, it is determined that the user's motion has been completed. For example, if the scan frequency is 75 Hz as described above, the last 10 scan points are continuously interpreted. When the coordinates and/or height values of the last 10 scan points are the same, the user's motion is maintained. If it is not moved or translated for a distance within the sensing range D3, it is judged that the user's instruction ends, and the next step is continued. The above-mentioned stop determination manner is merely an example, and the system manufacturer or the user can define it by itself, and is not limited herein. Since the position parameters are recorded in the sensing range D3, the portable electronic device 1 can completely record the motion trajectory of the object according to the change of the coordinate value and the distance value.

接下來,執行步驟25,將所記錄的該等位置參數,於一資料庫中比對出相對應之指令。最後,即是執行步驟26,將該等位置參數所對應之指令,於可攜式電子裝置1中執行。請一併參閱第1C與1D圖,例如前述之運動軌跡轉換為指令後,係對應為「按下accept」,可攜式電子裝置1便可據此進行下一步之動作,如圖所示,係接聽來自外部的電話。須說明的是,當該物件為使用者的手指時,本實施例所記錄之該等位置參數即為一手勢,該手勢之形式並不限制,端視可攜式電子裝置1之內建資料、或使用者自行定義之手勢,進而代表特定之意義。Next, step 25 is executed to compare the recorded position parameters to a corresponding instruction in a database. Finally, step 26 is executed, and the instructions corresponding to the position parameters are executed in the portable electronic device 1. Please refer to the 1C and 1D diagrams together. For example, after the motion track is converted into an instruction, the corresponding correspondence is "press accept", and the portable electronic device 1 can perform the next action according to the figure, as shown in the figure. Listen to calls from outside. It should be noted that when the object is a user's finger, the position parameters recorded in this embodiment are a gesture, and the form of the gesture is not limited, and the built-in data of the portable electronic device 1 is viewed. Or a user-defined gesture that represents a specific meaning.

以實際應用為例,當使用者為汽車駕駛人且正處於駕駛狀態時,行動電話可能設置於離駕駛人有一段距離之容置座,使用者確實碰觸螢幕有其因難,此時可預先切換至非接觸模式,當行動電話來電時,使用者可在不接觸行動電話螢幕之狀態下,先將手指伸至於感測範圍內,再操作一手勢動作如第1C圖中之平移動作後結束,如此一來,使用者不需接觸操作行動電話,即可達到所欲之操作。Taking the actual application as an example, when the user is a driver of the car and is in a driving state, the mobile phone may be placed at a distance from the driver, and the user actually touches the screen, which may be difficult. Switching to the non-contact mode in advance, when the mobile phone calls, the user can first extend the finger within the sensing range without touching the mobile phone screen, and then operate a gesture action such as the panning action in FIG. 1C. At the end, the user can reach the desired operation without touching the mobile phone.

此外,若本發明之方法於步驟23時,偵測出該物件係落於第二感測距離D2之內時,則執行步驟27,執行另一指令。舉例而言,若使用者的手指已經過於接近電容式觸控面板10,則表示使用者可能傾向於使用接觸模式,於是電容式觸控面板10可自動由非接觸模式,切換至習知常用的接觸模式。同樣地,步驟27所執行之另一指令可依使用者設定,在此不作限制。In addition, if the method of the present invention detects that the object is within the second sensing distance D2 at step 23, then step 27 is executed to execute another command. For example, if the user's finger is too close to the capacitive touch panel 10, it means that the user may prefer to use the contact mode, so that the capacitive touch panel 10 can be automatically switched from the non-contact mode to the conventional one. Contact mode. Similarly, another instruction executed in step 27 can be set by a user, and is not limited herein.

藉由前述揭露之指令執行方法,本發明之可攜式電子裝置不需另外裝設其他感應器,即可提供非接觸式操作介面,供使用者不必接觸電容式觸控面板,即可執行對應之指令,使得操作更為多元化。With the above-mentioned instruction execution method, the portable electronic device of the present invention can provide a non-contact operation interface without separately installing other sensors, so that the user can perform corresponding operation without contacting the capacitive touch panel. The instructions make the operation more diversified.

上述之實施例僅用來例舉本發明之實施態樣,以及闡釋本發明之技術特徵,並非用來限制本發明之保護範疇。任何熟悉此技術者可輕易完成之改變或均等性之安排均屬於本發明所主張之範圍,本發明之權利保護範圍應以申請專利範圍為準。The embodiments described above are only intended to illustrate the embodiments of the present invention, and to explain the technical features of the present invention, and are not intended to limit the scope of protection of the present invention. Any changes or equivalents that can be easily made by those skilled in the art are within the scope of the invention. The scope of the invention should be determined by the scope of the claims.

1...可攜式電子裝置1. . . Portable electronic device

10...電容式觸控面板10. . . Capacitive touch panel

D1...第一感測距離D1. . . First sensing distance

D2...第二感測距離D2. . . Second sensing distance

D3...感測範圍D3. . . Sensing range

第1A圖至第1D圖係本發明指令執行方法用於可攜式電子裝置之示意圖;以及1A to 1D are schematic diagrams of an instruction execution method of the present invention for a portable electronic device;

第2圖係本發明指令執行方法之流程圖。Figure 2 is a flow chart of the method of executing the instructions of the present invention.

Claims (6)

一種用於一電容式觸控顯示面板之指令執行方法,該電容式觸控顯示面板沿一垂直面板方向上具有一第一感測距離以及一第二感測距離,該第二感測距離係小於該第一感測距離,該方法包含:感測一物件落於該第一感測距離內;當感測該物件落於該第一感測距離內時,記錄該物件相對於該電容式觸控顯示面板平移的複數個位置參數,其中該複數個位置參數包含複數個該物件相對於該電容式觸控顯示面板的座標值;判斷該物件是否落於該第二感測距離內;當該物件被判斷未落於該第二感測距離內時,根據該複數個位置參數,執行該對應的指令;及當該物件被判斷落於該第二感測距離內時,執行另一指令。 An instruction execution method for a capacitive touch display panel, the capacitive touch display panel having a first sensing distance and a second sensing distance along a vertical panel direction, the second sensing distance system Less than the first sensing distance, the method includes: sensing that an object falls within the first sensing distance; and when sensing that the object falls within the first sensing distance, recording the object relative to the capacitive a plurality of positional parameters of the touch display panel, wherein the plurality of positional parameters include a plurality of coordinate values of the object relative to the capacitive touch display panel; determining whether the object falls within the second sensing distance; When the object is judged not to fall within the second sensing distance, the corresponding instruction is executed according to the plurality of position parameters; and when the object is determined to fall within the second sensing distance, executing another instruction . 如請求項1所述之方法,其中當該物件被判斷未落於該第二感測距離內時,根據該複數個位置參數,執行該對應的指令之步驟更包含:判斷該複數個位置參數中之至少兩個位置參數是否相同;及當至少兩個位置參數被判斷相同時,執行該對應的指令。 The method of claim 1, wherein when the object is judged not to fall within the second sensing distance, the step of executing the corresponding instruction further comprises: determining the plurality of position parameters according to the plurality of position parameters Whether at least two of the positional parameters are the same; and when at least two of the positional parameters are judged to be the same, the corresponding instruction is executed. 如請求項1所述之方法,其中該記錄該物件相對於該電容式觸控顯示面板平移的複數個位置參數之步驟更包含:於一預定時間內,記錄該複數個位置參數。 The method of claim 1, wherein the step of recording the plurality of positional parameters of the object relative to the capacitive touch display panel comprises: recording the plurality of position parameters within a predetermined time. 如請求項1所述之方法,其中根據該複數個位置參數,執行一對應的指令之步驟更包含:於一資料庫中,比對出與該複數個位置參數相對應之該指令。 The method of claim 1, wherein the step of executing a corresponding instruction according to the plurality of location parameters further comprises: comparing the instruction corresponding to the plurality of location parameters in a database. 如請求項1所述之方法,其係用於一具有該電容式觸控顯示面板的可攜式電子裝置上。 The method of claim 1, which is applied to a portable electronic device having the capacitive touch display panel. 如請求項1所述之方法,其中該複數個位置參數包含複數個該物件相對於該電容式觸控顯示面板的距離值。The method of claim 1, wherein the plurality of positional parameters comprise a plurality of distance values of the object relative to the capacitive touch display panel.
TW97144487A 2008-11-18 2008-11-18 Method for executing instructions in a capacitive touch panel TWI390437B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW97144487A TWI390437B (en) 2008-11-18 2008-11-18 Method for executing instructions in a capacitive touch panel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW97144487A TWI390437B (en) 2008-11-18 2008-11-18 Method for executing instructions in a capacitive touch panel

Publications (2)

Publication Number Publication Date
TW201020891A TW201020891A (en) 2010-06-01
TWI390437B true TWI390437B (en) 2013-03-21

Family

ID=44832431

Family Applications (1)

Application Number Title Priority Date Filing Date
TW97144487A TWI390437B (en) 2008-11-18 2008-11-18 Method for executing instructions in a capacitive touch panel

Country Status (1)

Country Link
TW (1) TWI390437B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9471175B2 (en) 2014-07-18 2016-10-18 Chunghwa Picture Tubes, Ltd. Touch sensing panel and touch sensing control unit thereof

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102736757A (en) * 2011-03-31 2012-10-17 比亚迪股份有限公司 Method and apparatus for touch control identification
US9152255B2 (en) * 2011-05-03 2015-10-06 Htc Corporation Management and application methods and systems for touch-sensitive devices, and computer program products thereof
EP2575006B1 (en) 2011-09-27 2018-06-13 Elo Touch Solutions, Inc. Touch and non touch based interaction of a user with a device
TWI512544B (en) * 2013-01-07 2015-12-11 Eminent Electronic Technology Corp Ltd Control method for electronic apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9471175B2 (en) 2014-07-18 2016-10-18 Chunghwa Picture Tubes, Ltd. Touch sensing panel and touch sensing control unit thereof

Also Published As

Publication number Publication date
TW201020891A (en) 2010-06-01

Similar Documents

Publication Publication Date Title
US10296136B2 (en) Touch-sensitive button with two levels
TWI478041B (en) Method of identifying palm area of a touch panel and a updating method thereof
EP2652580B1 (en) Using movement of a computing device to enhance interpretation of input events produced when interacting with the computing device
US9448714B2 (en) Touch and non touch based interaction of a user with a device
JP5841590B2 (en) Information input device and information input method
US20140300559A1 (en) Information processing device having touch screen
TWI467425B (en) Method and device for identifying multipoint rotating movement
TWI389014B (en) Touchpad detection method
CN104657062A (en) Graph editing method and electronic device
US20140055385A1 (en) Scaling of gesture based input
KR20080056559A (en) Touch screen apparatus and commend-input method thereof
TWI390437B (en) Method for executing instructions in a capacitive touch panel
US20120062520A1 (en) Stylus modes
KR20110020642A (en) Apparatus and method for providing gui interacting according to recognized user approach
JP5915061B2 (en) Information processing apparatus and method, program, and recording medium
TWI497357B (en) Multi-touch pad control method
CN102681702B (en) Control method, control device and electronic equipment
TWI478017B (en) Touch panel device and method for touching the same
US20140035876A1 (en) Command of a Computing Device
JP6220429B1 (en) Information processing apparatus, touch panel sensitivity control method, and program
TWI270819B (en) Drag-touch control method and control module for same
TW201528114A (en) Electronic device and touch system, touch method thereof
KR101375727B1 (en) Touch screen zoom in or zoom out method and apparatus using the linear touch pattern
TWI514233B (en) Method for processing detected objects in touch sensing area and computer readable medium
KR20100035017A (en) Method and apparatus for executing applications using touch screen