软件开发综述课程设计报告1.docx

上传人:b****5 文档编号:29337003 上传时间:2023-07-22 格式:DOCX 页数:40 大小:69.14KB
下载 相关 举报
软件开发综述课程设计报告1.docx_第1页
第1页 / 共40页
软件开发综述课程设计报告1.docx_第2页
第2页 / 共40页
软件开发综述课程设计报告1.docx_第3页
第3页 / 共40页
软件开发综述课程设计报告1.docx_第4页
第4页 / 共40页
软件开发综述课程设计报告1.docx_第5页
第5页 / 共40页
点击查看更多>>
下载资源
资源描述

软件开发综述课程设计报告1.docx

《软件开发综述课程设计报告1.docx》由会员分享,可在线阅读,更多相关《软件开发综述课程设计报告1.docx(40页珍藏版)》请在冰豆网上搜索。

软件开发综述课程设计报告1.docx

软件开发综述课程设计报告1

南京晓庄学院

《软件开发综述》

课程设计报告

 

题 目:

Android软件开发

姓名:

Lm

学号:

班级:

指导教师:

完成时间

2015年6月25号

成绩:

信息工程学院

2015年6月

 

软件开发综述

1引言

1.1系统开发背景

Android是基于Linux核心的软体平台和作业系统,早期由Google,后由开放手机联盟开发。

 美国检索公司Google在2007年11月5日公布的手机系统平台。

该平台由操作系统、中间件、用户界面和应用软件组成,号称是首个为移动终端打造的真正开放和完整的移动软件。

它采用了软体堆层(software stack,又名以软体叠层)的架构,主要分为三部分。

 低层以Linux核心工作为基础,只提供基本功能,其他的应用软体则由名公司自行开发,以java作为编写程式的一部分。

 另外,为了推广此技术,Google和其它几十个手机公司建立了开放手机联盟(Open Handset Alliance)。

  Android在未公开之前常被传闻为Google电话,或gPhone。

 大多传闻认为Google开发的是自己的手机电话产品,而不是一套软体平台。

 Eclipse 是一个开放源代码的、基于 Java 的可扩展开发平台。

就其本身而言,它只是一个框架和一组服务,用于通过插件组件构建开发环境。

幸运的是,Eclipse 附带了一个标准的插件集,包括 Java 开发工具(Java Development Tools,JDT)。

Eclipse是一个开放源代码的软件开发项目,专注于为高度集成的工具开发提供一个全功能的、具有商业品质的工业平台。

它主要由Eclipse项目、Eclipse工具项目和Eclipse技术项目三个项目组成,具体包括四个部分组成——Eclipse Platform、JDT、CDT和PDE。

JDT支持Java开发、CDT支持C开发、PDE用来支持插件开发,Eclipse Platform则是一个开放的可扩展IDE,提供了一个通用的开发平台。

1.2系统开发的目的和意义

学会熟练使用eclipse这个软件,加深对Java语言的掌握,提高编程水平,增加对Android软件开发技术的了解。

1.3完成的主要工作

(1)通讯录页面的设计和功能的实现

(2)QQ登陆之前的跳转页面功能实现

(3)QQ登陆页面的制作和功能的实现

(4)音乐播放器页面的设计和功能的实现

(5)交行页面的制作

 

2需求分析和总体设计

2.1需求分析与设计思路

2.1.1需求分析

1各页面制作和跳转

2实现QQ登录功能

3实现通讯录功能

4实现播放器功能

2.1.2系统目录结构说明

文件名

作用

BaseWidgetActivity.java

界面

MainActivity.java

主界面

TabTestActivity.java

界面

Kaishi.java

逻辑处理事件及接口实现

Tab1Acty.java

逻辑处理事件及接口实现

Tab2Acty.java

逻辑处理事件及接口实现

Tab3Acty.java

逻辑处理事件及接口实现

Tab4Acty.java

逻辑处理事件及接口实现

2.2系统功能结构

 

 

 

图2.1总体功能框图

 

3详细设计

3.1系统模块实现

3.1.1QQ登录模块关键代码分析

1.跳转页面

(1)页面设计

android="

android:

id="@+id/TextView1"

android:

layout_width="fill_parent"

android:

layout_height="fill_parent">

android:

