- 博客(21)
- 资源 (2)
- 收藏
- 关注
原创 解决VMware下ubuntu无法上网问题cable unplugged
在VMware虚拟机下刚安装ubuntu时能够上网,一段时间后发现上不了网,提示cable unplugged,就是网线被拔出。网上试过很多方法,比如改ipv4的配置,设置网关什么的都没效果,后来找到一个比较简单的方法。打开Edit->Virtual NetWork editor, 选中VMnet8,然后点击NAT Setting按钮,再点击DNS Setting,勾掉自动选择,然后将
2014-11-02 15:22:00
14796
5
原创 android checkbox多选删除
这篇文章并没有完整的源代码说明,只是提供一下使用checkbox多选删除的思路,毕竟要提供所有的代码非常之麻烦,在自己的项目中还涉及到数据库的操作,所以只是说明一下实现方法。首先是在listview_item.xml文件中
2014-09-28 16:13:20
1846
转载 Android理解:IntentService
转载地址:http://blog.csdn.net/xiao__gui/article/details/11579087
2014-09-26 22:06:40
502
转载 android应用添加桌面快捷方式
在桌面添加快捷方式的方法:// 创建桌面快捷方式public void createShortCut(){ // 创建快捷方式的Intent Intent shortcutintent = new Intent("com.android.launcher.action.INSTALL_SHORTCUT"); // 不允许重复创建 shortcutintent.putExtra("du
2014-09-24 23:34:17
639
原创 fragment动态改变actionbar的item
要改变actionbar的item,就不能使用了原来的onCreateOptionsMenu函数,因为这个函数只调用
2014-09-18 10:45:34
1313
原创 fragment添加actionbar的方法
添加的方法如下MyFragment.javapublic class MyFragment extends Fragment { @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View rootView
2014-09-18 10:29:43
2495
转载 GitHub使用教程for Eclipse
转载地址:http://www.cnblogs.com/yc-755909659/p/3753626.html
2014-09-16 11:38:37
632
转载 android Fragment中没有onTouchEvent解决方法
public interface MyTouchListener { public void onTouchEvent(MotionEvent event); } // 保存MyTouchListener接口的列表 private ArrayList myTouchListeners = new ArrayList(); /** * 提供给Fragment通过getAc
2014-09-15 16:42:00
13788
9
原创 为navigation drawer添加多个fragment
在android中新建navigation drawer项目后,需要为drawer的每个项添加一个fragment,从
2014-09-14 10:58:46
1902
原创 android.intent.action.MAIN与android.intent.category.LAUNCHER
android.intent.action.MAIN决定应用程序最先启动那个Activity。
2014-06-03 00:50:39
801
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人