CN104750473A - Android system based writing superposition method - Google Patents

Android system based writing superposition method Download PDF

Info

Publication number
CN104750473A
CN104750473A CN201310753098.3A CN201310753098A CN104750473A CN 104750473 A CN104750473 A CN 104750473A CN 201310753098 A CN201310753098 A CN 201310753098A CN 104750473 A CN104750473 A CN 104750473A
Authority
CN
China
Prior art keywords
writing
suspended window
android system
superposition
function
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
CN201310753098.3A
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.)
HONGHE TECHNOLOGY Co Ltd
Original Assignee
HONGHE TECHNOLOGY Co Ltd
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 HONGHE TECHNOLOGY Co Ltd filed Critical HONGHE TECHNOLOGY Co Ltd
Priority to CN201310753098.3A priority Critical patent/CN104750473A/en
Publication of CN104750473A publication Critical patent/CN104750473A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention belongs to the field of touch screen equipment of an Android system and provides the Android system based writing superposition method. The method includes: setting an interface background of a writing program to be fully transparent; adding a canvas of the writing program to a first floating window; setting the first floating window to enable the same to cover interfaces of all application programs. With the method, the canvas of the writing program is always located above the interfaces of other application software, normal display of the other application software are unaffected, the function of writing superposition in the interfaces of the other application software is realized, and consumer use is facilitated.

Description

Based on the superposition Writing method of Android system
Technical field
The present invention relates to the touch panel device field based on Android system, particularly relate to and superpose Writing method in based on the touch panel device of Android system.
Background technology
Along with the development of intelligent Android system and touch screen technology, the various Android application software applied on touch-screen are arisen at the historic moment, and the software write by touch-screen such as notepad is exactly one wherein.
But, existing writing software is single realize writing function, cannot use alternately, open other application software with other application software such as e-book, video player etc., writing software will fall back on backstage, can not realize in other software interfaces, superpose the function of writing.
Summary of the invention
The technical problem to be solved in the present invention is, for the deficiencies in the prior art, and provides a kind of and can superpose the method for writing in other application software of Android system.
The technical solution adopted for the present invention to solve the technical problems is: provide a kind of superposition Writing method based on Android system, it is characterized in that, comprising:
Writing program interface background all-transparent is set;
The painting canvas of writing program is added into the first suspended window;
Arranging the first suspended window makes it can cover the interface of all application programs.
Further, the method also comprises:
Create quick botton;
This quick botton is added into the second suspended window;
Arranging the second suspended window makes it cover all interfaces.
Further, described first suspended window that arranges makes its step that can cover all Application Program Interfaces comprise: the type property value arranging described first suspended window is 2002; Described second suspended window that arranges makes its step covering all interfaces comprise: the type property value arranging described second suspended window is 2003.
Further, the method also comprises:
AddView and removeView function is write in the click event of quick botton;
Press quick botton, judge currently whether be in superposition and write state;
If so, then by calling removeView function, painting canvas is removed;
If not, then by calling addView function, add painting canvas.
Further, the described step arranging writing program interface background all-transparent specifically comprises:
Creating xml file, is #0000 by definition transparency, setting program interface background all-transparent;
In AndroidManifest.xml, the activity of this xml file of application is registered.
Implement technical scheme of the present invention, there is following beneficial effect: by the interface background of Transparence Display writing program, and by the painting canvas top set of writing program, the normal display of other application software is not affected on the interface making painting canvas always can be in other application software, realize in other software interfaces, superpose the function of writing, be user-friendly to.
Accompanying drawing explanation
Fig. 1 is that the present invention realizes superposing the method flow diagram write.
Embodiment
Below in conjunction with specification drawings and specific embodiments, the invention will be further described.
The painting canvas of writing program by writing program is set to transparent effect, and is added into window in the mode of suspended window by the present invention, thus reaches the effect superposing and write.As shown in Figure 1, the method comprises the following steps:
S101, arranges writing program interface background all-transparent, specifically comprises:
An xml file is created under res/values/, in this document by definition transparency be #0000, setting program interface background all-transparent, can directly carry out in this document the definition of transparency, also can alternative document defines by reference variable realize, #0000 represents that transparency is all-transparent;
Above-mentioned xml file is applied to activity, registers in AndroidManifest.xml to activity, the method for the setting program interface background all-transparent that xml file is defined can be applicable to program.
S102, in activity file, creates the first suspended window, by calling addView function, the painting canvas of writing program is added into the first suspended window;
S103, is set to 2002 by the type property value of the first suspended window, and the first suspended window can be covered on the interface of all application programs.
So far, can realize in the interface of other application programs, superpose the effect of writing.
The method is further comprising the steps of:
S104, creates a quick botton;
S105, in activity file, creates the second suspended window, by calling addView function, quick botton is added into the second suspended window;
S106, is set to 2003 by the type property value of the second suspended window, by the second suspended window top set, makes quick botton can cover on all interfaces;
S107, writes addView and removeView function in the click event of quick botton;
S108, presses quick botton, judges currently whether to be in superposition and to write state;
S109, if so, then by calling removeView function, removes painting canvas, reaches and closes the writing function effect of superposition;
S110, if not, then by calling addView function, adds painting canvas, reaches and opens the writing function effect of superposition.
By above operation, when running any application, arbitrarily can open or closing superposition writing function.
Realize superposing the specific works flow process of writing as follows:
After Android device start, automatically can generate a desktop suspension quick botton, this button is present among any interface;
Open any file, as video file or text etc., click suspension quick botton, the painting canvas of writing program can be opened, carry out remarks and write;
Again click suspension quick botton, pack up the painting canvas of writing program, cannot superpose again and write.

