Movatterモバイル変換


[0]ホーム

URL:


CN105549980B - A kind of Android application development system - Google Patents

A kind of Android application development system
Download PDF

Info

Publication number
CN105549980B
CN105549980BCN201511016575.3ACN201511016575ACN105549980BCN 105549980 BCN105549980 BCN 105549980BCN 201511016575 ACN201511016575 ACN 201511016575ACN 105549980 BCN105549980 BCN 105549980B
Authority
CN
China
Prior art keywords
module
interface
page
animation
development system
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.)
Active
Application number
CN201511016575.3A
Other languages
Chinese (zh)
Other versions
CN105549980A (en
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.)
Beijing Goral Online Network Technology Co ltd
Original Assignee
Wuhan Douyu Network 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 Wuhan Douyu Network Technology Co LtdfiledCriticalWuhan Douyu Network Technology Co Ltd
Priority to CN201511016575.3ApriorityCriticalpatent/CN105549980B/en
Publication of CN105549980ApublicationCriticalpatent/CN105549980A/en
Application grantedgrantedCritical
Publication of CN105549980BpublicationCriticalpatent/CN105549980B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

Include the upper-layer functionality module and lower layer's interface module for page development the invention discloses a kind of Android application development system;The upper-layer functionality module is used to interact with developer, including button module, gesture module and page animation module;Lower layer's interface module joins interface, event interface, cloth station interface, associated interface, runnable interface and restarts interface for generation Android bottom code associated with the upper-layer functionality module, including configuration interface, biography.Android application development system provided by the invention allows developer largely to eliminate due to programming conflict caused by different coding styles, greatly simplifies the process that developer calls these functions.

Description

