自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(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

原创 菜单键控制navigation drawer的滑入滑出

这篇文章主要是说明一下自己开发中遇到了需要

2014-09-28 14:46:41 1761

原创 SQLiteOpenHelper的onCreate和onUpgrade的区别

在应用程序中给sqlite创建表的时候,

2014-09-28 14:40:42 2211

转载 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监听返回键

fragment需要监听返回键时,分成两种情况

2014-09-21 11:31:57 14989 2

原创 fragment动态改变actionbar的item

要改变actionbar的item,就不能使用了原来的onCreateOptionsMenu函数,因为这个函数只调用

2014-09-18 10:45:34 1313

原创 改变actionbar的样式

在使用actionbar的时候,有些时候item的字体taisha

2014-09-18 10:40:35 672

原创 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

原创 android sqlite数据库的使用方法

sqlite是android操作系统里面的一个轻量级数据库,可以用来存储我们的应用程序的

2014-09-18 09:49:08 757

转载 GitHub使用教程for Eclipse

转载地址:http://www.cnblogs.com/yc-755909659/p/3753626.html

2014-09-16 11:38:37 632

原创 android判断网络状态

判断网络是否可用

2014-09-15 21:25:55 616

原创 WebView的缩放与左右滑动手势

在使用WebView的时候如果需要访问没有手机版的网页,ji

2014-09-15 20:29:45 4294

原创 android WebView的使用和进度条

查看了android开发者文档,关于如何使用WebView

2014-09-15 17:22:47 777

原创 android 左右滑动事件

要实现左右滑动事件,先实例化GestureDetector对象,然后

2014-09-15 17:17:51 865

转载 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

原创 改变navigation drawer中item被选中时的样式

在新建android项目时,使用了navig

2014-09-14 00:34:11 2002

原创 android.intent.action.MAIN与android.intent.category.LAUNCHER

android.intent.action.MAIN决定应用程序最先启动那个Activity。

2014-06-03 00:50:39 801

原创 Google Maps Android API V2的使用

关于Google Maps Android API V2的使用,

2014-05-21 00:52:59 934

Android系统源代码

Android 4.0操作系统的源代码,有4g左右。

2014-10-19

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除