文件名称:Android_helloworld
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:681.96kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
实验功能:
在第一个Hello World!为标签的activity中显示good,该界面中有一个名为Next的按钮。点击Next按钮进入到第二个activity中去,第二个界面中只有1个Close按钮。当然,据网上有人将要比较安全的实现关闭程序的功能也不是挺简单的,因为android有专门的退出键返回键等。所以该Close按钮暂时没去实现它。
我的第1个activity为HelloworldActivity,第2个activity为NextActivity.
实验说明:
1. 要实现从1个activity跳到另一个activity,这需要通过intent来实现。当然我们需要在Next按钮上绑定一个按钮按下的监听器(这些好像是java中的知识,可我从没学过java,只能用到哪个地方再去学了),一旦该按钮监听到有按键按下,则通过intent将指定的第2个activity触发,这样就完成了本次试验的功能。
2.在工程中,每一个activity都对应一个xml文件,xml文件主要是控制各控件的位置和属性的.
3. asserts目录下可以存放任何文件,res目录下也可以存放任意文件,且res下的文件会在gen目录下的R.java文件中自动生成一个全局id。
4. res目录下的values目下的strings.xml中的控件也是每个控件都在R.jar中对应一个id号。当然layout下的main.xml文件也是一样的。
-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,
在第一个Hello World!为标签的activity中显示good,该界面中有一个名为Next的按钮。点击Next按钮进入到第二个activity中去,第二个界面中只有1个Close按钮。当然,据网上有人将要比较安全的实现关闭程序的功能也不是挺简单的,因为android有专门的退出键返回键等。所以该Close按钮暂时没去实现它。
我的第1个activity为HelloworldActivity,第2个activity为NextActivity.
实验说明:
1. 要实现从1个activity跳到另一个activity,这需要通过intent来实现。当然我们需要在Next按钮上绑定一个按钮按下的监听器(这些好像是java中的知识,可我从没学过java,只能用到哪个地方再去学了),一旦该按钮监听到有按键按下,则通过intent将指定的第2个activity触发,这样就完成了本次试验的功能。
2.在工程中,每一个activity都对应一个xml文件,xml文件主要是控制各控件的位置和属性的.
3. asserts目录下可以存放任何文件,res目录下也可以存放任意文件,且res下的文件会在gen目录下的R.java文件中自动生成一个全局id。
4. res目录下的values目下的strings.xml中的控件也是每个控件都在R.jar中对应一个id号。当然layout下的main.xml文件也是一样的。
-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,
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Android开发历程_1(从1个activity挑战到另一个activity).docx
helloworld/.classpath
helloworld/.project
helloworld/.settings/org.eclipse.jdt.core.prefs
helloworld/AndroidManifest.xml
helloworld/bin/AndroidManifest.xml
helloworld/bin/classes/com/example/helloworld/BuildConfig.class
helloworld/bin/classes/com/example/helloworld/HelloworldActivity$MyButtonListener.class
helloworld/bin/classes/com/example/helloworld/HelloworldActivity.class
helloworld/bin/classes/com/example/helloworld/NextActivity.class
helloworld/bin/classes/com/example/helloworld/R$attr.class
helloworld/bin/classes/com/example/helloworld/R$drawable.class
helloworld/bin/classes/com/example/helloworld/R$id.class
helloworld/bin/classes/com/example/helloworld/R$layout.class
helloworld/bin/classes/com/example/helloworld/R$menu.class
helloworld/bin/classes/com/example/helloworld/R$string.class
helloworld/bin/classes/com/example/helloworld/R$style.class
helloworld/bin/classes/com/example/helloworld/R.class
helloworld/bin/classes.dex
helloworld/bin/helloworld.apk
helloworld/bin/jarlist.cache
helloworld/bin/res/drawable-hdpi/ic_action_search.png
helloworld/bin/res/drawable-hdpi/ic_launcher.png
helloworld/bin/res/drawable-ldpi/ic_launcher.png
helloworld/bin/res/drawable-mdpi/ic_action_search.png
helloworld/bin/res/drawable-mdpi/ic_launcher.png
helloworld/bin/res/drawable-xhdpi/ic_action_search.png
helloworld/bin/res/drawable-xhdpi/ic_launcher.png
helloworld/bin/resources.ap_
helloworld/gen/com/example/helloworld/BuildConfig.java
helloworld/gen/com/example/helloworld/R.java
helloworld/ic_launcher-web.png
helloworld/libs/android-support-v4.jar
helloworld/proguard-project.txt
helloworld/project.properties
helloworld/res/drawable-hdpi/ic_action_search.png
helloworld/res/drawable-hdpi/ic_launcher.png
helloworld/res/drawable-ldpi/ic_launcher.png
helloworld/res/drawable-mdpi/ic_action_search.png
helloworld/res/drawable-mdpi/ic_launcher.png
helloworld/res/drawable-xhdpi/ic_action_search.png
helloworld/res/drawable-xhdpi/ic_launcher.png
helloworld/res/layout/activity_helloworld.xml
helloworld/res/layout/activity_next.xml
helloworld/res/menu/activity_helloworld.xml
helloworld/res/values/strings.xml
helloworld/res/values/styles.xml
helloworld/res/values-v11/styles.xml
helloworld/res/values-v14/styles.xml
helloworld/src/com/example/helloworld/HelloworldActivity.java
helloworld/src/com/example/helloworld/NextActivity.java
helloworld/bin/classes/com/example/helloworld
helloworld/bin/classes/com/example
helloworld/gen/com/example/helloworld
helloworld/src/com/example/helloworld
helloworld/bin/classes/com
helloworld/bin/res/drawable-hdpi
helloworld/bin/res/drawable-ldpi
helloworld/bin/res/drawable-mdpi
helloworld/bin/res/drawable-xhdpi
helloworld/gen/com/example
helloworld/src/com/example
helloworld/bin/classes
helloworld/bin/res
helloworld/gen/com
helloworld/res/drawable-hdpi
helloworld/res/drawable-ldpi
helloworld/res/drawable-mdpi
helloworld/res/drawable-xhdpi
helloworld/res/layout
helloworld/res/menu
helloworld/res/values
helloworld/res/values-v11
helloworld/res/values-v14
helloworld/src/com
helloworld/.settings
helloworld/assets
helloworld/bin
helloworld/gen
helloworld/libs
helloworld/res
helloworld/src
helloworld
helloworld/.classpath
helloworld/.project
helloworld/.settings/org.eclipse.jdt.core.prefs
helloworld/AndroidManifest.xml
helloworld/bin/AndroidManifest.xml
helloworld/bin/classes/com/example/helloworld/BuildConfig.class
helloworld/bin/classes/com/example/helloworld/HelloworldActivity$MyButtonListener.class
helloworld/bin/classes/com/example/helloworld/HelloworldActivity.class
helloworld/bin/classes/com/example/helloworld/NextActivity.class
helloworld/bin/classes/com/example/helloworld/R$attr.class
helloworld/bin/classes/com/example/helloworld/R$drawable.class
helloworld/bin/classes/com/example/helloworld/R$id.class
helloworld/bin/classes/com/example/helloworld/R$layout.class
helloworld/bin/classes/com/example/helloworld/R$menu.class
helloworld/bin/classes/com/example/helloworld/R$string.class
helloworld/bin/classes/com/example/helloworld/R$style.class
helloworld/bin/classes/com/example/helloworld/R.class
helloworld/bin/classes.dex
helloworld/bin/helloworld.apk
helloworld/bin/jarlist.cache
helloworld/bin/res/drawable-hdpi/ic_action_search.png
helloworld/bin/res/drawable-hdpi/ic_launcher.png
helloworld/bin/res/drawable-ldpi/ic_launcher.png
helloworld/bin/res/drawable-mdpi/ic_action_search.png
helloworld/bin/res/drawable-mdpi/ic_launcher.png
helloworld/bin/res/drawable-xhdpi/ic_action_search.png
helloworld/bin/res/drawable-xhdpi/ic_launcher.png
helloworld/bin/resources.ap_
helloworld/gen/com/example/helloworld/BuildConfig.java
helloworld/gen/com/example/helloworld/R.java
helloworld/ic_launcher-web.png
helloworld/libs/android-support-v4.jar
helloworld/proguard-project.txt
helloworld/project.properties
helloworld/res/drawable-hdpi/ic_action_search.png
helloworld/res/drawable-hdpi/ic_launcher.png
helloworld/res/drawable-ldpi/ic_launcher.png
helloworld/res/drawable-mdpi/ic_action_search.png
helloworld/res/drawable-mdpi/ic_launcher.png
helloworld/res/drawable-xhdpi/ic_action_search.png
helloworld/res/drawable-xhdpi/ic_launcher.png
helloworld/res/layout/activity_helloworld.xml
helloworld/res/layout/activity_next.xml
helloworld/res/menu/activity_helloworld.xml
helloworld/res/values/strings.xml
helloworld/res/values/styles.xml
helloworld/res/values-v11/styles.xml
helloworld/res/values-v14/styles.xml
helloworld/src/com/example/helloworld/HelloworldActivity.java
helloworld/src/com/example/helloworld/NextActivity.java
helloworld/bin/classes/com/example/helloworld
helloworld/bin/classes/com/example
helloworld/gen/com/example/helloworld
helloworld/src/com/example/helloworld
helloworld/bin/classes/com
helloworld/bin/res/drawable-hdpi
helloworld/bin/res/drawable-ldpi
helloworld/bin/res/drawable-mdpi
helloworld/bin/res/drawable-xhdpi
helloworld/gen/com/example
helloworld/src/com/example
helloworld/bin/classes
helloworld/bin/res
helloworld/gen/com
helloworld/res/drawable-hdpi
helloworld/res/drawable-ldpi
helloworld/res/drawable-mdpi
helloworld/res/drawable-xhdpi
helloworld/res/layout
helloworld/res/menu
helloworld/res/values
helloworld/res/values-v11
helloworld/res/values-v14
helloworld/src/com
helloworld/.settings
helloworld/assets
helloworld/bin
helloworld/gen
helloworld/libs
helloworld/res
helloworld/src
helloworld
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.