A kind of Android application development system
Technical field
The invention belongs to application and development fields, more particularly, to a kind of Android application development system.
Background technology
A Android application program usually has a large amount of pages and subpage frame, and each page and subpage frame will in programmingWrite initialization->Operation->The correlative code of destruction, this is Android system mandatory requirement, and not writing cannot run.
Android system merely provides the most basic page and subpage frame code, all initialization-at present>Operation->PinIt ruins code and all has to developer and do it yourself to write.Therefore, Android development process needs programmer to pay larger amount of professionLabour, Android application code amount is big and lack of standardization, causes Android application and development threshold high, safeguards complicated.
Invention content
For the disadvantages described above or Improvement requirement of the prior art, the present invention provides a kind of Android application development system,Purpose is Android application and development upper layer module and lower layer's interface module by providing specification, thus solves Android application and developmentSize of code is big and lack of standardization, the technical issues of being difficult to safeguard.
To achieve the above object, according to one aspect of the present invention, a kind of Android application development system is provided, including withIn the upper-layer functionality module and lower layer's interface module of page development;
The upper-layer functionality module is used to interact with developer, including button module, gesture module and page animation mouldBlock;
Lower layer's interface module, for generation Android bottom code associated with the upper-layer functionality module, includingConfiguration interface passes ginseng interface, event interface, cloth station interface, associated interface, runnable interface and restarts interface.
Preferably, the Android application development system, button module and event interface, cloth station interface, associated interface, fortuneLine interface restarts interface and is connected, and for monitoring corresponding event to trigger corresponding trigger, the button module includes notableBeggar's module, the attention rate for promoting button when button is selected;Notable beggar's module includes:First notableization mouldBlock for detecting touch point of the user on the mobile device page, and records the coordinate of the touch point;Second notableization module,Background color for obtaining current page, and the background color is subjected to discoloration processing, and will discoloration treated background faceColor is used as the fill color of the page;Third significantly changes module, for counter i=1 to be arranged, using touch point as the center of circle, based on shiftingRadius r determined by the screen density L of dynamic equipment draws i-th of circle;4th notableization module, for judging whether user stopsThe page of mobile device is touched, if it is, into the 7th module, otherwise enters the 5th module;5th notableization module, is used forI=i+1 is set, i-th of concentric circles is drawn with Fixed Time Interval, and judge whether i-th of concentric circles has had been filled with entirelyOtherwise the page returns to the 4th module if yes then enter the 6th module;6th notableization module, for keeping full page to beOccupied state, until user stops touching the page of mobile device;7th notableization module, for judging that full page isIt is no to be already filled up, it is if it is transferred to the 8th module, otherwise with than full page required time will be filled more in the 5th moduleFew time fills up the full page of mobile device, subsequently into the 8th module;8th notableization module, for fixedTime interval reduces the transparency of page fill color, until it eventually becomes all-transparent.
Preferably, the Android application development system, gesture module, for detecting user gesture touch event and identifyingGesture operation, including generic gesture identification submodule and boundary gesture operation submodule, the boundary gesture operation submodule packetIt includes:Boundary gesture operation detection module, the sliding touch operation carried out on the touchscreen according to first direction for detecting user;Boundary gesture operation identification module, for identification initiation site of the sliding touch operation and displacement;Boundary gesture operationOne judgment module, for judging the initiation site whether in the boundary of display content.
Preferably, the Android application development system, page animation module, for generating and showing between page layout switchView animation, including view animation producing submodule and view animation display sub-module;The view animation producing submodule packetPage animation starting point assignment module is included, the attribute assignment for each view to animation starting point;Page animation terminal assignment module,Attribute assignment for each view to animation terminal;Page animation generation module, it is current for the animation in timer recordTime, the category of each view of the variation progress percentage, animation starting point that are calculated according to interpolation device and each view of animation terminalAttribute calculates the attribute of each view of current animation and generates present image.
Preferably, the Android application development system, configuration interface are used to carry out underlying parameter to the five application pageConfiguration.
Preferably, the Android application development system passes ginseng interface for receiving page data.
Preferably, the Android application development system, time interface is for creating event trigger.
Preferably, the Android application development system, cloth station interface from layout for extracting element.
Preferably, the Android application development system, associated interface are used to that trigger to be arranged for the element.
Preferably, the Android application development system, runnable interface is for informing that the page or subpage frame have begun to transportRow, can carry out the operations such as data access.
Preferably, the Android application development system restarts interface for refresh data and generates refreshing report notificationUser.In general, through the invention it is contemplated above technical scheme is compared with the prior art, can obtain it is following beneficial to effectFruit:
Android application development system provided by the invention, upper-layer functionality module can easily realize the interaction with developer,Visual development process further can be achieved, for developer close friend;The generation corresponding generation of lower layer's interface module energy specificationCode reduces loophole, convenient for maintenance.
The present invention can simplify application development by having write a large amount of function modules in advance with high degree in summaryProcess;And define a set of written in code specification so that developer can largely eliminate due to different coding stylesCaused programming conflict, greatly simplifies the process that developer calls these functions.
Description of the drawings
Fig. 1 is Android application development system structural schematic diagram provided by the invention.
Specific implementation mode
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, rightThe present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, andIt is not used in the restriction present invention.As long as in addition, technical characteristic involved in the various embodiments of the present invention described belowIt does not constitute a conflict with each other and can be combined with each other.
Android application development system provided by the invention, as shown in Figure 1, including upper-layer functionality module and lower layer interface mouldBlock.
The upper-layer functionality module, for being interacted with developer, make the page that developer can be simply to a application andThe functional development of subpage frame, including but not limited to following module:
Button module, with event interface, cloth station interface, associated interface, runnable interface, restart interface and be connected, for monitoringDetection corresponding event is to trigger corresponding trigger, such as multiselect button clicks event, and the button module includes notable beggarModule, the attention rate for promoting button when button is selected.
Notable beggar's module includes:First notableization module, for detecting user's touching on the mobile device pageIt touches a little, and records the coordinate of the touch point;Second notableization module, the background color for obtaining current page, and by the back of the bodyScape color carries out discoloration processing, and will discoloration treated background color the is used as page fill color;Third significantly changes module, uses(it is initial by radius r determined by setting counter i=1, the screen density L using touch point as the center of circle, based on mobile deviceValue is equal to L) i-th of circle is drawn, wherein the screen density is referred to according to pixel resolution, the wide Gao Fan of physics is specified in screenThe pixel quantity that interior energy is shown is enclosed, in the high region of same width, the pixel that the display screen of low-density can be shown is less, and high densityDisplay screen can then show more pixels.4th notableization module, for judging whether user stops touching mobile deviceOtherwise the page enters the 5th notableization module if it is, into the 7th notableization module;5th notableization module, for settingI=i+1 is set, i-th of concentric circles is drawn with Fixed Time Interval, and judge whether i-th of concentric circles has had been filled with entire pageOtherwise face returns to the 4th notableization module if yes then enter the 6th notableization module;6th notableization module, for keepingFull page is occupied state, until user stops touching the page of mobile device;7th notableization module, for judgingWhether full page is already filled up, and is if it is transferred to the 8th notableization module, otherwise with than being incited somebody to action in the 5th notableization moduleThe less time fills up the full page of mobile device the time required to filling full page, subsequently into the 8th notableization mouldBlock;8th notableization module, the transparency for reducing page fill color at regular intervals, until it eventually becomes entirelyUntil transparent.The origin of coordinate system is the upper left corner of the page in the first notableization module.The discoloration processing includes pairThe intensification of background color handles and the processing that shoals, and can freely be changed according to the visual effect needed for user.Described 5thThe time interval that concentric circles is drawn in notableization module is 10 milliseconds to 33 milliseconds, and it is L that notableization draws a radius for the first timeCircle, after time interval, notableization draws the circle that a radius is 2L second, until the last one circle fills up full pageUntil.8th notableization mould time interval in the block is 10 milliseconds to 33 milliseconds.
Link block is connected with ginseng interface, event interface is passed, for after the triggering corresponding time detection device whether connectNetwork.
Gesture module, for detecting user gesture touch event and identify gesture operation, including generic gesture identifies submoduleBlock and boundary gesture operation submodule, the boundary gesture operation submodule include:Boundary gesture operation detection module, for examiningSurvey the sliding touch operation that user carries out according to first direction on the touchscreen;Boundary gesture operation identification module, for identificationThe initiation site of the sliding touch operation and displacement;The first judgment module of boundary gesture operation, for judging the start bitWhether point is in the boundary of display content.The first judgment module includes described in the boundary gesture operation:Touch screen boundary judgesSubmodule, for judging whether the initiation site is in the boundary of the touch screen and the second direction of first direction contrary;Content boundaries judging submodule is shown, for judging that the touch screen shows whether content is in a second direction in the displayThe boundary of appearance;Show content second when the initiation site is in the boundary of the touch screen second direction and the touch screenWhen being its boundary on direction, judge that the initiation site is in the boundary of display content.Second judges described in the gesture operationModule includes:First direction judging submodule, for judging whether the displacement of the sliding touch operation in a first direction fallsEnter preset first threshold range;Second direction judging submodule, for judge the sliding touch operation with first directionWhether the displacement on vertical third direction falls into preset second threshold range;When the sliding touch operation in a first directionOn displacement fall into preset first threshold range and the displacement of the sliding touch operation on third direction fall into it is presetWhen second threshold range, judge that the sliding touch operation falls into effective range.The boundary gesture operation identification module, may be used alsoIt is in the block one or more that submodule is generated including first to fourth order;First order generates submodule, for when describedWhen sliding touch operation is effective operation and first direction is downward, identify that the sliding touch operation is pulling operation, according toConcrete condition is generated shows content, mute, locking order as described in refreshing;Second order generates submodule, for working asWhen the sliding touch operation is effective operation and first direction is upward, identify that the sliding touch operation is upper pulling process,It generates as the case may be and shows content rest part as described in load, opens volume, unlock order.The third order lifeAt submodule, for when the sliding touch operation is effective operation and first direction is to the left, identifying that the sliding touchesOperation is that Zola operates, and generates such as skid off left-hand column, page up, rollback order as the case may be.The 4th order lifeAt submodule, for when the sliding touch operation is effective operation and first direction is to the right, identifying that the sliding touchesOperation is right pulling process, generates such as skid off right hand column, lower one page, F.F. order as the case may be.
Page starting module, for starting other pages.
Empty content module is retried for prompting user to refresh when the page does not have data.
Load-on module, for loading data from network.
Page animation module, for generating and showing the view animation between page layout switch, including view animation producing submoduleBlock and view animation display sub-module;The view animation producing submodule includes page animation starting point assignment module, for pairThe attribute assignment of each view of animation starting point;Page animation terminal assignment module, the attribute for each view to animation terminalAssignment;Page animation generation module, for the animation current time in timer record, the variation progress calculated according to interpolation devicePercentage, animation starting point each view category and animation terminal each view attribute calculate current animation each view attributeAnd generate present image.The starting point assignment module, the following attribute value for each view to animation starting point carry out assignment:GraduallyChange degree, rotation angle, zoom degree, center position, displacement, coordinate, background colour, size and/or text color;And it will assignStarting point of the attribute of each view after value as animation, the preferably described starting point assignment module acquiescence use the category of current each viewProperty its attribute value carry out assignment.The terminal assignment module, the following attribute value for each view to animation terminal are assignedValue:Gradual change degree, rotation angle, zoom degree, center position, displacement, coordinate, background colour, size and/or text color;And using the attribute of each view after assignment as the terminal of animation, the preferably described terminal assignment module acquiescence is respectively regarded using currentIts attribute value of the attribute of figure carries out assignment.The rule change of the interpolation device acquiescence is at the uniform velocity to change.
Toning plate module, for extracting the tone in a pictures.
Message notifying module, for showing a prompting message.
A module is acted, for operating the action item on device screen.
View handover module, display/hidden state for switching multiple elements on the page.
Lower layer's interface module, for generating Android bottom code, including configuration interface, pass ginseng interface, event interface,Cloth station interface, runnable interface, restarts interface at associated interface.
The configuration interface is used to carry out underlying parameter configuration to the five application page.
The biography ginseng interface is for receiving page data.
The time interface is for creating event trigger.
The cloth station interface from layout for extracting element.
The associated interface is used to that trigger to be arranged for the element.
The runnable interface can carry out the operations such as data access for informing that the page or subpage frame have begun to run.
It is described to restart interface for refresh data and generate refreshing report notification user.
Android application development system provided by the invention, interactive module is provided for developer, is adjusted in the interactive moduleWith corresponding function interface, to quickly generate a large amount of reputable codes, loophole is few, convenient for safeguarding and updating.
Android system provided by the invention works according to following flow:
Self-test and to operating system application memory source after system starts, opens upper layer module and is interacted with developer, successivelyExpanded configuration interface passes ginseng interface, event interface, cloth station interface, associated interface;Developer is required to extend operation after the completion of extensionInterface runs program;It is expansible to restart interface refreshing;It is recycled after completing extension and destroys the memory money applied in process of self-testSource.
As it will be easily appreciated by one skilled in the art that the foregoing is merely illustrative of the preferred embodiments of the present invention, not toThe limitation present invention, all within the spirits and principles of the present invention made by all any modification, equivalent and improvement etc., should all includeWithin protection scope of the present invention.

