Description: Experimental features:
In the first Hello World! For the activity of the label to display the good, the interface has a button called Next. Click the Next button to enter the second activity, the second interface is only a Close button. Of course, some people will be safer to close the program, according to online function is not very simple, and android have a dedicated exit key and return key. The Close button temporarily failed to achieve it.
I an activity for HelloworldActivity 2 activity is NextActivity.
Experiments show that:
(1) from one activity to another activity, which requires intent to achieve. Of course we need to bind on the Next button press of a button listener (like java in knowledge, but I never learned the java, and can only be used where to go to school). Once the button to listen to button is pressed,
To Search:
File list (Check if you may need any files):
Android开发历程_1(从1个activity挑战到另一个activity).docx
helloworld\.classpath
..........\.project
..........\.settings\org.eclipse.jdt.core.prefs
..........\AndroidManifest.xml
..........\bin\AndroidManifest.xml
..........\...\classes\com\example\helloworld\BuildConfig.class
..........\...\.......\...\.......\..........\HelloworldActivity$MyButtonListener.class
..........\...\.......\...\.......\..........\HelloworldActivity.class
..........\...\.......\...\.......\..........\NextActivity.class
..........\...\.......\...\.......\..........\R$attr.class
..........\...\.......\...\.......\..........\R$drawable.class
..........\...\.......\...\.......\..........\R$id.class
..........\...\.......\...\.......\..........\R$layout.class
..........\...\.......\...\.......\..........\R$menu.class
..........\...\.......\...\.......\..........\R$string.class
..........\...\.......\...\.......\..........\R$style.class
..........\...\.......\...\.......\..........\R.class
..........\...\classes.dex
..........\...\helloworld.apk
..........\...\jarlist.cache
..........\...\res\drawable-hdpi\ic_action_search.png
..........\...\...\.............\ic_launcher.png
..........\...\...\.........ldpi\ic_launcher.png
..........\...\...\.........mdpi\ic_action_search.png
..........\...\...\.............\ic_launcher.png
..........\...\...\.........xhdpi\ic_action_search.png
..........\...\...\..............\ic_launcher.png
..........\...\resources.ap_
..........\gen\com\example\helloworld\BuildConfig.java
..........\...\...\.......\..........\R.java
..........\ic_launcher-web.png
..........\libs\android-support-v4.jar
..........\proguard-project.txt
..........\project.properties
..........\res\drawable-hdpi\ic_action_search.png
..........\...\.............\ic_launcher.png
..........\...\.........ldpi\ic_launcher.png
..........\...\.........mdpi\ic_action_search.png
..........\...\.............\ic_launcher.png
..........\...\.........xhdpi\ic_action_search.png
..........\...\..............\ic_launcher.png
..........\...\layout\activity_helloworld.xml
..........\...\......\activity_next.xml
..........\...\menu\activity_helloworld.xml
..........\...\values\strings.xml
..........\...\......\styles.xml
..........\...\......-v11\styles.xml
..........\...\.........4\styles.xml
..........\src\com\example\helloworld\HelloworldActivity.java
..........\...\...\.......\..........\NextActivity.java
..........\bin\classes\com\example\helloworld
..........\...\.......\...\example
..........\gen\com\example\helloworld
..........\src\com\example\helloworld
..........\bin\classes\com
..........\...\res\drawable-hdpi
..........\...\...\drawable-ldpi
..........\...\...\drawable-mdpi
..........\...\...\drawable-xhdpi
..........\gen\com\example
..........\src\com\example
..........\bin\classes
..........\...\res
..........\gen\com
..........\res\drawable-hdpi
..........\...\drawable-ldpi
..........\...\drawable-mdpi
..........\...\drawable-xhdpi
..........\...\layout
..........\...\menu
..........\...\values
..........\...\values-v11
..........\...\values-v14
..........\src\com
..........\.settings
..........\assets
..........\bin
..........\gen
..........\libs
..........\res
..........\src
helloworld