CN102253839A - Method for adding virtual keys on touch screen to operate flash games - Google Patents

Method for adding virtual keys on touch screen to operate flash games Download PDF

Info

Publication number
CN102253839A
CN102253839A CN2011102221096A CN201110222109A CN102253839A CN 102253839 A CN102253839 A CN 102253839A CN 2011102221096 A CN2011102221096 A CN 2011102221096A CN 201110222109 A CN201110222109 A CN 201110222109A CN 102253839 A CN102253839 A CN 102253839A
Authority
CN
China
Prior art keywords
touch
key
event
flash
screen
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN2011102221096A
Other languages
Chinese (zh)
Inventor
陈天明
刘一泽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN2011102221096A priority Critical patent/CN102253839A/en
Publication of CN102253839A publication Critical patent/CN102253839A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a method for adding virtual keys on a touch screen to operate flash games, which comprises the following steps of: (a) intercepting a touch event above a flash game layer of a touch screen mobile phone or a flat computer in a software mode; (b) judging whether the coordinate of the event is in a key area or not; and (c) directly transmitting the touch event to the flash game when the coordinate of the event is not in the key area, and converting the touch event into a key event by a certain process and transmitting information to the flash game when the coordinate of the event is in the key area. The method has the advantages that: a user of the touch screen with a certain version is not limited by a network any more, and more game contents can be provided for various large mobile platform manufacturers, so that the product development cost of the manufacturers is greatly reduced, the market competitiveness of the manufacturers is increased, and a new operation and survival mode is provided for numerous flash game websites.

Description

