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.3k
jq at the Shortcuts
cockscomb
1
2.1k
GraphQL放談
cockscomb
4
2.1k
GraphQL Highway
cockscomb
28
8.8k
吉田を支える技術
cockscomb
0
2.5k
コーポレートサイトを静的化してAmplify Consoleにデプロイする
cockscomb
0
3.5k
ユーザインターフェイスと非同期処理
cockscomb
5
2k
GUIアプリケーションの構造と設計
cockscomb
10
10k
イカリング2におけるシングルページアプリケーション
cockscomb
2
7.7k
Other Decks in Technology
See All in Technology
AI時代の EM への処方箋
staka121
PRO
0
110
AIレビューはどこまで任せられるのか?自動化と人が背負うレビューの境界
sansantech
PRO
2
380
AI駆動開発におけるQAエンジニアの役割事例 〜AI駆動開発の現場から〜
kobayashiyorimitsu
0
470
デジタル・デザイン:次の50年を描く「進化する青写真」
y150saya
0
850
“全部コピーしない”ファイルデータの活用 : — FSx for ONTAP × S3 Tables × Icebergで作るメタデータカタログ
yoshiki0705
0
680
ヘルスケア領域における AI 活用と その安全性担保のための取り組み (Leveraging AI in Healthcare and Our Efforts to Ensure Its Safety) - Google I/O Extended Tokyo 2026, July 11, 2026
zettaittenani
0
260
なぜ私たちのSREプラクティスはなかなか機能しないのか 〜システムより先に組織を見る〜 / Why our SRE practices aren't really working
vtryo
3
3.4k
DatabricksにおけるMCPソリューション
taka_aki
1
200
End-to-Endで考える信頼性 —LINEアプリにおけるクライアント開発×SRE連携の実践
maruloop
4
3.9k
AIと共生する開発者プラットフォーム:バクラクのモノレポ×マイクロサービス基盤
sakajunquality
2
3.2k
スタートアップにおけるアジャイルの実践について #shibuyagile
murabayashi
3
2.2k
Claude Code公式skillで 自分の仕事を少しずつ手放そう!(Claude Code開発ノウハウ大公開スペシャル by クラスメソッド)
kaym
0
120
Featured
See All Featured
Being A Developer After 40
akosma
91
590k
Facilitating Awesome Meetings
lara
57
7k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
210
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
460
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
320
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
970
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
Designing for Performance
lara
611
70k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
550
30 Presentation Tips
portentint
PRO
1
350
Reality Check: Gamification 10 Years Later
codingconduct
0
2.2k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.5k
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،فٔ涪Ⰵռ
ͰखʹೖΕΑ͏ כגזـؚٗ