Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

实验二:Android组件编程 #2

Open
zengsn opened this issue Mar 1, 2019 · 0 comments
Open

实验二:Android组件编程 #2

zengsn opened this issue Mar 1, 2019 · 0 comments
Labels
Lab 实验要求

Comments

@zengsn
Copy link
Contributor

zengsn commented Mar 1, 2019

实验要求

  1. 在Issues中创建自己的选题:https://github.com/hzuapps/android-labs-2019/issues
  2. 根据自选题目,编写一个或多个Activity(所有均带上学号前缀,放到自己的Java包下);
  3. 将标题设置为自己的学号+对应的功能或题目;
  4. 根据自己选择的题目实现Activity中导航、调用等功能(选做)。

参考选题(不要做登录和注册功能)

https://github.com/hzuapps/android-labs-2017/issues

实验步骤

https://github.com/hzuapps/android-labs-2019/blob/master/GitHub-lab.md

主要问题(新)

  1. Java类名要首字母大写,且驼峰式命名;
  2. Java包要全部小写开头。
  3. 删除多余文件的命令,已经更新到上面的步骤中。

实验提示

  1. 根据MVC、MVP设计模式或其他Android App设计模式设计Java类;
  2. 先设计表示业务数据的Java类,如表示订单、图书、商品、车辆、音乐、笔记等的类;
  3. 再考虑设计一些业务服务类,如网络连接等类;
  4. 上传代码时,代码放到自己的学号里面,同时保留Studio的目录结果,如:
app
- src
-- main
--- AndroidManifest.xml (第1个文件)
--- java
---- edu / hzuapps / androidlabs / Soft学号 / Soft学号Activity.java (第2个文件)
--- res 
---- layout
----- soft_学号_activity.xml (第3个文件)
---- values
----- strings.xml (第4个文件)

参考资料

  1. 视频链接:https://pan.baidu.com/s/1se-TkPyJFLFOs-E_QH_3YA 密码:o60e
  2. 讲义:http://zeng.shaoning.net/android/ppt/02.Components.pdf
  3. Java基础讲义 http://zeng.shaoning.net/android/ppt/01.Java.on.Android.Studio.pdf
  4. 在Android Studio中调试代码 http://blog.tianya.cn/post-4878171-107148685-1.shtml
  5. 创建第一个Android项目:http://hukai.me/android-training-course-in-chinese/basics/firstapp/creating-project.html
  6. Activity生命周期:http://hukai.me/android-training-course-in-chinese/basics/activity-lifecycle/index.html

image

注:有疑问可以在这里回帖。

最后一步

Pull request发送之后,一定要自己查看自己修改过的文件,看看有没有改错文件(Files changed)。

image

