My Andro (ii) "Selection of the book applet"

Source: Internet
Author: User

Today began to do a small feature of the Android applet-book Purchase Program


Brief introduction:

This program is mainly to practice mastering the use of the CheckBox control, its function is to display the selected books to the user to see.


Details:

First, let's take a look at what the general documents are:

The role of document Main.xml is to design program interface;

And Checkboxdemoactivity.java is mainly used to implement the function of code writing.


Second, the production process interface:


After the code of the interface is written, it is now possible to navigate through the interface we have made:



Third, just complete the production of the interface is not enough, if not realize its function, the program is not only a "paper tiger"? Now we should write the Java code that implements the functionality:



Four, the program has been programmed to complete the following to start the simulator to see the effect:

In the red box is produced by the completion of the Android program, click into and use the program, you can see the results:






Hey, choose the book applet is done! I come out and ask the great gods to teach ^_^


My Andro (ii) "Selection of the book applet"

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.