摘要:
MenuLeftFragment MenuRightFragment MainActivity 阅读全文
摘要:
xml: <com.handmark.pulltorefresh.library.PullToRefreshGridView android:id="@+id/gridView" android:layout_width="match_parent" android:layout_height="m 阅读全文
摘要:
1.广播接收者 广播接收者简单地说就是接收广播意图的Java类,此Java类继承BroadcastReceiver类,重写: public void onReceive(Context context,Intent intent),其中intent可以获得传递的数据; 广播意图就是通过Context 阅读全文
摘要:
MainActivity.java bt.setOnClickListener(new OnClickListener() { @Override public void onClick(View arg0) { // TODO Auto-generated method stub String e 阅读全文
摘要:
百度地图 异步任务 public class MyAsynctask extends AsyncTask<String, Integer, String> { //定义变量 HttpURLConnection connection; protected String doInBackground(S 阅读全文
摘要:
mainactivity.java final String key = et.getText().toString(); new Thread(new Runnable() { @Override public void run() { // TODO Auto-generated method 阅读全文
摘要:
item.xml <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_p 阅读全文
摘要:
anim popupwindow_anim <set xmlns:android="http://schemas.android.com/apk/res/android" > <translate android:duration="500" android:fromYDelta="100%p" a 阅读全文
摘要:
1.内容提供者查找手机SD卡下的音乐 配置读取SD卡权限 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/> package com.bawei.day07_music; import java.uti 阅读全文
摘要:
checkbox点击切换背景 <CheckBox android:id="@+id/checkbox" android:layout_width="40dp" android:layout_height="40dp" android:button="@null" android:focusable= 阅读全文