Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Pugnotification
Search
Halyson Lima Gonçalves
October 28, 2015
Technology
0
140
Pugnotification
Apresentação realizada no meetup de Android
Halyson Lima Gonçalves
October 28, 2015
Tweet
Share
More Decks by Halyson Lima Gonçalves
See All by Halyson Lima Gonçalves
EventBus. Android Simplificado!
halysongoncalves
0
53
The Developer Conference 2015
halysongoncalves
1
83
Other Decks in Technology
See All in Technology
プロポーザルに込める段取り八分
shoheimitani
1
170
Amazon S3 Vectorsを使って資格勉強用AIエージェントを構築してみた
usanchuu
3
440
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
13k
20260204_Midosuji_Tech
takuyay0ne
0
120
GSIが複数キー対応したことで、俺達はいったい何が嬉しいのか?
smt7174
3
140
~Everything as Codeを諦めない~ 後からCDK
mu7889yoon
3
270
Embedded SREの終わりを設計する 「なんとなく」から計画的な自立支援へ
sansantech
PRO
3
2.2k
今日から始めるAmazon Bedrock AgentCore
har1101
4
400
小さく始めるBCP ― 多プロダクト環境で始める最初の一歩
kekke_n
1
350
AIと新時代を切り拓く。これからのSREとメルカリIBISの挑戦
0gm
0
780
セキュリティについて学ぶ会 / 2026 01 25 Takamatsu WordPress Meetup
rocketmartue
1
290
予期せぬコストの急増を障害のように扱う――「コスト版ポストモーテム」の導入とその後の改善
muziyoshiz
1
1.6k
Featured
See All Featured
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
450
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
160
WENDY [Excerpt]
tessaabrams
9
36k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
77
Claude Code のすすめ
schroneko
67
210k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
430
Prompt Engineering for Job Search
mfonobong
0
160
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.9k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.3k
RailsConf 2023
tenderlove
30
1.3k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
290
Transcript
Pug Notification Suas notificações de forma simplificada
Halyson Lima @hlgoncalvesbr
[email protected]
None
Notificações • Mensagem que pode ser exibida ao usuário fora
da UI normal do aplicativo. • Permite que os usuários se matenham informados sobre eventos relevantes e imediatos. • Um canal de notícias. • Possuem diretrizes.
None
Notificação simples NotificationCompat.Builder mBuilder = new NotificationCompat.Builder(this) .setSmallIcon(R.drawable.notification_icon) .setContentTitle("My notification")
.setContentText("Hello World!"); mBuilder.setContentIntent(resultPendingIntent); NotificationManager mNotificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE); mNotificationManager.notify(mId, mBuilder.build());
None
Pug Notification
…/your_app_module/build.gradle dependencies { compile 'com.github.halysongoncalves:pugnotification:1.8.0’ }
Notificação simples PugNotification.with(context) .load() .title(title) .message(message) .bigTextStyle(bigtext) .smallIcon(R.drawable.pugnotification_ic_launcher) .largeIcon(R.drawable.pugnotification_ic_launcher) .flags(Notification.DEFAULT_ALL)
.simple() / .custom() / .wear () .build();
None
Dúvidas?
Links • https://github.com/halysongoncalves/Pugnotification • https://speakerdeck.com/halysongoncalves/pugnotification • http://developer.android.com/intl/pt-br/design/patterns/notifications.html • http://developer.android.com/intl/pt-br/guide/topics/ui/notifiers/ notifications.html