CN107918538A - A kind of drafting system based on Andriod operating systems - Google Patents
A kind of drafting system based on Andriod operating systems Download PDFInfo
- Publication number
- CN107918538A CN107918538A CN201711225794.1A CN201711225794A CN107918538A CN 107918538 A CN107918538 A CN 107918538A CN 201711225794 A CN201711225794 A CN 201711225794A CN 107918538 A CN107918538 A CN 107918538A
- Authority
- CN
- China
- Prior art keywords
- picture
- operating systems
- system based
- drafting system
- painting canvas
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
- G06F8/24—Object-oriented
Abstract
The present invention relates to a kind of drafting system based on Andriod operating systems, utilize the features such as smart mobile phone is small, easy to carry, cost is low, open system, complete function, with reference to the good development trend of Andriod platforms and it is widely applied prospect, the Survey and map software development and application on Andriod mobile phones, the technology path transplanted and flow are proposed, technological service and technical guarantee are provided for the routine work of mapping.
Description
Technical field
The present invention relates to a kind of drafting system based on Andriod operating systems, belong to mobile phone application software technical field.
Background technology
Need to carry many set due to requirements of one's work, when the designer and construction personnel of architectural engineering go to scene
Standby, the weight of live complex environment and equipment causes significantly inconvenience to staff.Although total powerstation, electronic water
Relevant Survey and map software is all built-in with the common equipment such as the mapping such as quasi- instrument, but these equipment do not open usually, and user
The software of oneself exploitation can hardly be transplanted voluntarily in these mapping equipments.Simultaneously because hardware environment usually only considers mapping side
The function in face, other ancillary hardwares all do not have, such as camera, voice recording, wireless network card, so it is difficult to meet user's
It is actually needed.How by modern science and technology, for example, using smart mobile phone it is small, easy to carry, cost is low the characteristics of, will survey and draw
In the smart mobile phone of the common software transplanting Andriod operating systems of some in work, disappear to the muscle power for reducing operating personnel
Consumption, improving production efficiency will play a positive role.
The content of the invention
The technical problems to be solved by the invention are to provide one kind and utilize mobile terminal portability, with reference to Andriod platforms
Good development trend, can provide technological service for mapping routine work and being operated based on Andriod for technical guarantee is
The drafting system of system.
In order to solve the above-mentioned technical problem the present invention uses following technical scheme:The present invention devises one kind and is based on
The drafting system of Andriod operating systems, including self-defined graphics module and picture indicia module, wherein, self-defined drawing mould
Block, for self-defined drawing, and marks the size of institute's drawing sample, wherein, when user, which clicks on screen, to draw, system is called corresponding
Default treating method draw out corresponding figure;Picture indicia module, for being captured using Andriod operating systems hypograph
Device is taken pictures, and the size of material picture captured by mark.
As a preferred technical solution of the present invention, system is called corresponding default in the self-defined graphics module
Treating method, including reset center point method, dragging and scaling painting canvas method, ed iting dimension method, revocation and delet method, life
Into data list method.
As a preferred technical solution of the present invention, the replacement center point method:According to the height of the screen got
Degree and width initialization painting canvas, come back to central point.
As a preferred technical solution of the present invention, the dragging and scaling painting canvas method:Obtain the point of finger dragging
Coordinate, calculate the distance of dragging to realize dragging and scaling painting canvas method.
As a preferred technical solution of the present invention, the ed iting dimension method:Word is added to the figure on painting canvas,
The position of word is determined by obtaining the displacement distance of finger.
As a preferred technical solution of the present invention, the revocation and delet method:The core concept of revocation is exactly will
Painting canvas empties, and by the path preserved, last is removed, and path is drawn in above painting canvas again;The core concept of deletion
It is the delet method that every kind of figure is added in the initialization function of painting canvas, then calls the initialization function of painting canvas again finally
Preserve bitmap.
As a preferred technical solution of the present invention, the generation data list method:For listed in data list
The multiple types of data gone out, is realized using Viewpager+Fragment and horizontally slipped page turning, including step is as follows:
Data, is changed into Byte types and realizes serializing interface by S1;
S2, inherit FragmentStatePagerAdapter and rewrite getPageTitle () therein and getItem () two
A method;
S3, take out data by getSerializableExtra () and shown in Fragment.
As a preferred technical solution of the present invention, the picture indicia module, which includes opening camera, takes pictures method of servicing
With picture approach is obtained in picture library.
As a preferred technical solution of the present invention, the unlatching camera is taken pictures method of servicing:The preservation of picture is set
Path, calling system camera are taken pictures, and receive to call the data returned after camera.
As a preferred technical solution of the present invention, picture approach is obtained in the picture library:Album picture path is obtained,
Local dimension of picture is read, preserves picture into bitmap.
The application system of a kind of drafting system based on Andriod operating systems of the present invention, using above technical side
Case compared with prior art, has following technique effect:The designed drafting system based on Andriod operating systems of the invention,
It is good with reference to Andriod platforms using the features such as smart mobile phone is small, easy to carry, cost is low, open system, complete function
Good development trend and it is widely applied prospect, it is proposed that Survey and map software development and application, the skill of transplanting on Andriod mobile phones
Art route and flow, technological service and technical guarantee are provided for the routine work of mapping.
Brief description of the drawings
Fig. 1 is self-defined graphics module structure diagram in the drafting system of the invention based on Andriod operating systems;
Fig. 2 is picture indicia modular structure block diagram in the drafting system of the invention based on Andriod operating systems.
Embodiment
The embodiment of the present invention is described in further detail with reference to Figure of description.
The present invention devises a kind of drafting system based on Andriod operating systems, when among practical application, including from
Graphics module and picture indicia module are defined, wherein, self-defined graphics module, for self-defined drawing, and marks institute's drawing sample
Size, wherein, when user, which clicks on screen, to draw, system call accordingly default treating method draw out corresponding figure;
Picture indicia module, for being taken pictures using Andriod operating system hypograph acquisition equipments, and pictorial diagram captured by mark
The size of picture.
Wherein, as shown in Figure 1, the accordingly default treating method that system is called in the self-defined graphics module, including
Reset center point method, dragging and scaling painting canvas method, ed iting dimension method, revocation and delet method, generation data list side
Method;Each method is as follows:
The replacement center point method:According to the height of the screen got and width initialization painting canvas, central point is come back to.
The dragging and scaling painting canvas method:The coordinate of the point of finger dragging is obtained, the distance for calculating dragging is dragged to realize
Drag and scale painting canvas method.
The ed iting dimension method:Word is added to the figure on painting canvas, is determined by obtaining the displacement distance of finger
The position of word.
The revocation and delet method:The core concept of revocation exactly empties painting canvas, and the path preserved is last
One removes, and path is drawn in above painting canvas again;The core concept of deletion is added often in the initialization function of painting canvas
The delet method of kind figure, then calls the initialization function of painting canvas finally to preserve bitmap again.
The generation data list method:For multiple types of data listed in data list, using Viewpager
+ Fragment is realized and horizontally slipped page turning, including step is as follows:
Data, is changed into Byte types and realizes serializing interface by S1;
S2, inherit FragmentStatePagerAdapter and rewrite getPageTitle () therein and getItem () two
A method;
S3, take out data by getSerializableExtra () and shown in Fragment.
And for picture indicia module, in practical application, clapped as shown in Fig. 2, specifically including including opening camera
According to obtaining picture approach in method of servicing and picture library;Wherein, camera is opened to take pictures method of servicing:The storing path of picture is set,
Calling system camera is taken pictures, and receives to call the data returned after camera;Picture approach is obtained in picture library:Obtain album picture road
Footpath, reads local dimension of picture, preserves picture into bitmap Bitmap.
Drafting system based on Andriod operating systems designed by above-mentioned technical proposal, it is small, just using smart mobile phone
In carry, cost is low, open system, complete function the features such as, with reference to the good development trend of Andriod platforms and extensive
Application prospect, it is proposed that the technology path and flow of Survey and map software development and application, transplanting on Andriod mobile phones, for mapping
Routine work provides technological service and technical guarantee.
Embodiments of the present invention are explained in detail above in conjunction with attached drawing, but the present invention is not limited to above-mentioned implementation
Mode, within the knowledge of a person skilled in the art, can also be on the premise of present inventive concept not be departed from
Make various variations.
Claims (10)
1. a kind of drafting system based on Andriod operating systems, it is characterised in that including self-defined graphics module and picture mark
Remember module, wherein, self-defined graphics module, for self-defined drawing, and marks the size of institute's drawing sample, wherein, when user's point
When hitting screen picture, system calls corresponding default treating method to draw out corresponding figure;Picture indicia module, for using
Andriod operating system hypograph acquisition equipments are taken pictures, and the size of material picture captured by mark.
2. a kind of drafting system based on Andriod operating systems according to claim 1, it is characterised in that described
The accordingly default treating method that system is called in self-defined graphics module, including reset center point method, dragging and scaling picture
Cloth method, ed iting dimension method, revocation and delet method, generation data list method.
3. a kind of drafting system based on Andriod operating systems according to claim 2, it is characterised in that described heavy
Put center point method:According to the height of the screen got and width initialization painting canvas, central point is come back to.
4. a kind of drafting system based on Andriod operating systems according to claim 2, it is characterised in that described to drag
Drag and scale painting canvas method:The coordinate of the point of finger dragging is obtained, calculates the distance of dragging to realize dragging and scaling painting canvas side
Method.
A kind of 5. drafting system based on Andriod operating systems according to claim 2, it is characterised in that the volume
Collect measures:Word is added to the figure on painting canvas, the position of word is determined by obtaining the displacement distance of finger.
6. a kind of drafting system based on Andriod operating systems according to claim 2, it is characterised in that described to remove
Pin and delet method:The core concept of revocation exactly empties painting canvas, and by the path preserved, last is removed, again
Path is drawn in above painting canvas;The core concept of deletion is that the deletion side of every kind of figure is added in the initialization function of painting canvas
Method, then calls the initialization function of painting canvas finally to preserve bitmap again.
A kind of 7. drafting system based on Andriod operating systems according to claim 2, it is characterised in that the life
Into data list method:For multiple types of data listed in data list, realized using Viewpager+Fragment
Horizontally slip page turning, including step is as follows:
Data, is changed into Byte types and realizes serializing interface by S1;
S2, inherit FragmentStatePagerAdapter and rewrite getPageTitle () therein and getItem () two
A method;
S3, take out data by getSerializableExtra () and shown in Fragment.
A kind of 8. drafting system based on Andriod operating systems according to claim 1, it is characterised in that the figure
Piece mark module, which includes opening camera taking pictures, obtains picture approach in method of servicing and picture library.
9. a kind of drafting system based on Andriod operating systems according to claim 8, it is characterised in that described to open
Camera is opened to take pictures method of servicing:The storing path of picture is set, and calling system camera is taken pictures, and is returned after receiving calling camera
Data.
A kind of 10. drafting system based on Andriod operating systems according to claim 8, it is characterised in that the figure
Picture approach is obtained in storehouse:Album picture path is obtained, reads local dimension of picture, preserves picture into bitmap.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711225794.1A CN107918538A (en) | 2017-11-29 | 2017-11-29 | A kind of drafting system based on Andriod operating systems |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711225794.1A CN107918538A (en) | 2017-11-29 | 2017-11-29 | A kind of drafting system based on Andriod operating systems |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107918538A true CN107918538A (en) | 2018-04-17 |
Family
ID=61898003
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711225794.1A Pending CN107918538A (en) | 2017-11-29 | 2017-11-29 | A kind of drafting system based on Andriod operating systems |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107918538A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109150992A (en) * | 2018-07-27 | 2019-01-04 | 深圳Tcl数字技术有限公司 | Synchronization drawing practice, device, readable storage medium storing program for executing and system based on Android |
CN110427142A (en) * | 2019-07-29 | 2019-11-08 | 成都科鸿智信科技有限公司 | A kind of special equipment supervising platform drawing tools based on Html5 canvas forming label |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030220734A1 (en) * | 2002-02-11 | 2003-11-27 | Harrison Craig D. | Land software tool |
CN102945557A (en) * | 2012-10-12 | 2013-02-27 | 北京海鑫科金高科技股份有限公司 | Vector site map drawing method based on mobile terminal |
CN104501803A (en) * | 2015-01-14 | 2015-04-08 | 中国电建集团昆明勘测设计研究院有限公司 | Method for geological navigation and geological mapping through portable intelligent device based on Andriod |
CN104536743A (en) * | 2014-12-19 | 2015-04-22 | 中国电子科技集团公司第十五研究所 | Map plotting method and system based on Android operating system |
-
2017
- 2017-11-29 CN CN201711225794.1A patent/CN107918538A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030220734A1 (en) * | 2002-02-11 | 2003-11-27 | Harrison Craig D. | Land software tool |
CN102945557A (en) * | 2012-10-12 | 2013-02-27 | 北京海鑫科金高科技股份有限公司 | Vector site map drawing method based on mobile terminal |
CN104536743A (en) * | 2014-12-19 | 2015-04-22 | 中国电子科技集团公司第十五研究所 | Map plotting method and system based on Android operating system |
CN104501803A (en) * | 2015-01-14 | 2015-04-08 | 中国电建集团昆明勘测设计研究院有限公司 | Method for geological navigation and geological mapping through portable intelligent device based on Andriod |
Non-Patent Citations (1)
Title |
---|
李艳梅: "基于Android平台的电子测绘的关键技术研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109150992A (en) * | 2018-07-27 | 2019-01-04 | 深圳Tcl数字技术有限公司 | Synchronization drawing practice, device, readable storage medium storing program for executing and system based on Android |
CN110427142A (en) * | 2019-07-29 | 2019-11-08 | 成都科鸿智信科技有限公司 | A kind of special equipment supervising platform drawing tools based on Html5 canvas forming label |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106575360B (en) | The enhancing of chart data identifies | |
CN103544724A (en) | System and method for realizing fictional cartoon character on mobile intelligent terminal by augmented reality and card recognition technology | |
CN103873630B (en) | Method for managing contact person information and device | |
CN104866755B (en) | Setting method and device for background picture of application program unlocking interface and electronic equipment | |
CN107911812A (en) | It is preferred that public land mobile network PPLMN lists method of adjustment and mobile terminal | |
CN110298327B (en) | Visual special effect processing method and device, storage medium and terminal | |
CN102902943A (en) | Two-dimension code scanning method, processing device and terminal | |
CN107918538A (en) | A kind of drafting system based on Andriod operating systems | |
CN103327246B (en) | A kind of multimedia shooting processing method, device and intelligent terminal | |
CN108986026A (en) | A kind of picture joining method, terminal and computer readable storage medium | |
CN106331879A (en) | Screen comment display method and device based on panoramic video | |
CN103500060A (en) | Electronic map manufacturing method, electronic map manufacturing device, electronic map displaying method and electronic map displaying device | |
CN108415643A (en) | A kind of icon display method and terminal | |
CN104881594B (en) | It is a kind of based on the smart mobile phone ownership detection method precisely drawn a portrait | |
CN101127980A (en) | Layout method for standby interface of mobile terminal | |
CN109068063A (en) | A kind of processing of 3 d image data, display methods, device and mobile terminal | |
CN102156866A (en) | Road sign recognition system and method | |
CN107153712B (en) | Personalized customized picture management method supporting time-space association of mobile terminal | |
CN106326478A (en) | Data processing method and device of instant communication software | |
CN106155607A (en) | A kind of former person's handwriting multi-screen adaptation method, system and equipment | |
CN103150182A (en) | Mobile terminal wallpaper quick-setup method and system | |
CN107066571A (en) | A kind of image processing method and its equipment | |
CN202394313U (en) | Intelligent multimedia POS machine using touch screen in combination with handset card | |
CN202068581U (en) | Mobile phone and wallpaper changing system of mobile phone | |
CN107920165A (en) | A kind of schedule delet method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180417 |
|
RJ01 | Rejection of invention patent application after publication |