2016年5月4日
摘要:
// 判断网络连接是否正常 public static boolean isNetworkAvailable(Context context) { ConnectivityManager cm = (ConnectivityManager) context .getSystemService(Con
阅读全文
posted @ 2016-05-04 19:52
崔崔~
阅读(271)
推荐(0)
2016年5月2日
摘要:
<com.baidu.mapapi.map.MapView android:id="@+id/bmapView" android:layout_width="fill_parent" android:layout_height="fill_parent" android:clickable="tru
阅读全文
posted @ 2016-05-02 19:29
崔崔~
阅读(238)
推荐(0)
摘要:
@Override public boolean onKeyDown(int keyCode, KeyEvent event) { if (keyCode == KeyEvent.KEYCODE_BACK) { exit(); return false; } return super.onKeyDo
阅读全文
posted @ 2016-05-02 19:27
崔崔~
阅读(236)
推荐(0)
2016年4月30日
摘要:
<com.handmark.pulltorefresh.library.PullToRefreshGridView android:id="@+id/pull_refresh_grid" android:layout_width="fill_parent" android:layout_height
阅读全文
posted @ 2016-04-30 12:25
崔崔~
阅读(219)
推荐(0)
2016年4月18日
摘要:
public class MyAsy extends AsyncTask<String, Integer, String> { private String json; @Override protected String doInBackground(String... params) { //
阅读全文
posted @ 2016-04-18 19:38
崔崔~
阅读(251)
推荐(0)
摘要:
String get_path = "请求网址"; Handler handler = new Handler() { public void handleMessage(android.os.Message msg) { MyBean mybean = (MyBean) msg.obj; }; }
阅读全文
posted @ 2016-04-18 19:27
崔崔~
阅读(621)
推荐(0)
2016年4月12日
摘要:
xml <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="ma
阅读全文
posted @ 2016-04-12 19:08
崔崔~
阅读(175)
推荐(0)
2016年4月5日
摘要:
package com.bwie.test;import java.util.ArrayList;import com.bwie.fragment.Fragment1;import com.bwie.fragment.Fragment2;import com.bwie.fragment.Fragme
阅读全文
posted @ 2016-04-05 21:31
崔崔~
阅读(152)
推荐(0)
2016年3月29日
摘要:
public class MyAdapter extends BaseAdapter { Context context; List<Beans> list; public MyAdapter(Context context, List<Beans> list) { // TODO Auto-gen
阅读全文
posted @ 2016-03-29 11:43
崔崔~
阅读(156)
推荐(0)
2016年3月27日
摘要:
import android.annotation.TargetApi;import android.content.Context;import android.content.res.Configuration;import android.graphics.Bitmap;import andr
阅读全文
posted @ 2016-03-27 21:28
崔崔~
阅读(327)
推荐(0)