Claims (9)

The button module and event interface, associated interface, runnable interface, restart interface and are connected at cloth station interface, for monitoring phaseThe event answered is to trigger corresponding trigger, and the button module includes notable beggar's module, for being carried when button is selectedRise the attention rate of button;Notable beggar's module includes:First notableization module, for detecting user in the mobile device pageOn touch point, and record the coordinate of the touch point;Second notableization module, the background color for obtaining current page, andThe background color is subjected to discoloration processing, and will discoloration treated background color the is used as page fill color;Third is significantly changedModule, for counter i=1 to be arranged, radius r determined by the screen density L using touch point as the center of circle, based on mobile deviceDraw i-th of circle;4th notableization module, for judging whether user stops touching the page of mobile device, if it is, intoEnter the 7th module, otherwise enters the 5th module;5th notableization module is drawn for i=i+1 to be arranged with Fixed Time IntervalI-th of concentric circles, and judge whether i-th of concentric circles has had been filled with full page, if yes then enter the 6th module, otherwiseReturn to the 4th module;6th notableization module is occupied state for keeping full page, until user stops touching mobile setUntil the standby page;7th notableization module is if it is transferred to the 8th mould for judging whether full page is already filled upBlock, otherwise with than the full page of mobile device to be filled out to the less time the time required to filling full page in the 5th moduleIt is full, subsequently into the 8th module;8th notableization module, for reducing the transparent of page fill color at regular intervalsDegree, until it eventually becomes all-transparent.
3. Android application development system as described in claim 1, which is characterized in that the page animation module, for generatingView animation between display page layout switch, including view animation producing submodule and view animation display sub-module;It is described to regardFigure animation producing submodule includes page animation starting point assignment module, the attribute assignment for each view to animation starting point;PageFace animation terminal assignment module, the attribute assignment for each view to animation terminal;Page animation generation module, by based onWhen device record animation current time, according to interpolation device calculate variation progress percentage, animation starting point each view category andThe attribute of each view of animation terminal calculates the attribute of each view of current animation and generates present image.
CN201511016575.3A2015-12-292015-12-29A kind of Android application development systemActiveCN105549980B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201511016575.3ACN105549980B (en)2015-12-292015-12-29A kind of Android application development system

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201511016575.3ACN105549980B (en)2015-12-292015-12-29A kind of Android application development system