A kind of method that on touch-screen, increases virtual key operation Flash recreation
Technical field:
The present invention relates to a kind of method of operation Flash recreation on touch-screen, specifically, the present invention relates to a kind of method that on touch-screen, increases virtual key operation Flash recreation.
Background technology:
Adobe announced in Google's year developer's conference that city of san francisco is held from May 20th, 2010, Adobe will with the Google cooperation release be applicable to the Flash 10.1 of Android operating system since, the demand that Flash is applied in the android system increases day by day, and is wherein particularly outstanding with Flash recreation demands of applications.Flash 10.1 designs in order to adapt to cell-phone function, it can be managed isotype outward by hardware decoding and internal memory and improve the mobile phone service ability, support Android handset touch panel function, now be applied in the Android2.2 system and Google's television equipment of Google, and supported the version that the Android2.2 system is above.
Along with the android of Google cell phone system reach its maturity and stable, the application of playing the Flash recreation on the android mobile phone is also day by day increasing, these are used all can only provide the user to open the method for Flash game file under mobile device and situation that network is connected.In case when not having available network around hardware device and network disconnection or the hardware device, then open the Flash game file and can fail.And after the Flash game file was successfully opened, most Flash game file can not normally move owing to lack push-botton operation.Because all do not have the direction keyboard to show in the touch screen mobile device of android system 2.2 and above version, and most Flash recreation will lean on mouse and directionkeys to operate.
Summary of the invention:
Technical matters to be solved by this invention provides a kind of method that increases virtual key operation Flash recreation on touch-screen that is not subjected to the restriction of the very few and network condition of button event when touch-screen mobile phone and panel computer are played the Flash recreation.
In order to solve the problems of the technologies described above, the present invention is achieved by the following technical solutions.
This method that increases virtual key operation Flash recreation on touch-screen may further comprise the steps:
(a) on the Flash of touch-screen mobile phone or panel computer recreation level, intercept and capture touch event by software mode;
(b) determine that whether the Event coordinate is in the key area;
(c) when Event coordinate during, can directly touch event be passed to the Flash recreation not in the key area; When Event coordinate during in the key area, be converted into key-press event by certain flow process, again information is passed to the Flash recreation.
In order to guarantee the running environment of Flash recreation, the touch-screen mobile phone in the described step (a) and the system of panel computer are android system of Google 2.2 and above version, and special adobe Flash plugin for android software for the use of Android mobile platform has been installed.
In order to operate on touch-screen, key-press event is a virtual key in the described step (c), is divided into common key-press and bearing circle.
In order to differentiate virtual key accurately, described common key-press is a circle of the inside, certain zone on the screen; Described bearing circle is formed with an interior touch point by the circle in certain zone with at this circle.
For virtual key is classified, described virtual key is divided into directionkeys, letter key, numerical key and special symbol key; Described these keyboard user can be random as required interpolation and deletion, the position user of keyboard also can be provided with arbitrarily.
For the ease of differentiating button, described directionkeys has 8 directions, is respectively upper and lower, left and right, upper left, lower-left, upper right and bottom right; Described letter key is 26 literal corresponding respectively keys of English; Described numerical key is 0-9.
Compared with prior art, usefulness of the present invention is: adopt this method can make the touch screen user of certain version can not be subjected to the restriction of network again, the perhaps very few restriction of physical button, can provide the more play content for each big mobile platform production firm, thereby reduce their product development cost greatly, increase their market competitiveness, a kind of new operation and existential mode are provided for numerous Flash trivial games websites.
Description of drawings:
The present invention is further described below in conjunction with accompanying drawing.
Fig. 1 is an operating process of the present invention.
Embodiment:
Describe the present invention below in conjunction with the drawings and the specific embodiments:
A kind of operating process that on touch-screen, increases the method for virtual key operation Flash recreation shown in Figure 1, in system is android system of Google 2.2 and above version, and has installed on the touch-screen mobile phone and panel computer of the special adobe Flash plugin for android software that uses for the Android mobile platform; (a) on Flash recreation level, intercept and capture touch event earlier by software mode; (b) determine that the Event coordinate is whether in the key area; (c) when Event coordinate during, can directly touch event be passed to the Flash recreation not in the key area; When Event coordinate during in the key area, be converted into key-press event by certain flow process, again information is passed to the Flash recreation.
Key-press event in the described step (c) is a virtual key, is divided into two kinds of common key-press and bearing circle; When being common key-press on the touch-screen, the inside, certain zone has a circle on the touch screen, after user's touch event takes place, application program can be calculated the coordinate of this touch event by computing method, if this coordinate, then changes into key-press event with user's touch event and passes to the Flash game content with interior generation at the circumferential area of circle; When being bearing circle on the touch-screen, having on the touch-screen in certain zone is individual round, with interior a touch point arranged at this circle, after user's touch event took place, whether the coordinate that at first calculates touch event in circle, calculated the position of touch point apart from the center of circle then, after surpassing certain value, such as 1/3 of radius, calculate corresponding directionkeys key-press event by angle, again key-press event is passed to the Flash game content; For virtual key is classified, user-friendly, described virtual key is divided into directionkeys, letter key, numerical key and special symbol key simultaneously; Described directionkeys has 8 directions, is respectively upper and lower, left and right, upper left, lower-left, upper right and bottom right; Described letter key is 26 literal corresponding respectively keys of English; Described numerical key is the numeral of 0-9; These keyboard user can be random as required interpolation and deletion, the position user of keyboard also can be provided with arbitrarily.
It is emphasized that: above only is preferred embodiment of the present invention, be not that the present invention is done any pro forma restriction, every foundation technical spirit of the present invention all still belongs in the scope of technical solution of the present invention any simple modification, equivalent variations and modification that above embodiment did.

Claims (6)

1. a method that increases virtual key operation Flash recreation on touch-screen is characterized in that, may further comprise the steps:
(a) on the Flash of touch-screen mobile phone or panel computer recreation level, intercept and capture touch event by software mode;
(b) determine that whether the Event coordinate is in the key area;
(c) when Event coordinate during, can directly touch event be passed to the Flash recreation not in the key area; When Event coordinate during in the key area, be converted into key-press event by certain flow process, again information is passed to the Flash recreation.
2. a kind of method that on touch-screen, increases virtual key operation Flash recreation according to claim 1, it is characterized in that, the touch-screen mobile phone in the described step (a) and the system of panel computer are android system of Google 2.2 and above version, and special adobe Flash plugin for android software for the use of Android mobile platform has been installed.
3. a kind of method that increases virtual key operation Flash recreation on touch-screen according to claim 1 is characterized in that key-press event is a virtual key in the described step (c), is divided into common key-press and bearing circle.
4. a kind of method that increases virtual key operation Flash recreation on touch-screen according to claim 3 is characterized in that described common key-press is a circle of the inside, certain zone on the screen; Described bearing circle is formed with an interior touch point by the circle in certain zone with at this circle.
5. a kind of method that increases virtual key operation Flash recreation on touch-screen according to claim 3 is characterized in that described virtual key is divided into directionkeys, letter key, numerical key and special symbol key; Described these keyboard user can be random as required interpolation and deletion, the position user of keyboard also can be provided with arbitrarily.
6. a kind of method that increases virtual key operation Flash recreation on touch-screen according to claim 5 is characterized in that described directionkeys has 8 directions, is respectively upper and lower, left and right, upper left, lower-left, upper right and bottom right; Described letter key is 26 literal corresponding respectively keys of English; Described numerical key is 0-9.
CN2011102221096A 2011-08-04 2011-08-04 Method for adding virtual keys on touch screen to operate flash games Pending CN102253839A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011102221096A CN102253839A (en) 2011-08-04 2011-08-04 Method for adding virtual keys on touch screen to operate flash games

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011102221096A CN102253839A (en) 2011-08-04 2011-08-04 Method for adding virtual keys on touch screen to operate flash games

