2014年3月7日
摘要: 1. 判断程序是否运行在模拟器上boolean isRunningInEmualtor() { boolean qemuKernel = false; Process process = null; DataOutputStream os = null; try{ process = Runtime.getRuntime().exec("getprop ro.kernel.qemu"); os = new DataOutputStream(process.getOutputStream(... 阅读全文
posted @ 2014-03-07 00:01 lee0oo0 阅读(5336) 评论(1) 推荐(2)