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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
Tebiki Engineering Team Deck
tebiki
0
24k
プロポーザルに込める段取り八分
shoheimitani
1
190
Azure Durable Functions で作った NL2SQL Agent の精度向上に取り組んだ話/jat08
thara0402
0
160
Amazon Bedrock Knowledge Basesチャンキング解説!
aoinoguchi
0
130
Context Engineeringの取り組み
nutslove
0
320
Kiro IDEのドキュメントを全部読んだので地味だけどちょっと嬉しい機能を紹介する
khmoryz
0
170
マーケットプレイス版Oracle WebCenter Content For OCI
oracle4engineer
PRO
5
1.6k
Ruby版 JSXのRuxが気になる
sansantech
PRO
0
140
M&A 後の統合をどう進めるか ─ ナレッジワーク × Poetics が実践した組織とシステムの融合
kworkdev
PRO
1
420
生成AI時代にこそ求められるSRE / SRE for Gen AI era
ymotongpoo
5
3k
What happened to RubyGems and what can we learn?
mikemcquaid
0
250
モダンUIでフルサーバーレスなAIエージェントをAmplifyとCDKでサクッとデプロイしよう
minorun365
4
180
Featured
See All Featured
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
110
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
110
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
0
170
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.2k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
930
Information Architects: The Missing Link in Design Systems
soysaucechin
0
770
Exploring anti-patterns in Rails
aemeredith
2
250
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
200
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Building Adaptive Systems
keathley
44
2.9k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.7k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.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