- 博客(6)
- 收藏
- 关注
转载 android Broadcast学习
转自:http://www.cnblogs.com/snowdrop/articles/1906709.html android Broadcast学习 其实所谓的静态注册,动态注册,是指接收广播的时候,是静态注册接收还是动态注册接收,发送的时候不分静态,动态 以发送intent为例, 一共分4种情况,以每次注册两个Bro
2012-08-16 17:06:55 372
翻译 android学习之widget2
Adding the AppWidgetProviderInfo Metadata AppWidgetProviderInfo定义了App Widget的必须元素,例如最小布局尺寸,初始布局资源,多久更新一次App Widget,和一个在创建时运行的activity.定义一个AppWidgetProviderInfo对象在一个XML资源文件中,保存在项目的res/xml/目录下,使用元素。 例
2012-08-01 14:37:57 206
翻译 android学习之widget
翻译自http://developer.android.com/guide/topics/appwidgets/index.html#AppWidgetProvider App Widgets App Widgets是一种缩小的application,可以嵌入在其他application中(比如Home),可以定时更新。可以通过App Widget provider发布App Widget。一
2012-08-01 14:37:25 202
翻译 android学习之widget3
Adding margins to App Widgets 这里既可以使用android:padding属性也可以在background中指定一个NinePatch图片 Using the AppWidgetProvider Class AppWidgetProvider类继承自BroadcastReceiver: onUpdate():更新和用户初始添加的时候调用,如果有configur
2012-07-30 17:24:09 269
转载 Android之Adapter用法总结
转自:http://kb.cnblogs.com/a/2328334/ 1.概念 Adapter是连接后端数据和前端显示的适配器接口,是数据和UI(View)之间一个重要的纽带。在常见的View(ListView,GridView)等地方都需要用到Adapter。如下图直观的表达了Data、Adapter、View三者的关系: Android中所有的Adapter一览:
2012-07-30 16:22:03 1265
转载 RemoteView概述
转自:http://kongweile.iteye.com/blog/1133013 1.RemoteView概述 到目前为止,我发现RemoteView会用在两个地方:一个是在AppWidget,另外一个是在Notification. 先从官方对他的定义来看: RemoteView-- A class that describes a view hierarchy that c
2012-07-30 15:50:38 576
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人