Procrastination Patient's Android development note-Timer widget

Source: Internet
Author: User

A demand analysis
1) Source of demand and operation analysis and technical analysis
Android comes with a very human-friendly clock application, which is devastating for the usual countdown and timing partners. So I'm going to do a very simple countdown widget for the operation. The operation is similar to the setting of the alarm clock, the Ring clock interface, click a time, directly start the countdown, the widget is to support the Click event, so the requirements should be achievable.
2) in particular, as a late stage of procrastination, it is possible that the plan of this article could not be achieved at all, if one day I really completed the plan. Wait until the day to say it.

II. Development Plan
The app mainly wants to develop widgets, because the function is too simple, so the main program and widgets use the same interface. Plan to develop the main app and then port the relevant code to the widget.
Specific plans are as follows:

  1. Determines the drawing mode, whether to use full drawing (like the game interface, the button is also drawn up)
  2. Draw the Backplane
  3. First make the countdown, draw the surrounding button, can click.
  4. The countdown should require a backend service or something like that, so the widget and app main interface is a set of backstage.
  5. Draw a curved interface to display the countdown.
  6. Make timings and draw timings directly with the method of drawing arcs (possible colors need to be different)
  7. Ported to the widget.
  8. Say it again.

After the third-level development is finished.

Procrastination Patient's Android development note-Timer widget

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.