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
Android 5.0 Lollipop トリビア大全
Search
cockscomb
November 25, 2014
Technology
690
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
More Decks by cockscomb
See All by cockscomb
はてなアカウント基盤 State of the Union
cockscomb
1
1.4k
jq at the Shortcuts
cockscomb
1
2.1k
GraphQL放談
cockscomb
4
2.2k
GraphQL Highway
cockscomb
28
8.8k
吉田を支える技術
cockscomb
0
2.6k
コーポレートサイトを静的化してAmplify Consoleにデプロイする
cockscomb
0
3.5k
ユーザインターフェイスと非同期処理
cockscomb
5
2.1k
GUIアプリケーションの構造と設計
cockscomb
10
10k
イカリング2におけるシングルページアプリケーション
cockscomb
2
7.7k
Other Decks in Technology
See All in Technology
MIRU 2026 チュートリアル
keisuke198619
0
910
TypeScript入門 2026
recruitengineers
PRO
3
580
モノリス Rails でも日中に rails db:migrate を走らせたい! / Daytime rails db:migrate on Monolithic Rails!
euglena1215
4
580
Head First モブプログラミング / Head First Mobprogramming
takaking22
10
12k
モダンフロントエンド 開発研修
recruitengineers
PRO
4
640
強化学習「理論」入門
enakai00
3
3.6k
老害フォレンジッカーはAI羊の夢を見るか?
tadmaddad
0
330
Bill One 開発エンジニア 紹介資料
sansan33
PRO
7
19k
【CEDEC2026】『GRANBLUE FANTASY: Relink - Endless Ragnarok』のバトル制作事例 ~最高のキャラゲーを目指して~
cygames
PRO
0
300
Breaking the Seal: Static Deobfuscation of Compiled V8 JavaScript Bytecode Malware
hshrzd
0
760
Forza Horizon 6 のテレメトリ機能で 自動運転に使えそうな学習データを集める話
henjin0
0
170
ボトムアップ文化が強い組織で セキュリティをどう根付かせていくかの現在進行形の話 / Making Security Stick in a Bottom-Up Organization
yamaguchitk333
0
220
Featured
See All Featured
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
760
sira's awesome portfolio website redesign presentation
elsirapls
0
320
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
520
The Invisible Side of Design
smashingmag
301
52k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
460
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
2.1k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
200
How to Think Like a Performance Engineer
csswizardry
28
2.7k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.4k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
240
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Odyssey Design
rkendrick25
PRO
2
750
Transcript
"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،فٔ涪Ⰵռ
ͰखʹೖΕΑ͏ כגזـؚٗ