Claims (5)

1., based on a superposition Writing method for Android system, it is characterized in that, comprising:
Writing program interface background all-transparent is set;
The painting canvas of writing program is added into the first suspended window;
Arranging the first suspended window makes it can cover the interface of all application programs.
2. the superposition Writing method based on Android system according to claim 1, it is characterized in that, the method also comprises:
Create quick botton;
This quick botton is added into the second suspended window;
Arranging the second suspended window makes it cover all interfaces.
3. the superposition Writing method based on Android system according to claim 2, is characterized in that,
Described first suspended window that arranges makes its step that can cover all Application Program Interfaces comprise: the type property value arranging described first suspended window is 2002;
Described second suspended window that arranges makes its step covering all interfaces comprise: the type property value arranging described second suspended window is 2003.
4. the superposition Writing method based on Android system according to claim 2, it is characterized in that, the method also comprises:
AddView and removeView function is write in the click event of quick botton;
Press quick botton, judge currently whether be in superposition and write state;
If so, then by calling removeView function, painting canvas is removed;
If not, then by calling addView function, add painting canvas.
5. the superposition Writing method based on Android system according to any one of claim 1 to 4, is characterized in that, the described step arranging writing program interface background all-transparent specifically comprises:
Creating xml file, is #0000 by definition transparency, setting program interface background all-transparent;
In AndroidManifest.xml, the activity of this xml file of application is registered.
CN201310753098.3A 2013-12-31 2013-12-31 Android system based writing superposition method Pending CN104750473A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310753098.3A CN104750473A (en) 2013-12-31 2013-12-31 Android system based writing superposition method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310753098.3A CN104750473A (en) 2013-12-31 2013-12-31 Android system based writing superposition method

Publications (1)

Publication Number Publication Date
CN104750473A true CN104750473A (en) 2015-07-01

Family

ID=53590229

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310753098.3A Pending CN104750473A (en) 2013-12-31 2013-12-31 Android system based writing superposition method

Country Status (1)