Publications (1)

Publication Number Publication Date
CN102253839A true CN102253839A (en) 2011-11-23

Family

ID=44981119

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011102221096A Pending CN102253839A (en) 2011-08-04 2011-08-04 Method for adding virtual keys on touch screen to operate flash games

Country Status (1)

Country Link
CN (1) CN102253839A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103198201A (en) * 2012-01-09 2013-07-10 腾讯科技(深圳)有限公司 Method and device for controlling game based on simulate keyboard
CN104699484A (en) * 2015-03-17 2015-06-10 上海斐讯数据通信技术有限公司 Method for transplanting Flash game to Android platform

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101627351A (en) * 2007-08-14 2010-01-13 科乐美数码娱乐株式会社 Input reception device, region control method, information recording medium, and program
CN101814002A (en) * 2010-03-24 2010-08-25 华为终端有限公司 Virtual keyboard and input method using virtual keyboard
CN101853100A (en) * 2010-02-02 2010-10-06 杨开艳 Method of using touch module as game controller

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101627351A (en) * 2007-08-14 2010-01-13 科乐美数码娱乐株式会社 Input reception device, region control method, information recording medium, and program
CN101853100A (en) * 2010-02-02 2010-10-06 杨开艳 Method of using touch module as game controller
CN101814002A (en) * 2010-03-24 2010-08-25 华为终端有限公司 Virtual keyboard and input method using virtual keyboard

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103198201A (en) * 2012-01-09 2013-07-10 腾讯科技(深圳)有限公司 Method and device for controlling game based on simulate keyboard
CN103198201B (en) * 2012-01-09 2016-01-20 腾讯科技(深圳)有限公司 Based on keyboard-simulating control method for gaming and device
CN104699484A (en) * 2015-03-17 2015-06-10 上海斐讯数据通信技术有限公司 Method for transplanting Flash game to Android platform

Similar Documents

Publication Publication Date Title
CN104156171B (en) Method and device for preventing touch key misoperations in landscape screen state of mobile terminal
Galan et al. How young people consume news and the implications for mainstream media
WO2017211062A1 (en) Method for quickly launching application from lock screen, and mobile terminal
US11604660B2 (en) Method for launching application, storage medium, and terminal
US9965158B2 (en) Touch screen hover input handling
US20190370022A1 (en) Application preloading method and device, storage medium and terminal
CN107577415B (en) Touch operation response method and device
KR101909805B1 (en) Method, system for processing figerprint input information and mobile terminal
CN105653071B (en) A kind of information processing method and electronic equipment
WO2011101845A1 (en) Modified operating systems allowing mobile devices to accommodate io devices more convenient than their own inherent io devices and methods for generating such systems
CN102207825A (en) Method for switching multiple applications in portable multifunctional device and user graphical interface
CN102778997B (en) A kind of window display method and device
US10901614B2 (en) Method and terminal for determining operation object
CN103092523A (en) Unlocking method and terminal
CN107608551B (en) Touch operation response method and device
US20130106704A1 (en) Laptop computer
CN103197843A (en) Information handling device and information handling method
CN101482799A (en) Method for controlling electronic equipment through touching type screen and electronic equipment thereof
WO2013036251A1 (en) Scenario based animation library
US8321930B1 (en) Keyboard input coordinate-based login system
CN102253839A (en) Method for adding virtual keys on touch screen to operate flash games
JP4916583B1 (en) Image-based authentication method
KR101385625B1 (en) Method, apparatus, and recording medium for processing touch process
CN206133573U (en) Credible execution systems of software based on ARM framework
CN104536692A (en) Operation method of touch screen, touch device and touch terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20111123