3.Service的注册
<service
Android:name=".MyService"
android:exported="true"
android:process=":remote"
/>
4.布局文件
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:background="@drawable/white"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:gravity="center_horizontal"
>
<ImageView
android:id="@+id/image01"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingTop="30dip"
/>
<ImageButton
android:id="@+id/button01"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="20dip"
/>
</LinearLayout>
更多Android相关信息见Android 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=11
