摘要:
什么是AIDL 1、AIDL(Android Interface Definition Language安卓接口定义语言):让其它应用可以调用当前应用Service中的方法 2、Android系统中的进程之间不能共享内存,因此,需要提供一些机制在不同进程之间进行数据通信 3、RPC(Remote P 阅读全文
摘要:
package com.example.text19; import android.content.BroadcastReceiver;import android.content.Context;import android.content.Intent;import android.widge 阅读全文
摘要:
package com.example.text017_send; import android.app.Activity;import android.content.Intent;import android.os.Bundle;import android.view.View; public 阅读全文
摘要:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" androi 阅读全文
摘要:
package com.example.text12_tabhost; import android.app.Activity;import android.os.Bundle;import android.view.Menu;import android.view.MenuItem;import 阅读全文
摘要:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" androi 阅读全文
摘要:
private ViewPager vp_main; private TextView tv_main_title; private LinearLayout ll_main_point_group; private ArrayList<ImageView> imageViews; //图片资源 p 阅读全文
摘要:
package com.example.popup; public class MainActivity extends Activity { private PopupWindow pw; @Override protected void onCreate(Bundle savedInstance 阅读全文
摘要:
public class MainAdapter extends BaseAdapter{ private Context context; private String[] names; private int[] icons; public MainAdapter(Context context 阅读全文
摘要:
常用UI布局 1.LinearLayout 线性布局: 用来控制其子View以水平或垂直方式展开显示重要属性: orientation(方向)layout_weight(权重) 2.理解LinearLayout权重 layout_weight(权重)的值 =0(默认值): 指定多大空间就占据多大的空 阅读全文