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
Android 5.0 Lollipop トリビア大全
Search
cockscomb
November 25, 2014
Technology
700
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Android 5.0 Lollipop トリビア大全
potatotips #11で発表しました
cockscomb
November 25, 2014
Transcript
24 slides
"OESPJE-PMMJQPQ )JEEFO(FNT
"OESPJE-PMMJQPQ زٔؽ،㣐Ⰻ
DPDLTDPNC
None
ςϨϏ τ Ϧ ϏΞ ʲ ͱ Γͼ͋ʳ USJWJB ੜ͖͍ͯ͘͏͑Ͱશ͘ඞཁͷͳ͍Ϝμͳࣝɻࡶֶɻ ςϨϏ൪ʮτϦϏΞͷઘʯͰຖिհ͞Ε͍ͯΔɻ
ຊͰɺಉςϨϏ൪͕͖͔͚ͬͰ༻͞ΕΔΑ͏ ʹͳ͕ͬͨɺӳޠݍͰݹ͔͘Β༻͞Ε͍ͯΔΑ ͏Ͱ͋Δɻ ͯͳΩʔϫʔυ)BUFOB
սزٔؽ،վ Ⱏ剣⯓׀הח*OUFOUך ⰻ㺁㢌ִ
Intent.EXTRA_REPLACEMENT_EXTRAS "EEFEJO"1*MFWFM
Intent intent = ShareCompat.IntentBuilder.from(this) .setSubject(title) .setText(url) .setType("text/plain") .getIntent(); Intent
chooserIntent = Intent.createChooser(intent, null); if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { Bundle replaceExtras = new Bundle(); replaceExtras.putString(Intent.EXTRA_TEXT, title + " / " + url); Bundle bundle = new Bundle(); bundle.putParcelable("com.twitter.android", replaceExtras); chooserIntent.putExtra(Intent.EXTRA_REPLACEMENT_EXTRAS, bundle); } startActivity(chooserIntent);
ֿגزٔؽ،ח זתַׇ
սزٔؽ،վ android.utilחRange, Size, Rationalָ鷄⸇ׁ
android.util.Range android.util.Size android.util.SizeF android.util.Rational "EEFEJO"1*MFWFM
Range<Integer> firstRange = Range.create(3, 11); Range<Integer> secondRange = Range.create(5, 7);
if (firstRange.contains(secondRange)) { Log.i("Range", "firstRange contains secondRange"); // I/Range﹕ firstRange contains secondRange } Size size = new Size(1920, 1080); Log.i("Size", size.toString()); // I/Size﹕ 1920x1080 Rational rational = new Rational(1, 3); Log.i("Rational", rational.toString()); // I/Rational﹕ 1/3
ֿגزٔؽ،ח זתַׇ
սزٔؽ،վ -PMMJQPQך8FC7JFXכ؟٦سػ٦ذ؍ ؙحؗ٦搀⸬זךד孡אֽ
android.webkit.CookieManager public void setAcceptThirdPartyCookies (WebView webview, boolean accept)
"EEFEJO"1*MFWFM
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { CookieManager.getInstance().setAcceptThirdPartyCookies(mWebView, true); }
ֿגزٔؽ،ח זתַׇ
ս酅ٙؠվ 剑鸞ד5PPMCBSך♴ח 䕦אֽ酅ٙؠ
<android.support.v7.widget.Toolbar /> <FrameLayout android:foreground="?android:attr/windowContentOverlay"> </FrameLayout>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent"> <android.support.v7.widget.Toolbar android:id="@+id/tool_bar" android:layout_width="match_parent"
android:layout_height="wrap_content" app:theme="@style/ThemeOverlay.AppCompat.ActionBar" style="@style/ActionBarToolbar"/> <FrameLayout android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="1.0" android:foreground="?android:attr/windowContentOverlay"> <SomethingWhatYouWant> </FrameLayout> </LinearLayout>
ֿג酅ٙؠח זתַׇ
僇傈ַ䕵甧אيت濼陎 ˖ Ⱏ剣⯓׀הח*OUFOUךⰻ㺁㢌ִ ˖ BOESPJEVUJMח3BOHF 4J[F 3BUJPOBMָ鷄⸇ׁ ˖ -PMMJQPQך8FC7JFXכ؟٦سػ٦ذ؍ؙحؗ٦
搀⸬זךד孡אֽ ˖ 剑鸞ד5PPMCBSך♴ח䕦אֽ酅ٙؠ
)BUFOB&OHJOFFS4FNJOBS !5PLZP DPDLTDPNC ջכגזחֶֽٌتٝ"OESPJE،فٔ涪Ⰵռ
ͰखʹೖΕΑ͏ כגזـؚٗ
More Decks by cockscomb
See All by cockscomb
はてなアカウント基盤 State of the Union
cockscomb
1
1.6k
jq at the Shortcuts
cockscomb
1
2.1k
GraphQL放談
cockscomb
4
2.2k
GraphQL Highway
cockscomb
28
8.9k
吉田を支える技術
cockscomb
0
2.6k
コーポレートサイトを静的化してAmplify Consoleにデプロイする
cockscomb
0
3.5k
ユーザインターフェイスと非同期処理
cockscomb
5
2.1k
GUIアプリケーションの構造と設計
cockscomb
10
10k
イカリング2におけるシングルページアプリケーション
cockscomb
2
7.8k
Other Decks in Technology
See All in Technology
Intro to Kiro (One agent, every surface) | Kiro: Zero to Hero 01
inariku
PRO
2
120
人間+AIを「チーム」としてプロセスを再設計する
littlehands
0
250
81天的 AI Agent 軟體開發團隊治理實務分享
regionbbs
0
160
仕様と現実の間で落とし所を探るリモートMCPの認証・認可 — Sansanの認証基盤における課題と実践
sansantech
PRO
2
280
属人化したISMS運用をGitHubとAIで仕組み化した1年間の記録
sioncojp
4
2.5k
Kiro IDE 入門 (画面の各部から、頼み方、任せ方、戻し方まで) | 目指せ Kiro マスター 02
inariku
PRO
4
220
AIエージェントの監視、思考を見るか行動を見るか / Monitoring AI Agents: Thoughts or Actions
yusukeshimizu
2
190
Biohub - Cell Tracking During Development 5th place solution
rist
0
140
AI時代に求められる優秀なTechLeadの振る舞い
pospome
11
16k
DBTS2026 盛り上がってますか!?Databricksが実現するAI時代のデータ基盤
akuwano
1
200
これからのデータエンジニアの役割について考える / Rethinking the Role of Data Engineers in the AI Era
okiyuki99
0
450
AI時代における医療情報システムのセキュリティ / Security of Healthcare IT Systems in the AI Era
henryofficial
0
150
Featured
See All Featured
Darren the Foodie - Storyboard
khoart
PRO
5
4.1k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
350
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.4k
Paper Plane
katiecoart
PRO
6
55k
Everyday Curiosity
cassininazir
0
400
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
380
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
70
69k
Marketing to machines
jonoalderson
1
6k
Believing is Seeing
oripsolob
1
280
The #1 spot is gone: here's how to win anyway
tamaranovitovic
4
1.2k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.4k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.9k