- 2
- 0
- 约 22页
- 2017-06-16 发布于辽宁
- 举报
android开发计算器学士学位论文
Android应用程序开发
实验报告
目录
第一章 系统分析与设计 3
1.1系统的可行性分析 3
1.2 系统的需求分析 3
第二章 系统详细设计 3
2.1 activity的详细设计 3
2.2 xml文件的详细设计 14
第三章 测试运行及总结 20
3.1 界面截图 20
3.2 运行界面截图 21
3.3运行结果截图 22
3.4 总结 22
第一章 系统分析与设计
1.1系统的可行性分析
可行性研究是为了弄清楚系统开发的项目是不是可以实现和值得进行研究的过程,实际上是一次大大简化系统分析和系统设计的过程,所以,进行可执行性的分析是非常必要的,也是很重要的,经过最初的设计目标和进行的实时调查得出以下四点的可行性分析:
(1)技术可行性:Eclipse + Android ADT的技术已经较为成熟,通过SUN公司(现被ORCEL公司收购)推出的跨平台、动态的JAVA语言进行开发。
(2)运行可行性:该系统需要Android虚拟机环境,Eclipse中安装ADT,DDMS等Google Android相关插件。其运行环境已经相当稳定,它功能丰富,包括了完备的Android程序的编码、调试、测试和发布功能,其中支持所有Android应用开发相关技术,包括SQLite,Skia,3D制作,Android XML,能够很好的发布Android的应用程序APK包。
(3)法律可行性:因为是自主开发设计,所以不会构成侵权,在法律上是可行的。
通过以上的可行性分析,将采用Eclipse+Android ADT + DDMS技术,运用JAVA语言进行系统的开发。
1.2 系统的需求分析
根据分析需求,这个系统必须实现以下的功能:
(1) 实现简单的数字计算功能。
作为计算器,其核心就是加减乘除。
(2) 能够在手机里面以良好的界面。
第二章 系统详细设计
2.1 activity的详细设计
package com.example.counter;
import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.TextView;
public class MainActivity extends Activity {
private TextView textView1 = null;
private Button buttonzone = null;
private Button button1 = null;
private Button button2 = null;
private Button button3 = null;
private Button button4 = null;
private Button button5 = null;
private Button button6 = null;
private Button button7 = null;
private Button button8 = null;
private Button button9 = null;
private Button buttonadd = null;
private Button buttonred = null;
private Button buttondiv = null;
private Button buttonmul = null;
private Button buttonpint = null;
private Button buttonbai = null;
private Button buttongen = null;
private Button buttonequal = null;
private String x=;
private String y=;
private double r1=0;
private double r2=0;
private int i=0;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
textView1 = (TextView)
您可能关注的文档
- 2015年基于atmega16的mp3设计与实现学士学位论文.doc
- 2015年基于ssh的婴幼儿产品销售系统学士学位论文.doc
- 2015年基于传感器的移动增强现实实现应用学士学位论文.doc
- 2015年论文嵌入式拼图游戏的设计与实现学士学位论文.doc
- 2015年设计学生智能学习系统大学毕设论文 .doc
- 2015年基于qt的教务管理系统的设计学士学位论文.doc
- 2015年学生智能学习系统设计学士学位论文.doc
- 2015年学生智能学习系统学士学位论文.doc
- 2015新闻发布系统设计学士学位论文.doc
- 2015年网上教务评教管理系统设计与实现最终版学士学位论文.doc
- 广东省广州省实验中学教育集团2025-2026学年八年级上学期期中考试物理试题(解析版).docx
- 广东省广州大学附属中学2025-2026学年八年级上学期奥班期中物理试题(解析版).docx
- 广东省广州市第八十六中学2025-2026学年八年级上学期期中物理试题(含答案).docx
- 广东省广州市第八十九中学2025-2026学年八年级上学期期中考试物理试题(解析版).docx
- 广东省广州市第二中学2025-2026学年八年级上学期期中考试物理试题(含答案).docx
- 广东省广州市第八十六中学2025-2026学年八年级上学期期中物理试题(解析版).docx
- 广东省广州市第八十九中学2025-2026学年八年级上学期期中考试物理试题(含答案).docx
- 广东省广州市第二中学2025-2026学年八年级上学期期中考试物理试题(解析版).docx
- 2026《中国人寿上海分公司营销员培训体系优化研究》18000字.docx
- 《生物探究性实验教学》中小学教师资格模拟试题.docx
原创力文档

文档评论(0)