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
130
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
51
The Developer Conference 2015
halysongoncalves
1
81
Other Decks in Technology
See All in Technology
Claude Codeを駆使した初めてのiOSアプリ開発 ~ゼロから3週間でグローバルハッカソンで入賞するまで~
oikon48
10
4.7k
Geospatialの世界最前線を探る [2025年版]
dayjournal
1
230
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
5
43k
アイテムレビュー機能導入からの学びと改善
zozotech
PRO
0
180
Performance Insights 廃止から Database Insights 利用へ/transition-from-performance-insights-to-database-insights
emiki
0
300
能登半島災害現場エンジニアクロストーク 【JAWS FESTA 2025 in 金沢】
ditccsugii
0
880
CoRL 2025 Survey
harukiabe
1
210
Railsの話をしよう
yahonda
0
160
なぜAWSを活かしきれないのか?技術と組織への処方箋
nrinetcom
PRO
5
960
Bill One 開発エンジニア 紹介資料
sansan33
PRO
4
14k
サイバーエージェント流クラウドコスト削減施策「みんなで金塊堀太郎」
kurochan
4
2k
AWS Top Engineer、浮いてませんか? / As an AWS Top Engineer, Are You Out of Place?
yuj1osm
2
220
Featured
See All Featured
Site-Speed That Sticks
csswizardry
13
910
Java REST API Framework Comparison - PWX 2021
mraible
34
8.9k
It's Worth the Effort
3n
187
28k
Leading Effective Engineering Teams in the AI Era
addyosmani
7
460
Docker and Python
trallard
46
3.6k
VelocityConf: Rendering Performance Case Studies
addyosmani
332
24k
YesSQL, Process and Tooling at Scale
rocio
173
14k
Automating Front-end Workflow
addyosmani
1371
200k
Music & Morning Musume
bryan
46
6.8k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
10
870
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.4k
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