在使用RemoteView创建自定义通知视图的时候一启动通知栏应用就停止运行。查看错误提示,开始时为StatusBar: Caused by: android.content.res.Resources$NotFoundException: File res/drawable/fm_statusba...
分类:
移动开发 时间:
2015-04-11 20:42:17
阅读次数:
247
RemoteView会用在两个地方:一个是在AppWidget,另外一个是在Notification.
RemoteView是用来描述一个垮进程显示的view
1,AppWidget---RemoteView
AppWidgetProvider是一个BrocaseReceiver,只是接受到Enable, Update,disale,delete这些message,而真正显示...
分类:
其他好文 时间:
2014-09-29 17:22:11
阅读次数:
168
版本:1.0日期:2014.5.17 2014.6.1版权:© 2014 kince 转载注明出处 在介绍SwitchButton之前,先来看一下系统Button是如何实现的。源码如下:@RemoteView
public class Button extends TextView {
public Button(Context context) {
this(conte...
分类:
移动开发 时间:
2014-06-01 17:27:10
阅读次数:
684