论文部分内容阅读
摘要:本文通过对android平台的发展现状的深入分析,阐述了android平台的特点和优势,以一个手机短信发送器程序的实现展示android平台的软件开发流程。
关键词:android 智能手机平台 短信发送器
几年前,当“智能手机”被越来越多的用户提及的时候,当手机爱好者手持一款Symbian S60手机任意安装一款软件的时候,人们认为智能手机时代已经来临,但是现在看来,那还只是个预热。直到Android的誕生,才真正打破了智能手机发展的僵局,带领智能手机市场迅速崛起,为人们的生活和工作带来了与众不同的全新体验。
Android基于Linux技术开发,由操作系统、用户界面和应用程序组成,允许开发人员自由获取、修改源代码,也就是说这是一套具有开源性质的移动终端解决方案。Android具有开放性、所有的应用程序是平等的、应用程序间无界限、快速方便地应用程序开发等特点。
下面以一个手机拨号功能的实现展示android平台的软件开发流程:
1.设计界面如图1,
在/res/layout/main.xml文件中设计界面,内容如下:
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:id="@+id/lineLayout">
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/mobilable" />
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:id="@+id/mobile"/>
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/contentlabel"/>
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:minLines="3"
android:id="@+id/content"/>
关键词:android 智能手机平台 短信发送器
几年前,当“智能手机”被越来越多的用户提及的时候,当手机爱好者手持一款Symbian S60手机任意安装一款软件的时候,人们认为智能手机时代已经来临,但是现在看来,那还只是个预热。直到Android的誕生,才真正打破了智能手机发展的僵局,带领智能手机市场迅速崛起,为人们的生活和工作带来了与众不同的全新体验。
Android基于Linux技术开发,由操作系统、用户界面和应用程序组成,允许开发人员自由获取、修改源代码,也就是说这是一套具有开源性质的移动终端解决方案。Android具有开放性、所有的应用程序是平等的、应用程序间无界限、快速方便地应用程序开发等特点。
下面以一个手机拨号功能的实现展示android平台的软件开发流程:
1.设计界面如图1,
在/res/layout/main.xml文件中设计界面,内容如下:
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:id="@+id/lineLayout">
android:layout_height="wrap_content"
android:text="@string/mobilable" />
android:layout_height="wrap_content"
android:id="@+id/mobile"/>
android:layout_height="wrap_content"
android:text="@string/contentlabel"/>
android:layout_height="wrap_content"
android:minLines="3"
android:id="@+id/content"/>