My android path (2): "Book Selection applet" and Android path selection Applet
Today, I started an Android mini-app with a small feature-a book shopping app.
Introduction:
This program is mainly used to learn how to use the CheckBox control. Its function is to display the selected books to users.
Details:
1. Let's take a look at what files are available:
The main. xml file is used to design the program interface;
While CheckBoxDemoActivity. java is mainly used to compile code to implement functions.
2. Program Creation Interface:
After writing the code on the interface, you can view the completed interface:
3. It is not enough to complete the creation of the interface. If the function cannot be implemented, isn't the program just a "paper tiger "? Now we should write the JAVA code that implements the function:
4. The program has been programmed. Start the simulator below to see the effect:
The Android program created in the red box is displayed. Click to enter and use the program:
Hey, this is the success of the Book Selection applet! Please advise me more when I come out.