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
O que há de novo no Android N
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Silvio Santos
July 07, 2016
Programming
0
49
O que há de novo no Android N
Silvio Santos
July 07, 2016
Tweet
Share
More Decks by Silvio Santos
See All by Silvio Santos
Whats new in Liferay Mobile SDK 2.0 for Android
sgosantos
0
160
Other Decks in Programming
See All in Programming
AIフル活用時代だからこそ学んでおきたい働き方の心得
shinoyu
0
140
2026年 エンジニアリング自己学習法
yumechi
0
140
CSC307 Lecture 10
javiergs
PRO
1
660
インターン生でもAuth0で認証基盤刷新が出来るのか
taku271
0
190
開発者から情シスまで - 多様なユーザー層に届けるAPI提供戦略 / Postman API Night Okinawa 2026 Winter
tasshi
0
200
Oxlint JS plugins
kazupon
1
980
Smart Handoff/Pickup ガイド - Claude Code セッション管理
yukiigarashi
0
140
Package Management Learnings from Homebrew
mikemcquaid
0
230
AI & Enginnering
codelynx
0
120
AIエージェント、”どう作るか”で差は出るか? / AI Agents: Does the "How" Make a Difference?
rkaga
4
2k
izumin5210のプロポーザルのネタ探し #tskaigi_msup
izumin5210
1
130
Oxlintはいいぞ
yug1224
5
1.3k
Featured
See All Featured
Navigating Weather and Climate Data
rabernat
0
110
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
320
Mind Mapping
helmedeiros
PRO
0
89
From π to Pie charts
rasagy
0
120
AI: The stuff that nobody shows you
jnunemaker
PRO
2
270
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
430
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
0
140
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
170
Rails Girls Zürich Keynote
gr2m
96
14k
A Modern Web Designer's Workflow
chriscoyier
698
190k
Color Theory Basics | Prateek | Gurzu
gurzu
0
200
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7k
Transcript
O que há de novo no Android N Silvio Santos
Silvio Santos mobile team lead
N de NOUGAT
MULTI- WINDOW
None
None
None
Activity que usuário interage fica no estado de resumida as
demais em estado de pausa
colocar em multi-window ou redimensionar uma activity implica em uma
mudança de configuração
apps que suportam portrait/ landscape funcionam automaticamente em multi-window
default é true android:resizeableActivity=["true" | “false"]
Activity.isInMultiWindowMode() Activity.isInPictureInPictureMode() Activity.onMultiWindowModeChanged() Activity.onPictureInPictureModeChanged()
NOTIFICATIONS
None
None
None
Builder.setGroup()
DOZE
None
economiza bateria
QUANDO?
na bateria tela desligada parado
Network Wakelocks Alarms Wifi scans Syncs adapters JobScheduler
mensagens de alta prioridade via GCM foreground services
None
None
LIGHT DOZE
na bateria tela desligada parado
menor intervalo entre janelas de manutenção restrição de acesso à
rede background jobs são retardados
None
None
MEMORY OPTIMIZATIONS
apps podem acordar a partir de broadcasts do sistema
TODOS os apps que escutam o broadcast são iniciados
None
None
remoção de static implicit broadcasts
CONNECTIVITY_CHANGE ACTION_NEW_PICTURE ACTION_NEW_VIDEO
None
JobScheduler js = (JobScheduler)context.getSystemService( Context.JOB_SCHEDULER_SERVICE); JobInfo job = new
JobInfo.Builder(MY_BACKGROUND_JOB, new ComponentName(context, MyJobService.class)) .setRequiredNetworkType(JobInfo.NETWORK_TYPE_UNMETERED) .setRequiresCharging(true) .build(); js.schedule(job);
API < L Firebase Job Dispatcher
SCOPED DIRECTORIES
permissão de acesso a diretórios específicos
StorageManager sm = (StorageManager)getSystemService( Context.STORAGE_SERVICE); StorageVolume volume
= sm.getPrimaryVolume(); Intent intent = volume.createAccessIntent( Environment.DIRECTORY_PICTURES); startActivityForResult(intent, request_code);
DATA SAVER
ConnectivityManager.getRestrictBackgroundStatus()
RESTRICT_BACKGROUND_STATUS_DISABLED RESTRICT_BACKGROUND_STATUS_ENABLED RESTRICT_BACKGROUND_STATUS_WHITELISTED
JAVA 8
lambda expressions method references type annotations
default and static interface methods repeatable annotations Streams
ART Android Runtime
JIT
AOT
None
JIT / AOT
profile guided compilation
métodos + usados chamados a partir da UI thread
compila código enquanto o device está carregando
None
?
OBRIGADO! @sgosantos