在Android编程中使用Adapter时,偶尔会出现如下错误:
The content of the adapter has changed but ListView did not receive a notification. Make sure the content of your adapter is not modified from a background thread, ...
分类:
移动开发 时间:
2015-04-15 19:41:05
阅读次数:
146
转载自http://onevcat.com/2014/08/notification-today-widget/
分类:
移动开发 时间:
2015-04-15 16:24:08
阅读次数:
165
在学习【状态栏通知】时,遇到代码被横线划掉,这是怎么回事呢?例如:package com.example.notification;import android.app.Activity;import android.app.AlertDialog;import android.app.Noti.....
分类:
移动开发 时间:
2015-04-15 12:47:36
阅读次数:
5113
Notification notifyUnit = mBuilder.build(); notifyUnit.defaults |= Notification.DEFAULT_SOUND; notifyUnit.flags |= Notification.FLAG_AUTO...
分类:
其他好文 时间:
2015-04-14 16:24:45
阅读次数:
155
客户端:package com.example.fc.activity;import android.app.AlarmManager;
import android.app.PendingIntent;
import android.app.Service;
import android.content.BroadcastReceiver;
import android.content.Conte...
分类:
移动开发 时间:
2015-04-13 16:43:58
阅读次数:
199
在Android开发中经常会用到Notification来展示通知,但是之前写出来的代码中一个APP只能有一个通知,有新的通知的时候自己会覆盖之前的通知,一直不知道为什么,好,话不多说,先贴我之前的代码 private void showNotification(String title, C...
分类:
移动开发 时间:
2015-04-13 16:31:49
阅读次数:
195
最近在研究iOS的推送问题,遇到了一些问题,最终整理了一下,放在这里和大家分享。APNS的推送机制首先我们看一下苹果官方给出的对iOS推送机制的解释。如下图Provider就是我们自己程序的后台服务器,APNS是Apple Push Notification Service的缩写,也就是苹果的推送服...
分类:
其他好文 时间:
2015-04-13 14:33:56
阅读次数:
128
Focus on technology, enjoy life!—— QQ:804212028
浏览链接:http://blog.csdn.net/y18334702058/article/details/44624305
主题:用户界面之Notification(通知栏)
-
Notification实例(含系统自带Notification+半自定义Notification+自定义Notif...
分类:
移动开发 时间:
2015-04-12 09:17:33
阅读次数:
145
NSNotificationCenter是IOS中常用的消息通知机制,不过在使用过程中有几点需要注意的问题.直接贴Apple 的官方文档吧:A notification center delivers notifications to observers synchronously. In othe...
分类:
其他好文 时间:
2015-04-11 22:23:58
阅读次数:
148
在使用RemoteView创建自定义通知视图的时候一启动通知栏应用就停止运行。查看错误提示,开始时为StatusBar: Caused by: android.content.res.Resources$NotFoundException: File res/drawable/fm_statusba...
分类:
移动开发 时间:
2015-04-11 20:42:17
阅读次数:
247