Publications (2)

Publication NumberPublication Date
CN105549980A CN105549980A (en)2016-05-04
CN105549980Btrue CN105549980B (en)2018-09-21

Family

ID=55829178

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201511016575.3AActiveCN105549980B (en)2015-12-292015-12-29A kind of Android application development system

Country Status (1)

CountryLink
CN (1)CN105549980B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN107045438B (en)*2016-12-162020-03-27阿里巴巴集团控股有限公司Application top view processing method, device and component
CN110569096B (en)*2019-08-202022-10-18上海沣沅星科技有限公司System, method, medium, and apparatus for decoding human-computer interaction interface

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102929537A (en)*2012-10-122013-02-13互动在线(北京)科技有限公司Android-based function menu interface display method and module
CN103914149A (en)*2014-04-012014-07-09复旦大学Gesture interaction method and gesture interaction system for interactive television
CN104063136A (en)*2013-07-022014-09-24姜洪明Mobile operation system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102929537A (en)*2012-10-122013-02-13互动在线(北京)科技有限公司Android-based function menu interface display method and module
CN104063136A (en)*2013-07-022014-09-24姜洪明Mobile operation system
CN103914149A (en)*2014-04-012014-07-09复旦大学Gesture interaction method and gesture interaction system for interactive television

Also Published As

