
App Widget
文章平均质量分 84
iteye_7401
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
在App Widget中添加Button并实现监听
PendingIntent: 创建方法: getActivity(Context, int, Intent, int), getBroadcast(Context, int, Intent, int), getService(Context, int, Intent, int); RemoteViews的作用: 1.该对象表示了一系列的View...原创 2011-09-16 17:25:05 · 350 阅读 · 0 评论 -
接收来自AppWidget的广播并更新控件状态
一 接收来自App Widget的广播 1.在AndroidManifest.xml为AppWidgetProvider注册新的intente-filter; 2.使用getBroadcast()创建一个PendingIntent; 3.为App Widget中的控件注册处理器; 4.在onReceive方法中接收广播; a.布局文件中有个Button &l...原创 2011-09-16 18:08:28 · 292 阅读 · 0 评论 -
ViewFlipper的使用,显示图片左右滑动效果
1.简介 ViewFlipper extends ViewAnimator,Simple ViewAnimator that will animate between two or more views that have been added to it. Only one child is shown at a time. If requested, can automa...原创 2011-11-14 19:18:55 · 291 阅读 · 0 评论