手机迷你飞信设计.docx
《手机迷你飞信设计.docx》由会员分享,可在线阅读,更多相关《手机迷你飞信设计.docx(38页珍藏版)》请在冰豆网上搜索。
手机迷你飞信设计
《移动终端软件开发》
大作业
题目:
手机迷你飞信
专业:
计算机科学与技术
第一章项目概要
1.1软件简介
当今社会手机成了大家主要的通讯工具。
但是很多时候需要转达一些简单的信息或者需要大量转达时,电话的高昂费用使大家觉得不便,又或是很多时候对方不便接听电话,而信息必须要及时传达,诸多原因,所以短信成了大家的宠儿。
表示问候,节日祝福,消息群发都是短信独占鳌头的功能。
而套餐的短信数量有限,每一条短信又有字数限制。
现在网络的发达使一款代替短信功能的软件变得炙手可热,这就是飞信。
飞信是中国移动的综合通信服务,即融合语音(IVR)、GPRS、短信等多种通信方式,覆盖三种不同形态(完全实时的语音服务、准实时的文字和小数据量通信服务、非实时的通信服务)的客户通信需求,实现互联网、移动互联网和移动网间的无缝通信服务。
飞信不但可以免费从PC给手机发短信,而且不受任何限制,能够随时随地与好友开始语聊,并享受超低语聊资费。
登录飞信手机客户端,随时随地与好友聊天,无限发送免费短信,加入多方语音通话,让您的手机带您畅享飞信移动新生活,无缝沟通、永不离线!
当代人的手机装有越来越多的软件,而大多数软件占用内存过大而造成了大家的使用不便,所以内存精简而且功能齐全的迷你飞信获得了大家的青睐。
迷你飞信具有飞信里面大家最常使用的功能,简洁的界面也使大家容易接受。
1.2软件开发背景
Android是一种基于Linux的自由及开放源代码的操作系统,主要使用于移动设备,如智能手机和平板电脑,由Google公司和开放手机联盟领导及开发。
尚未有统一中文名称,中国大陆地区较多人使用“安卓”或“安致”。
Android操作系统最初由AndyRubin开发,主要支持手机。
Android是Google公司为首的OHA研发的一个开源智能手机平台。
Android 作为一款为移动终端打造的开源手机操作系统,是现阶段开放性最强的移动设备综合平台。
而在音乐软件开发过程中,核心的技术是构架软件的引擎,它是决定软件质量的关键问题。
鉴于 Android平台具有较好的开源性,不同硬件平台的兼容性,继而有效地节约成本,使更多用户受益,因此,诸多运营商和通信领域企业,开始选择 Android为主要的运营平台。
一款好的软件引擎能提升软件的质量,提高软件的运行效率,增加软件的可使用性,并且减少程序开发的冗繁的代码。
随着手机android系统的出现,手机上各种软件的市场在近几年猛速增长。
音乐软件也不例外。
在这种状况下对手机软件开发的需求将大幅上涨。
从07年Android平台创立伊始,到今年5月份的Google I/O大会,Android平台一直保持版本更新。
android手机平台的引擎设计受到了对消息反馈即时性要求很高的商业和服务行业的青睐。
1.3软件受众
此款软件的受众多为喜爱聊天的年轻人,而商务人士也常使用这款软件。
因为软件受欢迎程度很高,所以在中年人这一片也有很多受众。
1.4使用的软件工具和环境
Window7系统
JDK6.0_35
第二章题目及要求
首先,从名字大家可以看出这是一款手机即时通信工具,具备了聊天软件的基本功能。
有好友的界面,也可以进行添加好友,和好友进行通信,发起即使聊天等需求。
页面注重简洁。
可以在特定的页面间实现跳转,可发送消息。
2.1需求分析
当今社会,和朋友时不时聊聊天成为大多数人的爱好。
侃大山,聊八卦似乎也不再只是小女生的专利。
而很多时候朋友不在身边,有很多事情想要第一时间告诉他怎么办,即使通讯工具就成了大多数人的选择。
而迷你飞信内存占用小,功能齐全,费用低廉等优点就成为了大家的不二之选。
2.2页面详细分析
下面为大家简单介绍一下各页面布局设计
一级页面:
二级界面是主菜单,一个是智能咨询。
主菜单界面主要是我的好友分组以及各种功能按钮,有发送消息,选项。
二级页面:
现有的二级页面有,发送消息,好友聊天和选项。
发送消息和和好友聊天界面相似,只是发送消息需要手动输入联系人,而好友聊天就有了好友的电话。
选项上有六个按钮,分别是六个不同的功能,分别是,添加好友,搜索好友,群发消息,帮助,设置,退出。
三级页面:
现在做出的三级页面有两个,设置和添加好友。
设置界面有不同的选项,可以根据需求进行选择。
添加好友界面有一个输入框,输入对方手机号/飞信号就可以对其进行好友添加与分组等功能了。
四级页面:
四级页面有两个,一个是草稿箱,一个是登陆。
登陆页面,界面有两个输入框,分别输入手机号/飞信号和密码。
最下面是一个登陆按钮,当信息正确时,就可以进去到主菜单。
草稿箱可以保存草稿飞信,包括电话号码和信息。
还可以删除草稿。
第三章系统概要设计
3.1系统说明
系统用到的主要布局模型是线性布局,表格布局,相对布局等。
其结构图为:
3.2页面简介
很多安卓软件都有很多绚丽多彩的界面,因为单一单调的界面已经不能满足大家的要求。
同样的,我的迷你飞信也一样有很多界面,下面就对大家简单介绍一下我的几个界面。
(1)主菜单界面:
这个界面主要是一个分组的介绍,页面简洁大方,一目了然,就不对按钮再进行累述了。
点击不同的按钮也可以跳转到各个界面。
(2)发送消息界面:
这个界面主要是新飞信文本的建立,上面输入对方手机号,下方是文本编辑框,点击纸飞机按钮后可将消息发送出去。
(3)选项界面:
该界面是一个基础功能界面。
界面上有六个选项,分别是添加好友,搜索好友,群发消息,帮助,设置,退出,以实现不同功能。
用户可根据自己需要而进行选择。
选项图片加文字使得简单直白的功能而不显沉闷。
(4)添加好友界面:
添加界面最上方是添加好友,左边的小箭头代表返回主菜单。
下面的输入框输入手机号/飞信号,往下依次是,输入分组名称,输入昵称,输入自己的名字。
最下方是一个按钮,添加。
(5)设置界面:
设置界面的上面是界面提示,左边的小箭头代表返回主菜单。
往下是各个功能,依次是登陆飞信,飞信详细设置,消息弹窗设置,消息通知设置,发送消息提醒,主题。
(6)登陆界面:
这个界面用于切换账号和登陆。
最上方依旧是界面提示,往下为两个输入框,分别输入手机号/飞信号和密码。
下方为无法登陆解决办法。
最下方为一个按钮,登陆。
(6)草稿箱界面:
这个界面用于保存飞信草稿。
最上面是界面提醒。
下面的新建按钮可以新建草稿,下面的电话号码用于查找草稿。
第四章关键代码
4.1XML代码部分
下面选取部分页面的代码。
主菜单界面:
xmlversion="1.0"encoding="utf-8"?
>
android="
android:
layout_width="match_parent"
android:
layout_height="match_parent"
android:
orientation="vertical">
android:
layout_width="match_parent"
android:
layout_height="50dp"
android:
orientation="vertical">
android:
gravity="center_vertical"
android:
orientation="horizontal"
android:
background="#9ACD32"
android:
layout_width="fill_parent"
android:
layout_height="50dp">
android:
id="@+id/scrollView1"
android:
layout_width="match_parent"
android:
layout_height="match_parent"
android:
background="#FFFFFF">
android:
layout_width="match_parent"
android:
layout_height="match_parent"
android:
orientation="vertical">
android:
layout_width="match_parent"
android:
layout_height="wrap_content"
android:
paddingLeft="16dp"
android:
paddingRight="16dp"
android:
paddingTop="16dp"
android:
paddingBottom="16dp">
android:
layout_width="wrap_content"
android:
layout_height="wrap_content"
android:
src="@drawable/head"/>
android:
layout_width="match_parent"
android:
layout_height="fill_parent"
android:
text="黄二雪"
android:
textColor="#9ACD32"
android:
gravity="center"
android:
textSize="20dp"
android:
layout_weight="1.0"/>
android:
layout_width="30dp"
android:
layout_height="30dp"
android:
layout_gravity="center"
android:
src="@drawable/online"/>
android:
layout_width="match_parent"
android:
layout_height="2dp"
android:
background="#EDEDED"/>
android:
gravity="center_vertical"
android:
orientation="horizontal"
android:
paddingLeft="16dp"
android:
paddingRight="16dp"
android:
layout_width="fill_parent"
android:
layout_height="40dp">
android:
layout_width="wrap_content"
android:
layout_height="wrap_content"
android:
src="@drawable/light"/>
android:
layout_width="0.0dp"
android:
layout_height="wrap_content"
android:
text="最近联系人(10)"
android:
layout_weight="1.0"/>
android:
layout_width="match_parent"
android:
layout_height="2dp"
android:
background="#EDEDED"/>
android:
gravity="center_vertical"
android:
orientation="horizontal"
android:
paddingLeft="16dp"
android:
paddingRight="16dp"
android:
layout_width="fill_parent"
android:
layout_height="40dp">
android:
layout_width="wrap_content"
android:
layout_height="wrap_content"
android:
src="@drawable/light"/>
android:
layout_width="0.0dp"
android:
layout_height="wrap_content"
android:
text="我的好友
(1)"
android:
layout_weight="1.0"/>
android:
layout_width="match_parent"
android:
layout_height="2dp"
android:
background="#EDEDED"/>
android:
gravity="center_vertical"
android:
orientation="horizontal"
android:
paddingLeft="16dp"
android:
paddingRight="16dp"
android:
layout_width="fill_parent"
android:
layout_height="40dp">
android:
layout_width="wrap_content"
android:
layout_height="wrap_content"
android:
src="@drawable/light"/>
android:
layout_width="0.0dp"
android:
layout_height="wrap_content"
android:
text="航院(45)"
android:
layout_weight="1.0"/>
android:
layout_width="match_parent"
android:
layout_height="2dp"
android:
background="#EDEDED"/>
android:
gravity="center_vertical"
android:
orientation="horizontal"
android:
paddingLeft="16dp"
android:
paddingRight="16dp"
android:
layout_width="fill_parent"
android:
layout_height="40dp">
android:
layout_width="wrap_content"
android:
layout_height="wrap_content"
android:
src="@drawable/light"/>
android:
layout_width="0.0dp"
android:
layout_height="wrap_content"
android:
text="617亲人们(5)"
android:
layout_weight="1.0"/>
android:
layout_width="match_parent"
android:
layout_height="2dp"
android:
background="#EDEDED"/>
android:
gravity="center_vertical"
android:
orientation="horizontal"
android:
paddingLeft="16dp"
android:
paddingRight="16dp"
android:
layout_width="fill_parent"
android:
layout_height="40dp">
android:
layout_width="wrap_content"
android:
layout_height="wrap_content"
android:
src="@drawable/light"/>
android:
layout_width="0.0dp"
android:
layout_height="wrap_content"
android:
text="未分组(25)"
android:
layout_weight="1.0"/>
android:
layout_width="match_parent"
android:
layout_height="2dp"
android:
background="#EDEDED"/>
android:
gravity="center_vertical"
android:
orientation="horizontal"
android:
paddingLeft="16dp"
android:
paddingRight="16dp"
android:
layout_width="fill_parent"
android:
layout_height="40dp">
android:
layout_width="wrap_content"
android:
layout_height="wrap_content"
android:
src="@drawable/light"/>
android:
layout_width="0.0dp"
android:
layout_height="wrap_content"
android:
text="学弟学妹们(15)"
android:
layout_weight="1.0"/>
发送消息界面:
xmlversion="1.0"encoding="utf-8"?
>
android="
android:
layout_width="match_parent"
android:
layout_height="match_parent"
android:
orientation="vertical">
android:
layout_width="fill_parent"
android:
layout_height="50dp"
android:
background="#9ACD32"
android:
gravity="center_vertical"
android:
orientation="horizontal">
android:
id="@+id/button3"
android:
layout_width="40dp"
android:
layout_height="40dp"
android:
layout_marginLeft="10dp"
android:
background="@drawable/back1"/>
android:
id="@+id/textView2"
android:
layout_width="221dp"
android:
layout_height="40.0dp"
android:
gravity="center"
android:
text="新消息"
android:
textColor="#FFFFFF"
android:
textSize="25dp"/>
android:
id="@+id/button4"
android:
layout_width="40dp"
android:
layout_height="40dp"
android:
background="@drawable/call"/>
android:
id="@+id/address"
android:
layout_width="fill_parent"
android:
layout_height="40dp"
android:
layout_marginTop="10dp"
android:
hint="接收者"
android:
inputType="textEmailAddress"
android:
textColor="#A8A8A8"/>
android:
id="@+id/scrollView1"
android:
layout_widt