Back to project page android-Notifier.
The source code is released under:
GNU General Public License
If you think the Android project android-Notifier listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package rickflail.messaging.notifier; //from w w w . j a va 2 s.c om import android.content.BroadcastReceiver; import android.content.ContentValues; import android.content.Context; import android.content.Intent; public class ClearReceiver extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { ContentValues values = new ContentValues(); values.put("viewed", 1); context.getContentResolver().update(MessageProvider.CONTENT_URI, values, null, null); } }