id="@+id/kaishijiemian"

android:

layout_width="fill_parent"

android:

layout_height="fill_parent"

android:

background="@drawable/bp"

/>

(2)功能实现

publicclasskaishiextendsActivity{

@Override

protectedvoidonCreate(BundlesavedInstanceState){

super.onCreate(savedInstanceState);

setContentView(R.layout.activity_tab5);

ImageViewiv=(ImageView)findViewById(R.id.kaishijiemian);

AlphaAnimationaa=newAlphaAnimation(1f,1f);

aa.setDuration(2500);

iv.startAnimation(aa);

aa.setAnimationListener(newAnimationListener(){

@Override

publicvoidonAnimationStart(Animationanimation){}

@Override

publicvoidonAnimationRepeat(Animationanimation){}

@Override

publicvoidonAnimationEnd(Animationanimation){

Intentit=newIntent(kaishi.this,TabTestActivity.class);

startActivity(it);

finish();

}

});

}

@Override

protectedvoidonDestroy(){

super.onDestroy();

}

}

2.登录页面

(1)页面设计

android="

android:

layout_width="fill_parent"

android:

layout_height="match_parent"

android:

background="#EBEBEB">

android:

id="@+id/linearLayout1"

android:

layout_width="fill_parent"

android:

layout_height="wrap_content"

android:

layout_alignParentTop="true"

android:

orientation="horizontal"

android:

padding="20dp"

android:

background="#0000EE">

android:

id="@+id/textView1"

android:

layout_width="wrap_content"

android:

layout_height="wrap_content"

android:

layout_weight="2.0"

android:

layout_gravity="center_horizontal"

android:

drawableLeft="@drawable/sz"

android:

text="设置"

android:

textColor="#ffffff"

android:

textSize="20sp"/>

android:

id="@+id/textView2"

android:

layout_width="wrap_content"

android:

layout_height="wrap_content"

android:

layout_weight="1.3"

android:

layout_gravity="center_horizontal"

android:

drawableLeft="@drawable/dw"

android:

text="扬州"

android:

textColor="#ffffff"

android:

textSize="20sp"/>

android:

id="@+id/textView3"

android:

layout_width="wrap_content"

android:

layout_height="wrap_content"

android:

layout_weight="0.7"

android:

layout_gravity="center_horizontal"

android:

drawableLeft="@drawable/yh"

android:

text="用户"

android:

textColor="#ffffff"

android:

textSize="20sp"/>

android:

id="@+id/linearLayout2"

android:

layout_width="fill_parent"

android:

layout_height="100dp"

android:

layout_below="@+id/linearLayout1"

android:

orientation="horizontal"

android:

paddingLeft="15dp"

android:

paddingRight="15dp"

android:

layout_marginTop="2dp"

android:

background="@drawable/gg">

android:

id="@+id/linearLayout3"

android:

layout_width="fill_parent"

android:

layout_height="60dp"

android:

layout_below="@+id/linearLayout2"

android:

orientation="horizontal"

android:

paddingLeft="15dp"

android:

paddingRight="15dp"

android:

background="#eaeaea"

android:

gravity="center">

android:

id="@+id/textView1"

android:

layout_width="wrap_content"

android:

layout_height="wrap_content"

android:

layout_weight="3.0"

android:

text="我的首页"

android:

textSize="18sp"

android:

gravity="center"/>

android:

id="@+id/textView2"

android:

layout_width="wrap_content"

android:

layout_height="wrap_content"

android:

layout_weight="3.0"

android:

text="生活服务"

android:

textSize="18sp"

android:

gravity="center"/>

android:

id="@+id/textView3"

android:

layout_width="wrap_content"

android:

layout_height="wrap_content"

android:

layout_weight="3.0"

android:

text="金融服务"

android:

textSize="18sp"

/>

android:

id="@+id/textView3"

android:

layout_width="wrap_content"

android:

layout_height="wrap_content"

android:

layout_weight="3.0"

android:

text="投资理财"

android:

textSize="18sp"

android:

gravity="center"/>

android:

id="@+id/linearLayout4"

android:

layout_width="fill_parent"

android:

layout_height="60dp"

android:

layout_below="@+id/linearLayout3"

android:

orientation="horizontal"

android:

paddingLeft="15dp"

android:

