<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
android:layout_height="match_parent"...
分类:
移动开发 时间:
2015-05-19 16:36:20
阅读次数:
167
Content Provider是一个提供数据共享的组件,它主要将一些特定的应用程序数据提供给其他应用程序使用,这些应用程序数据可以存储于文件系统或者SQLite数据库中。在Android应用程序中,共享数据的实现需要继承自Content Provider基类,然而,应用程序并不直接调用这些方法,而是使用一个ContentResolver对象,并通过调用它的方法作为替代,ContentResolv...
分类:
移动开发 时间:
2015-05-19 13:06:50
阅读次数:
306
Android studio 自带的模拟器太慢了,下面介绍genymotion安装,电脑是win7
(1)进入https://www.genymotion.com
(2)注册,必须注册才能下载,后期也用到账号,所以拷贝别人的安装包没用
(3)点击,getgenymotion,进入选择free下面的download,免费版本少了些功能,但凑活用。
(4)选择pc系统,默认进入win界面,注意:...
分类:
移动开发 时间:
2015-05-19 10:47:44
阅读次数:
144
转:How to switch off download gradle distribution?如何使用本地gradledistributionUrl=file\:///C:/Users/johndoe/downloads/gradle-2.1-all.zip
分类:
移动开发 时间:
2015-05-19 08:48:10
阅读次数:
215
一、看效果二、添加compile 'com.orhanobut:logger:1.8'三、使用方法在自定义Application的onCreate方法中Logger.init(YOUR_TAG);调用Logger.d("hello");
Logger.e("hello");
Logger.w("hello");
Logger.v("hello");
Logger.wtf("hello");
Logg...
分类:
移动开发 时间:
2015-05-18 23:12:54
阅读次数:
383
本文介绍了 Android Studio 的离线包安装。解决被“墙”的情况下,无法更新 Android Studio 的问题。...
分类:
移动开发 时间:
2015-05-18 23:06:14
阅读次数:
213
http://segmentfault.com/a/1190000002464822http://www.cnblogs.com/youxilua/archive/2013/05/20/3087935.htmlhttp://www.cnblogs.com/youxilua/archive/2013/...
分类:
移动开发 时间:
2015-05-18 22:31:10
阅读次数:
126
一、 先看效果二、设置
File->Settings 或Ctrl + Alt +S
找到 Editor -> Colors &Fonts -> Android Logcat 或在上面的搜索框中输入Logcat
点中Verbose , Info, Debug等选项,然后在后面将Use Inberited attributes 去掉勾选
再将 Foreground 前的复选框选上,...
分类:
移动开发 时间:
2015-05-18 18:54:18
阅读次数:
158
最近从github上看到一个关于侧边栏的项目,模仿的是qq侧边栏。这个项目是一个android studio项目,可以导入android studio中,也可以导入到Eclipse中。其中的ResideMenu就是写好的第三方控件,可以拿过来直接用。我们主要来看一下它是如何来运用的
分类:
移动开发 时间:
2015-05-18 18:08:36
阅读次数:
223
最近从github上看到一个关于侧边栏的项目,模仿的是qq侧边栏。这个项目是一个android studio项目,可以导入android studio中,也可以导入到Eclipse中。其中的ResideMenu就是写好的第三方控件,可以拿过来直接用。我们主要来看一下它是如何来运用的...
分类:
移动开发 时间:
2015-05-18 16:52:53
阅读次数:
222