All Projects → czy1121 → Notificationdemo

czy1121 / Notificationdemo

Licence: apache-2.0
通知demo

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Notificationdemo

Schematics Utilities
🛠️ Useful exported utilities for working with Schematics
Stars: ✭ 73 (-14.12%)
Mutual labels:  util
Mobx React Form Demo
Demo of MobX React Form
Stars: ✭ 78 (-8.24%)
Mutual labels:  demo
Demo
This is demo application for SleepingOwl Admin.
Stars: ✭ 81 (-4.71%)
Mutual labels:  demo
Pingcrm Svelte
🦊 Ping CRM Svelte - A demo app to illustrate how Inertia.js works with Laravel and Svelte (hosted on a heroku free dyno).
Stars: ✭ 74 (-12.94%)
Mutual labels:  demo
Expo Three Demo
🍎👩‍🏫 Collection of Demos for THREE.js in Expo!
Stars: ✭ 76 (-10.59%)
Mutual labels:  demo
Pluginapplication
学习Android插件化必备demo
Stars: ✭ 79 (-7.06%)
Mutual labels:  demo
Akilang
A compiler for a simple language, built with Python and LLVM
Stars: ✭ 71 (-16.47%)
Mutual labels:  demo
Cesium
cesium demo,cesium 研究过程中资料整理,包括: 1、示例,提供常规的cesium示例以及综合性的业务示例 2、工具,整理研究过程中写的一些数据获取、处理、分析的工具,例如网络3dtiles数据爬虫工具、b3dm 转 gltf工具 3、插件,根据研究过程中cesium感觉使用不方便的地方,添加插件,包括针对显示控件的汉化中文语言插件等
Stars: ✭ 84 (-1.18%)
Mutual labels:  demo
Brandis
Brandis: End-to-end encryption for everyone
Stars: ✭ 77 (-9.41%)
Mutual labels:  demo
Django Notifications
GitHub notifications alike app for Django
Stars: ✭ 1,237 (+1355.29%)
Mutual labels:  notification
Easysp
A SharedPreferences wrapper that has a fluent interface to store data
Stars: ✭ 75 (-11.76%)
Mutual labels:  util
Flutterwebsite
The flutter.dev website recreated in Flutter. https://gallery.codelessly.com/flutterwebsites/flutterwebsite
Stars: ✭ 76 (-10.59%)
Mutual labels:  demo
Electron Demo
Demo app loading LevelDB into an Electron context.
Stars: ✭ 79 (-7.06%)
Mutual labels:  demo
Skeleton
A ready-to-use CodeIgniter skeleton with tons of new features and a whole new concept of hooks (actions and filters) as well as a ready-to-use and application-free themes and plugins system. Facebook Page: http://bit.ly/2oHzpxC | Facebook Group: http://bit.ly/2o3KOrA. Help me carry on making more free stuff → http://bit.ly/2ppNujE ←
Stars: ✭ 74 (-12.94%)
Mutual labels:  demo
Gatsby With Unstructured Data
A simple example of creating pages dynamically in Gatsby without using GraphQL.
Stars: ✭ 83 (-2.35%)
Mutual labels:  demo
Showcase Ansible Chatops
Vagrant Demo showing ChatOps with Ansible
Stars: ✭ 71 (-16.47%)
Mutual labels:  demo
Iblockchain
Learn blockchain by building one in node.js
Stars: ✭ 79 (-7.06%)
Mutual labels:  demo
Youtube flutter app
Stars: ✭ 85 (+0%)
Mutual labels:  demo
Black Playground
ambv/black online demo
Stars: ✭ 83 (-2.35%)
Mutual labels:  demo
Esp8266 aliyun mqtt app
基于ESP8266官方SDK快速接入阿里云物联网平台
Stars: ✭ 81 (-4.71%)
Mutual labels:  demo

Notification

通知demo与工具类

notify

api 19 (android 4.4)

api19_big_text api19_big_picture

api 21 (android 5.0)

api21_big_text api19_big_picture api21_progress_bar api21_heads_up

api 24 (android 7.0)

api24_basic api24_progress_bar api24_heads_up

// 创建通知
NotifyUtil.create(context)
NotifyUtil.create(context, smallIcon, title, content)
NotifyUtil.create(context, largeIcon, smallIcon, title, content)
NotifyUtil.create(context, largeIcon, smallIcon, title, content, contentIntent)

// 发送通知
NotifyUtil.notify(context, notifyId, notification)

// 取消通知
NotifyUtil.cancel(context, notifyId)
NotifyUtil.cancelAll(context)

// 创建 Action
NotifyUtil.makeAction(icon, title, pendingIntent)

// 创建多行文本样式
NotifyUtil.makeBigText(content)
// 创建大图样式
NotifyUtil.makeBigPicture(bitmap)
// 创建收件箱样式
NotifyUtil.makeInbox(messages)

License

Copyright 2016 czy1121

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].