
Android
文章平均质量分 72
woshifano
这个作者很懒,什么都没留下…
展开
-
Android GUI Widget RadioGroup
RadioGroup is an important GUI widget in Android.Today I learn to use原创 2014-07-20 12:15:36 · 544 阅读 · 0 评论 -
Android GUI Widget ProgressBar
The basic use of ProgressBar Look at the layout file原创 2014-07-20 16:59:43 · 126 阅读 · 0 评论 -
Android GUI Widget CheckBox
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" ><C原创 2014-07-20 15:37:51 · 474 阅读 · 0 评论 -
Activity和Intent
Intent是一种运行时绑定(run-time binding)机制原创 2014-07-23 10:57:35 · 490 阅读 · 0 评论 -
Android存储之SQLite
Android有的数据存储跟windowsAndroid全力支持SQLite数据库翻译 2014-08-16 23:21:07 · 525 阅读 · 0 评论 -
Android 自定义控件
android中可以通过继承LinearLayout来实现自定义控件,今天写了一个EditText和ImageView结合的自定义控件:首先是控件的基本布局<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent原创 2015-07-14 11:57:51 · 538 阅读 · 0 评论 -
Android Studio 问题 - Clear Read-Only Status
用的是ubuntu系统,昨天在普通用户模式下打开Android Studio建了一个项目,今天用root模式打开,能被Gradle正确编译,但是发现在root模式和普通模式下Android Studio的配置不一样,应该是有两个配置文件,一个属于普通用户模式,一个属于root模式。然后我就切换回普通模式,发现那个项目无法被编译了,还报了Error:Could not list contents原创 2015-07-14 09:32:48 · 9884 阅读 · 1 评论 -
Android Otto调研
这两天对Otto进行了一个简单的调研,发现官网特别简单几乎没东西,github上给的sample也不是很好,网上的技术博客也几乎千篇一律,我就把自己的心得体会写下来吧,如有缘者看见望其少走弯路。大家都知道这是一个发布者/订阅者模式,也都知道@Produce使用来注册一个需要发布的方法,但是我在实际应用中却从来没用到过@Produce,只需要定义一个事件,在需要发布的是好post一下这个事件,然原创 2015-07-21 13:56:55 · 722 阅读 · 0 评论 -
Android 网络层的封装
因为项目需要封装了其网络层,主要对其原来的模式进行改进,使用的回调的方式来进行网络的访问和返回结果的处理,还有就是在View层和网络层之间加了一个中间层,用来分配各种网络请求,这样就可以方便的调度和管理。我就不拿原项目的代码来演示,自己写了一个demo,首先是最底层,处理最基本的Http协议,里面包含一个execute方法,用来Post或者Get获取数据,这里为了方便我只写了一个Get,可以根原创 2015-07-21 13:27:32 · 2114 阅读 · 0 评论