Publication numberPublication date
CN105549980A (en)2016-05-04

Similar Documents

PublicationPublication DateTitle
CN103339625B (en)Method for displaying a data set
CN105893602B (en)Full screen display process and system for chart in the webpage of terminal browser
CN104049897B (en)Touch panel device unlock method and device
CN104142783A (en)Adaptive tile framework
CN103577030B (en)Browser interface window exhibiting method and system
KR20170027631A (en)Large format display apparatus and control method thereof
CN101158940B (en)Method and device for dwindling character stuffing in target region
CN107111708A (en)Many action lock-screens
CN107515759A (en)Screenshotss method, apparatus, electronic equipment and readable storage medium storing program for executing
CN105528167B (en)Information display method and device
TWI581122B (en)Electronic device and password inputting method for electronic device
CN105956857A (en)System and method for generating security virtual password keyboard
CN105549980B (en)A kind of Android application development system
CN105528217A (en)Partial refreshing method and device based on display list
US20200320810A1 (en)Object display frame, data processing method, device, equipment and system
CN112100551B (en)Watermark processing method, watermark processing device, storage medium and computer program product
JP2010267079A (en) Information processing apparatus, control method, and program
CN103793668A (en)Password input device
CN104077056B (en)Translation method and system for screen display page
KR20240170881A (en)User terminal and control method thereof
CN107085530A (en)Refresh the method, device and mobile terminal of application interface
CN105700765A (en)Electronic device and screen unlocking method therefor
CN104463039A (en)Unlocking method and device of intelligent device
CN107644491A (en)Article reclaims sharing method and device
CN106611119A (en)Terminal unlocking method and apparatus, and intelligent terminal

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant
TR01Transfer of patent right
TR01Transfer of patent right

Effective date of registration:20231211

Address after:Room 103, Block D, Building 3, Chenjialin, Balizhuang Village, Gaobeidian Township, Chaoyang District, Beijing, 100000

Patentee after:Beijing Goral Online Network Technology Co.,Ltd.

Address before:430000 Wuhan Donghu Development Zone, Wuhan, Hubei Province, No. 1 Software Park East Road 4.1 Phase B1 Building 11 Building

Patentee before:WUHAN DOUYU NETWORK TECHNOLOGY Co.,Ltd.


[8]ページ先頭

©2009-2025 Movatter.jp