摘要:
/** * 开启应用 */ private void startApp(String packageName) { PackageManager pm = getPackageManager(); Intent intent ... 阅读全文
摘要:
private class MyAppInfoItemClickListener implements OnItemClickListener{ @Override public void onItemClick(AdapterView parent, View ... 阅读全文
摘要:
/** * 创建桌面快捷图标,LAUNCHER 是接收一个广播然后在桌面上创建图标 * 添加权限: */ private void createShutcut() { // 防止多次添加,将添加信息保存在本地 boolean isCr... 阅读全文
摘要:
private Context context; public void addSms(){ // 封装短信体 ContentValues values = new ContentValues(); //地址 values... 阅读全文
摘要:
1 public final class DensityComputeTool { 2 3 private Context context; 4 5 private DensityComputeTool(Context context) { 6 this.con... 阅读全文