Country Link
CN (1) CN104750473A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107450832A (en) * 2017-07-21 2017-12-08 广州视源电子科技股份有限公司 Handwriting display method and system, storage medium and equipment based on dual system
CN107450831A (en) * 2017-07-21 2017-12-08 广州视源电子科技股份有限公司 Person's handwriting display processing method and system, storage medium and equipment based on dual system
CN107450833A (en) * 2017-07-21 2017-12-08 广州视源电子科技股份有限公司 Handwriting method to set up and system, storage medium and equipment based on dual system
CN110162266A (en) * 2019-05-31 2019-08-23 四川长虹教育科技有限公司 A kind of system for realizing arbitrary interface writing on the blackboard on intelligent interaction large-size screen monitors
CN110427236A (en) * 2016-10-18 2019-11-08 广州视睿电子科技有限公司 A kind of rendering method and device
WO2020024890A1 (en) * 2018-08-03 2020-02-06 华为技术有限公司 Touch device and method
CN111857528A (en) * 2020-07-17 2020-10-30 上海墨案智能科技有限公司 Handwriting recording method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1755616A (en) * 2004-09-30 2006-04-05 微软公司 Editing the text of an arbitrary graphic via a hierarchical list
CN102439544A (en) * 2009-03-20 2012-05-02 谷歌股份有限公司 Interaction with ime computing device
CN102667699A (en) * 2009-11-25 2012-09-12 微软公司 Quick access utility
CN103049211A (en) * 2012-12-17 2013-04-17 上海海知信息技术有限公司 Input method and interface distribution method of handwriting input method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1755616A (en) * 2004-09-30 2006-04-05 微软公司 Editing the text of an arbitrary graphic via a hierarchical list
CN102439544A (en) * 2009-03-20 2012-05-02 谷歌股份有限公司 Interaction with ime computing device
CN102667699A (en) * 2009-11-25 2012-09-12 微软公司 Quick access utility
CN103049211A (en) * 2012-12-17 2013-04-17 上海海知信息技术有限公司 Input method and interface distribution method of handwriting input method

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
KEVINSTUDIO: "《http://zhushou.360.cn/detail/index/soft_id/11815》", 14 November 2012 *
QQLYM2002: "《http://bbs.zhiyoo.com/thread-6311319-1-1.html》", 21 January 2013 *
UOIOO: "《http://bbs.zhiyoo.com/thread-6049910-1-78.html》", 28 November 2012 *

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110427236A (en) * 2016-10-18 2019-11-08 广州视睿电子科技有限公司 A kind of rendering method and device
CN110427236B (en) * 2016-10-18 2023-06-09 广州视睿电子科技有限公司 Rendering method and device
WO2019015097A1 (en) * 2017-07-21 2019-01-24 广州视源电子科技股份有限公司 Dual-system-based writing stroke displaying method and system, storage medium and apparatus
WO2019015098A1 (en) * 2017-07-21 2019-01-24 广州视源电子科技股份有限公司 Dual-system-based writing stroke displaying and processing method and system, storage medium and apparatus
CN107450832A (en) * 2017-07-21 2017-12-08 广州视源电子科技股份有限公司 Handwriting display method and system, storage medium and equipment based on dual system
WO2019015096A1 (en) * 2017-07-21 2019-01-24 广州视源电子科技股份有限公司 Dual-system-based writing stroke configuring method and system, storage medium and apparatus
CN107450831A (en) * 2017-07-21 2017-12-08 广州视源电子科技股份有限公司 Person's handwriting display processing method and system, storage medium and equipment based on dual system
CN107450833B (en) * 2017-07-21 2019-11-05 广州视源电子科技股份有限公司 Handwriting setting method and system, storage medium and equipment based on dual system
CN107450833A (en) * 2017-07-21 2017-12-08 广州视源电子科技股份有限公司 Handwriting method to set up and system, storage medium and equipment based on dual system
CN107450831B (en) * 2017-07-21 2019-11-26 广州视源电子科技股份有限公司 Person's handwriting display processing method and system, storage medium and equipment based on dual system
CN107450832B (en) * 2017-07-21 2019-12-17 广州视源电子科技股份有限公司 handwriting display method and system based on dual systems, storage medium and equipment
CN110794976A (en) * 2018-08-03 2020-02-14 华为技术有限公司 Touch device and method
WO2020024890A1 (en) * 2018-08-03 2020-02-06 华为技术有限公司 Touch device and method
CN110794976B (en) * 2018-08-03 2022-04-22 华为技术有限公司 Touch device and method
CN110162266A (en) * 2019-05-31 2019-08-23 四川长虹教育科技有限公司 A kind of system for realizing arbitrary interface writing on the blackboard on intelligent interaction large-size screen monitors
CN111857528A (en) * 2020-07-17 2020-10-30 上海墨案智能科技有限公司 Handwriting recording method and device

Similar Documents

Publication Publication Date Title
CN104750473A (en) Android system based writing superposition method
CN103064590A (en) Control method and system for closing running programs of mobile terminal
CN103513912B (en) A kind of interface switching method and device
CN103870255A (en) Method and apparatus for displaying floating component
CN102752447A (en) Method for calculating using frequency of application program based on mobile phone side
CN103186323A (en) Integrated computer and touch menu callout method of same
CN105892629A (en) Multicore-based screen awakening method and device as well as mobile terminal
CN104184884A (en) Device and method for managing and controlling power consumption of mobile terminal and mobile terminal
CN103176802A (en) Method of achieving separation of user interface UI of system and control library through control pool
CN104281398A (en) Touch keyboard key variable method and terminal
CN104331244B (en) The execution method of application program
CN102486726B (en) Based on the multithreading drawing practice of Qt
CN102207894B (en) Keyboard filter and method for waking up no-response operation system
CN103777945A (en) System and method for updating standby application list according to using frequency
TW201506787A (en) Electronic device and inputting managemtne method thereof
IN2015DN01056A (en)
CN102855070B (en) A kind of method of managing electronic device display screen and electronic equipment
CN105138233A (en) Method and system for implementing sideslip menus, and electronic equipment
CN105630383B (en) A kind of method and system promoting attention rate in human-computer interaction process
CN108829390B (en) Software main interface framework design method
CN203588136U (en) State reminding display
CN204390198U (en) Touch-control display module
CN108536494A (en) Program assembly method for sorting and system applied to mobile terminal
CN201678323U (en) Intelligent elevator car controller
CN202694257U (en) Infrared standby device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 100000 room C, block C1104, No. 9, 3rd Street, Beijing, Haidian District

Applicant after: Hitevision Polytron Technologies Inc

Address before: 100000 room C, block C1104, No. 9, 3rd Street, Beijing, Haidian District

Applicant before: HONGHE TECHNOLOGY CO., LTD.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20150701

RJ01 Rejection of invention patent application after publication