摘要:
MainActivity.java Home1Activity.java activity_main.xml activity_home1.xml activity_home2.xml selector_btn_01.xml selector_btn_02.xml selector_btn_03.x 阅读全文
摘要:
public static boolean isNetworkConnected(Context context) { if (context != null) { ConnectivityManager mConnectivityManager = (ConnectivityManager) co 阅读全文
摘要:
public static String getJsonStringByEntity(Object o) { String strJson = ""; Gson gson = new Gson(); strJson = gson.toJson(o); return strJson; } 阅读全文
摘要:
public class BitmapUtil { /** * 生成一个二维码图像 * * @param url * 传入的字符串,通常是一个URL * @param QR_WIDTH * 宽度(像素值px) * @param QR_HEIGHT * 高度(像素值px) * @return bitm 阅读全文
摘要:
public static int[] getScreenDispaly(Context context) { WindowManager windowManager = (WindowManager) context.getSystemService(Context.WINDOW_SERVICE) 阅读全文
摘要:
public class MyAdapter extends BaseAdapter { private Context context; public List<Students> list; private LayoutInflater mLayoutInflater; public MyAda 阅读全文
摘要:
格式: {"name":"小红","amount":"8888","date":"4:32"} public static List<实体类> parseFinancejiluinfo(JSONArray ary) throws Exception{ List<实体类>list=new ArrayL 阅读全文