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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
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
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
あなたの知らない UIKit の世界 — UITableView に UITextView を置きたい
cockscomb
1
7.6k
Other Decks in Technology
See All in Technology
protovalidate-es を導入してみた
bengo4com
0
160
実装は速くなった、レビューはどうする? ― 自身のレビューをAIで再現させるサーヴァントエンジニアリングのすゝめ / Implementation got faster. So what about reviews? — An invitation to Servant Engineering: Recreating your own code reviews with AI
nrslib
7
4.2k
Chart.js が簡単に使えるようになっていたので OGP 画像生成に使った話
kamekyame
0
170
会社紹介資料 / Sansan Company Profile
sansan33
PRO
18
420k
ITエンジニアを取り巻く環境とキャリアパス / A career path for Japanese IT engineers
takatama
4
1.8k
トークン数だけでは測れない — Claude Code 組織展開の効果検証から学んだこと
makikub
0
140
コードレビューを制するチームがソフトウェアデリバリーのフローを制す / Beyond Code Review: Distributing Its Responsibilities Across the SDLC
mtx2s
4
1.3k
Diagnosing performance problems without the guesswork
elenatanasoiu
0
170
サプライチェーンセキュリティの空白地帯 - 信頼できる”依存性”の未来を考える
rung
PRO
2
780
AI駆動開発が変える、大規模開発の前提 ーHuman in the Loop から Human on the Loop へ / AIE2026
visional_engineering_and_design
28
19k
Rubyで音を視る
ydah
1
110
Microsoft Build Keynoteふりかえり
tomokusaba
0
110
Featured
See All Featured
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.7k
A Tale of Four Properties
chriscoyier
163
24k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Navigating Weather and Climate Data
rabernat
0
210
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
580
YesSQL, Process and Tooling at Scale
rocio
174
15k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.8k
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
720
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
850
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
250
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،فٔ涪Ⰵռ
ͰखʹೖΕΑ͏ כגזـؚٗ