@zengsn zengsn added the Lab 实验要求 label Mar 1, 2019
GinSunx added a commit to GinSunx/android-labs-2019 that referenced this issue Mar 8, 2019
GinSunx added a commit to GinSunx/android-labs-2019 that referenced this issue Mar 8, 2019
wzq-55552 pushed a commit to wzq-55552/android-labs-2019 that referenced this issue Mar 9, 2019
Bswordload added a commit to Bswordload/android-labs-2019 that referenced this issue Mar 10, 2019
Bswordload added a commit to Bswordload/android-labs-2019 that referenced this issue Mar 10, 2019
Bswordload added a commit to Bswordload/android-labs-2019 that referenced this issue Mar 10, 2019
Bswordload added a commit to Bswordload/android-labs-2019 that referenced this issue Mar 10, 2019
Bswordload added a commit to Bswordload/android-labs-2019 that referenced this issue Mar 10, 2019
zengsn added a commit that referenced this issue Mar 12, 2019
zengsn added a commit that referenced this issue Mar 12, 2019
wzq-55552 pushed a commit to wzq-55552/android-labs-2019 that referenced this issue Mar 12, 2019
wechat210 added a commit to wechat210/android-labs-2019 that referenced this issue Mar 12, 2019
wzq-55552 pushed a commit to wzq-55552/android-labs-2019 that referenced this issue Mar 12, 2019
wzq-55552 pushed a commit to wzq-55552/android-labs-2019 that referenced this issue Mar 12, 2019
YYLLHH added a commit to YYLLHH/android-labs-2019 that referenced this issue Mar 12, 2019
wzq-55552 pushed a commit to wzq-55552/android-labs-2019 that referenced this issue Mar 12, 2019
wechat210 added a commit to wechat210/android-labs-2019 that referenced this issue Mar 12, 2019
wechat210 added a commit to wechat210/android-labs-2019 that referenced this issue Mar 12, 2019
purplestr added a commit to purplestr/android-labs-2019 that referenced this issue Mar 12, 2019
wechat210 added a commit to wechat210/android-labs-2019 that referenced this issue Mar 12, 2019
wechat210 added a commit to wechat210/android-labs-2019 that referenced this issue Mar 12, 2019
wzq-55552 pushed a commit to wzq-55552/android-labs-2019 that referenced this issue Mar 12, 2019
wzq-55552 pushed a commit to wzq-55552/android-labs-2019 that referenced this issue Mar 12, 2019
zengsn added a commit that referenced this issue Mar 12, 2019
zengsn added a commit that referenced this issue Mar 12, 2019
zengsn added a commit that referenced this issue Mar 12, 2019
#2  提交实验二代码文件
zengsn added a commit that referenced this issue Mar 12, 2019
zengsn added a commit that referenced this issue Mar 12, 2019
zhengrunkai added a commit to zhengrunkai/android-labs-2019 that referenced this issue Mar 23, 2019
zhengrunkai added a commit to zhengrunkai/android-labs-2019 that referenced this issue Mar 23, 2019
zengsn added a commit that referenced this issue Mar 24, 2019
AngleBeatQAQ added a commit to AngleBeatQAQ/android-labs-2019 that referenced this issue Mar 29, 2019
VOEZ21 added a commit to VOEZ21/android-labs-2019 that referenced this issue Mar 29, 2019
GinSunx added a commit to GinSunx/android-labs-2019 that referenced this issue Mar 29, 2019
zengsn pushed a commit that referenced this issue Mar 29, 2019
zengsn added a commit that referenced this issue Mar 29, 2019
caizelin111 added a commit to caizelin111/android-labs-2019 that referenced this issue Mar 30, 2019
zengsn added a commit that referenced this issue Mar 30, 2019
zengsn added a commit that referenced this issue Mar 30, 2019
#2 删除第二次实验多余文件
Android-lgw added a commit to Android-lgw/android-labs-2019 that referenced this issue Apr 1, 2019
zengsn added a commit that referenced this issue Apr 2, 2019
vcicis pushed a commit to vcicis/android-labs-2019 that referenced this issue Apr 3, 2019
zengsn added a commit that referenced this issue Apr 4, 2019
zrjdev added a commit to zrjdev/android-labs-2019 that referenced this issue Apr 6, 2019
yinghaocai added a commit to yinghaocai/android-labs-2019 that referenced this issue Apr 10, 2019
zengsn added a commit that referenced this issue Apr 10, 2019
zengsn added a commit that referenced this issue Apr 11, 2019
zengsn added a commit that referenced this issue May 4, 2019
AngleBeatQAQ added a commit to AngleBeatQAQ/android-labs-2019 that referenced this issue May 8, 2019
AngleBeatQAQ added a commit to AngleBeatQAQ/android-labs-2019 that referenced this issue May 8, 2019
AngleBeatQAQ added a commit to AngleBeatQAQ/android-labs-2019 that referenced this issue May 8, 2019
Xhuaidan added a commit to Xhuaidan/android-labs-2019 that referenced this issue May 9, 2019
zengsn added a commit that referenced this issue May 10, 2019
#2 #1670 实验2(换了题目后的)
Game111fff added a commit to Game111fff/android-labs-2019 that referenced this issue May 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Lab 实验要求
Projects
None yet
Development

No branches or pull requests

1 participant