paddingRight="15dp"

android:

layout_marginTop="5dp"

android:

layout_marginLeft="10dp"

android:

layout_marginRight="10dp"

android:

background="#FFFFFF">

android:

id="@+id/textView1"

android:

layout_width="wrap_content"

android:

layout_height="wrap_content"

android:

layout_weight="3.0"

android:

layout_gravity="center_horizontal"

android:

drawableTop="@drawable/zhcx"

android:

text="账户查询"

android:

textSize="16sp"

android:

gravity="center"/>

android:

id="@+id/textView2"

android:

layout_width="wrap_content"

android:

layout_height="wrap_content"

android:

layout_weight="3.0"

android:

layout_gravity="center_horizontal"

android:

drawableTop="@drawable/xxzx"

android:

text="消息中心"

android:

textSize="16sp"

android:

gravity="center"/>

android:

id="@+id/textView3"

android:

layout_width="wrap_content"

android:

layout_height="wrap_content"

android:

layout_weight="3.0"

android:

layout_gravity="center_horizontal"

android:

drawableTop="@drawable/ydzf"

android:

text="移动支付"

android:

textSize="16sp"

android:

gravity="center"/>

android:

id="@+id/textView3"

android:

layout_width="wrap_content"

android:

layout_height="wrap_content"

android:

layout_weight="3.0"

android:

layout_gravity="center_horizontal"

android:

drawableTop="@drawable/grdk"

android:

text="个人贷款"

android:

textSize="16sp"

android:

gravity="center"/>

android:

id="@+id/linearLayout5"

android:

layout_width="fill_parent"

android:

layout_height="60dp"

android:

layout_below="@+id/linearLayout4"

android:

orientation="horizontal"

android:

paddingLeft="15dp"

android:

paddingRight="15dp"

android:

layout_marginTop="5dp"

android:

layout_marginLeft="10dp"

android:

layout_marginRight="10dp"

android:

background="#FFFFFF">

android:

id="@+id/textView1"

android:

layout_width="wrap_content"

android:

layout_height="wrap_content"

android:

layout_weight="3.0"

android:

layout_gravity="center_horizontal"

android:

drawableTop="@drawable/jhzx"

android:

text="交行资讯"

android:

textSize="16sp"

android:

gravity="center"/>

android:

id="@+id/textView2"

android:

layout_width="wrap_content"

android:

layout_height="wrap_content"

android:

layout_weight="3.0"

android:

layout_gravity="center_horizontal"

android:

drawableTop="@drawable/llcx"

android:

text="利率查询"

android:

textSize="16sp"

android:

gravity="center"/>

android:

id="@+id/textView3"

android:

layout_width="wrap_content"

android:

layout_height="wrap_content"

android:

layout_weight="3.0"

android:

layout_gravity="center_horizontal"

android:

drawableTop="@drawable/whcx"

android:

text="外汇查询"

android:

textSize="16sp"

android:

gravity="center"/>

android:

id="@+id/textView3"

android:

layout_width="wrap_content"

android:

layout_height="wrap_content"

android:

layout_weight="3.0"

android:

layout_gravity="center_horizontal"

android:

drawableTop="@drawable/wkqk"

android:

text="无卡取款"

android:

textSize="16sp"

android:

gravity="center"/>

android:

id="@+id/linearLayout6"

android:

layout_width="fill_parent"

android:

layout_height="60dp"

android:

layout_below="@+id/linearLayout5"

android:

orientation="horizontal"

android:

paddingLeft="15dp"

android:

paddingRight="15dp"

android:

layout_marginTop="5dp"

android:

layout_marginLeft="10dp"

android:

layout_marginRight="10dp"

android:

background="#FFFFFF">

android:

id="@+id/textView1"

android:

layout_width="wrap_content"

android:

layout_height="wrap_content"

android:

layout_gravity="center_horizontal"

android:

drawableTop="@drawable/wdcx"

android:

text="网点查询"

android:

textSize="16sp"

android:

gravity="center"/>

android:

id="@+id/textView3"

android:

layout_width="wrap_content"

android:

layout_height="wrap_content"

android:

layout_gravity="center_horizontal"

android:

drawableTop="@drawable/tjyy"

android:

text="添加应用"

androi

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 自然科学 > 物理

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1