Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Pugnotification
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Halyson Lima Gonçalves
October 28, 2015
Technology
140
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Pugnotification
Apresentação realizada no meetup de Android
Halyson Lima Gonçalves
October 28, 2015
Transcript
13 slides
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
More Decks by Halyson Lima Gonçalves
See All by Halyson Lima Gonçalves
EventBus. Android Simplificado!
halysongoncalves
0
59
The Developer Conference 2015
halysongoncalves
1
90
Other Decks in Technology
See All in Technology
リリースしたで終わらない。 観測できるフロントエンド開発
yamakenji24
3
300
【Oracle AI SPOTLIGHT ウェビナー】AI時代、狙われるデータと止められない業務をどう守るか?
oracle4engineer
PRO
1
140
AWS DevOps Agentの構造から読み解く運用 AI エージェントの設計原則/aws-devops-agent-design-principles
tomoki10
0
280
さようならSSH鍵、こんにちはゼロトラスト ― AIフレンドリーで快適な自宅鯖SSH
atalie2m
14
7.6k
自動計装なしでECSサービスをApplication Signalsに載せるまで
ota1022
2
470
Agent Routerで作るマルチテナント 推論基盤 #CNDW2026 / Building Multi-Tenant Inference Platform with Agent Router #CNDW2026
everpeace
5
610
Go でトランザクション、どう書いてますか?
knwoop
2
610
gradle-best-practices 使ってみた
mikanichinose
0
230
New Relicのアラート対応をClaude Codeで自動修正するワークフローを作った話
manabuseki
3
660
Is the Website Dying?
miriamschwab
0
170
そのイメージ、どのCIが作った? Artifact Attestationsで来歴を固定する / Which CI system created that image? Pinning provenance with Artifact Attestations
chmikata
0
270
Test Impact Analysis を武器に立ち向かう、AI 時代のテスト増加に対するヌーラボのアプローチ / getting-started-datadog-test-impact-analysis
k6s4i53rx
3
420
Featured
See All Featured
Exploring anti-patterns in Rails
aemeredith
4
580
Designing for humans not robots
tammielis
254
26k
sira's awesome portfolio website redesign presentation
elsirapls
0
530
Everyday Curiosity
cassininazir
0
420
From π to Pie charts
rasagy
1
460
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
600
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Darren the Foodie - Storyboard
khoart
PRO
5
4.1k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.9k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.5k
The Pragmatic Product Professional
lauravandoore
37
7.5k