$30 off During Our Annual Pro Sale. View Details »
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
53
The Developer Conference 2015
halysongoncalves
1
83
Other Decks in Technology
See All in Technology
Microsoft Agent 365 についてゆっくりじっくり理解する!
skmkzyk
0
370
初めてのDatabricks AI/BI Genie
taka_aki
0
200
業務のトイルをバスターせよ 〜AI時代の生存戦略〜
staka121
PRO
2
210
ガバメントクラウド利用システムのライフサイクルについて
techniczna
0
190
re:Inventで気になったサービスを10分でいけるところまでお話しします
yama3133
1
120
モダンデータスタック (MDS) の話とデータ分析が起こすビジネス変革
sutotakeshi
0
510
Haskell を武器にして挑む競技プログラミング ─ 操作的思考から意味モデル思考へ
naoya
6
1.6k
子育てで想像してなかった「見えないダメージ」 / Unforeseen "hidden burdens" of raising children.
pauli
2
250
IAMユーザーゼロの運用は果たして可能なのか
yama3133
1
460
AI 駆動開発勉強会 フロントエンド支部 #1 w/あずもば
1ftseabass
PRO
0
400
SQLだけでマイグレーションしたい!
makki_d
0
220
打 造 A I 驅 動 的 G i t H u b ⾃ 動 化 ⼯ 作 流 程
appleboy
0
350
Featured
See All Featured
Agile that works and the tools we love
rasmusluckow
331
21k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
34k
The Cult of Friendly URLs
andyhume
79
6.7k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.8k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
1.3k
jQuery: Nuts, Bolts and Bling
dougneiner
65
8.3k
Building Applications with DynamoDB
mza
96
6.8k
Embracing the Ebb and Flow
colly
88
4.9k
It's Worth the Effort
3n
187
29k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.8k
What's in a price? How to price your products and services
michaelherold
246
13k
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