随笔分类 -  Android_Eclipse

摘要:http://www.cnblogs.com/soaringEveryday/p/4495221.html 阅读全文
posted @ 2015-11-21 11:51 codeskill_android 阅读(118) 评论(0) 推荐(0)
摘要:类似如下设置: 1 2 3 7 8 11 12 17 20 21 22 23 24 25 26 27 28 29 3... 阅读全文
posted @ 2015-11-21 11:48 codeskill_android 阅读(229) 评论(0) 推荐(0)
摘要:1、命令行 "kill 进程ID"但是 这种方式 进程需要root权限,红米note 没有这个功能,需要 刷系统2、killBackgroundProcesses 等http://blog.csdn.net/dull_boy2/article/details/23826649http://trini... 阅读全文
posted @ 2015-11-16 14:52 codeskill_android 阅读(525) 评论(0) 推荐(0)
摘要:1、本来想用java中的方式的,网上查到一些信息,我的测试代码如下: 1 String str = System.getProperty("java.class.path"); 2 String strUsrDir = System.g... 阅读全文
posted @ 2015-11-14 21:35 codeskill_android 阅读(2427) 评论(0) 推荐(0)
摘要:网上查到资料:对 节点 添加属性“ android:configChanges="orientation|keyboardHidden|screenSize" ”,如下所示: 1 5 6 7 8 ... 阅读全文
posted @ 2015-11-11 13:51 codeskill_android 阅读(171) 评论(0) 推荐(1)
摘要:1、1 // NetworkOnMainThread exception2 StrictMode.ThreadPolicy policy=new StrictMode.ThreadPolicy.Builder().permitAll().build();3 ... 阅读全文
posted @ 2015-11-10 15:50 codeskill_android 阅读(2085) 评论(0) 推荐(0)
摘要:1、 B 阅读全文
posted @ 2015-11-10 15:48 codeskill_android 阅读(121) 评论(0) 推荐(0)
摘要:代码: 1 public String Run(String _strsIp) throws Exception 2 { 3 String strRst = ""; 4 try 5 { 6 String str ... 阅读全文
posted @ 2015-11-10 15:08 codeskill_android 阅读(593) 评论(0) 推荐(0)
摘要:1、代码:1 public static void main(String[] args) throws Exception2 {3 InetAddress addrDest = InetAddress.getByName("192.168.1.6");4 ... 阅读全文
posted @ 2015-11-10 13:32 codeskill_android 阅读(1317) 评论(0) 推荐(0)
摘要:1、Toast tst = Toast.makeText(MainActivity.this, "Msg copied .", Toast.LENGTH_SHORT);tst.show(); 阅读全文
posted @ 2015-11-05 15:37 codeskill_android 阅读(130) 评论(0) 推荐(0)
摘要:参考网页:http://blog.csdn.net/chenchuntong/article/details/9770657http://www.android100.org/html/201502/22/122483.html EditText edtMsg = (EditText)find... 阅读全文
posted @ 2015-11-05 15:33 codeskill_android 阅读(286) 评论(0) 推荐(0)
摘要:Button btnGo = (Button)findViewById(R.id.btnGo); btnGo.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) ... 阅读全文
posted @ 2015-11-05 14:07 codeskill_android 阅读(135) 评论(0) 推荐(0)