Enviar pesquisa
Carregar
Android2.x/3.x/4.x向けアプリ開発で気付いたこと
•
6 gostaram
•
1,480 visualizações
Kenichi Kambara
Seguir
Tecnologia
Notícias e política
Denunciar
Compartilhar
Denunciar
Compartilhar
1 de 22
Recomendados
Tomorrow Java
Tomorrow Java
José Maria Silveira Neto
Webアプリケーションは難しい
Webアプリケーションは難しい
Takafumi ONAKA
Eric Lafortune - Fighting application size with ProGuard and beyond
Eric Lafortune - Fighting application size with ProGuard and beyond
GuardSquare
Eric Lafortune - Fighting application size with ProGuard and beyond
Eric Lafortune - Fighting application size with ProGuard and beyond
GuardSquare
State of the art - server side JavaScript - web-5 2012
State of the art - server side JavaScript - web-5 2012
Alexandre Morgaut
AndroidX Google Extended I/O BKK 2018
AndroidX Google Extended I/O BKK 2018
Theerasan Tonthongkam
Design Patterns for Tablets and Smartphones
Design Patterns for Tablets and Smartphones
Michael Galpin
State of the art: server-side javaScript - NantesJS
State of the art: server-side javaScript - NantesJS
Alexandre Morgaut
Recomendados
Tomorrow Java
Tomorrow Java
José Maria Silveira Neto
Webアプリケーションは難しい
Webアプリケーションは難しい
Takafumi ONAKA
Eric Lafortune - Fighting application size with ProGuard and beyond
Eric Lafortune - Fighting application size with ProGuard and beyond
GuardSquare
Eric Lafortune - Fighting application size with ProGuard and beyond
Eric Lafortune - Fighting application size with ProGuard and beyond
GuardSquare
State of the art - server side JavaScript - web-5 2012
State of the art - server side JavaScript - web-5 2012
Alexandre Morgaut
AndroidX Google Extended I/O BKK 2018
AndroidX Google Extended I/O BKK 2018
Theerasan Tonthongkam
Design Patterns for Tablets and Smartphones
Design Patterns for Tablets and Smartphones
Michael Galpin
State of the art: server-side javaScript - NantesJS
State of the art: server-side javaScript - NantesJS
Alexandre Morgaut
performance optimization: UI
performance optimization: UI
晓东 杜
One APK to rule them all
One APK to rule them all
Dominik Helleberg
What’s new in aNdroid [Google I/O Extended Bangkok 2016]
What’s new in aNdroid [Google I/O Extended Bangkok 2016]
Sittiphol Phanvilai
Eric Lafortune - The Jack and Jill build system
Eric Lafortune - The Jack and Jill build system
GuardSquare
XebiCon'18 - Passage à l'échelle de mes applications Kafka-Streams
XebiCon'18 - Passage à l'échelle de mes applications Kafka-Streams
Publicis Sapient Engineering
Automated malware analysis
Automated malware analysis
Ibrahim Baliç
Analyzing the Performance of Mobile Web
Analyzing the Performance of Mobile Web
Ariya Hidayat
Creating PostgreSQL-as-a-Service at Scale
Creating PostgreSQL-as-a-Service at Scale
Sean Chittenden
Android OS Porting: Introduction
Android OS Porting: Introduction
Jollen Chen
JS digest. February 2017
JS digest. February 2017
ElifTech
a friend in need-a js indeed / Yonatan levin
a friend in need-a js indeed / Yonatan levin
geektimecoil
A friend in need - A JS indeed
A friend in need - A JS indeed
Yonatan Levin
Introduction to Apache Kafka
Introduction to Apache Kafka
Shiao-An Yuan
viWave Study Group - Introduction to Google Android Development - Chapter 23 ...
viWave Study Group - Introduction to Google Android Development - Chapter 23 ...
Ted Chien
Building mobile apps with the ArcGIS api for Javascript, Esri, Andy Gup and A...
Building mobile apps with the ArcGIS api for Javascript, Esri, Andy Gup and A...
Esri Nederland
Mobile operating systems - Application Benchmarking
Mobile operating systems - Application Benchmarking
Nicolas Demetriou
Cilium – Kernel Native Security & DDOS Mitigation for Microservices with BPF
Cilium – Kernel Native Security & DDOS Mitigation for Microservices with BPF
Cynthia Thomas
Cilium: Kernel Native Security & DDOS Mitigation for Microservices with BPF
Cilium: Kernel Native Security & DDOS Mitigation for Microservices with BPF
Docker, Inc.
mongodb-introduction
mongodb-introduction
Tse-Ching Ho
Eric Lafortune - The Jack and Jill build system
Eric Lafortune - The Jack and Jill build system
GuardSquare
Hello Flutterの次におさえたい Flutterのポイント その6 (レイアウト編)
Hello Flutterの次におさえたい Flutterのポイント その6 (レイアウト編)
Kenichi Kambara
Hello Flutter”の次におさえたい Flutterのポイント その5
Hello Flutter”の次におさえたい Flutterのポイント その5
Kenichi Kambara
Mais conteúdo relacionado
Semelhante a Android2.x/3.x/4.x向けアプリ開発で気付いたこと
performance optimization: UI
performance optimization: UI
晓东 杜
One APK to rule them all
One APK to rule them all
Dominik Helleberg
What’s new in aNdroid [Google I/O Extended Bangkok 2016]
What’s new in aNdroid [Google I/O Extended Bangkok 2016]
Sittiphol Phanvilai
Eric Lafortune - The Jack and Jill build system
Eric Lafortune - The Jack and Jill build system
GuardSquare
XebiCon'18 - Passage à l'échelle de mes applications Kafka-Streams
XebiCon'18 - Passage à l'échelle de mes applications Kafka-Streams
Publicis Sapient Engineering
Automated malware analysis
Automated malware analysis
Ibrahim Baliç
Analyzing the Performance of Mobile Web
Analyzing the Performance of Mobile Web
Ariya Hidayat
Creating PostgreSQL-as-a-Service at Scale
Creating PostgreSQL-as-a-Service at Scale
Sean Chittenden
Android OS Porting: Introduction
Android OS Porting: Introduction
Jollen Chen
JS digest. February 2017
JS digest. February 2017
ElifTech
a friend in need-a js indeed / Yonatan levin
a friend in need-a js indeed / Yonatan levin
geektimecoil
A friend in need - A JS indeed
A friend in need - A JS indeed
Yonatan Levin
Introduction to Apache Kafka
Introduction to Apache Kafka
Shiao-An Yuan
viWave Study Group - Introduction to Google Android Development - Chapter 23 ...
viWave Study Group - Introduction to Google Android Development - Chapter 23 ...
Ted Chien
Building mobile apps with the ArcGIS api for Javascript, Esri, Andy Gup and A...
Building mobile apps with the ArcGIS api for Javascript, Esri, Andy Gup and A...
Esri Nederland
Mobile operating systems - Application Benchmarking
Mobile operating systems - Application Benchmarking
Nicolas Demetriou
Cilium – Kernel Native Security & DDOS Mitigation for Microservices with BPF
Cilium – Kernel Native Security & DDOS Mitigation for Microservices with BPF
Cynthia Thomas
Cilium: Kernel Native Security & DDOS Mitigation for Microservices with BPF
Cilium: Kernel Native Security & DDOS Mitigation for Microservices with BPF
Docker, Inc.
mongodb-introduction
mongodb-introduction
Tse-Ching Ho
Eric Lafortune - The Jack and Jill build system
Eric Lafortune - The Jack and Jill build system
GuardSquare
Semelhante a Android2.x/3.x/4.x向けアプリ開発で気付いたこと
(20)
performance optimization: UI
performance optimization: UI
One APK to rule them all
One APK to rule them all
What’s new in aNdroid [Google I/O Extended Bangkok 2016]
What’s new in aNdroid [Google I/O Extended Bangkok 2016]
Eric Lafortune - The Jack and Jill build system
Eric Lafortune - The Jack and Jill build system
XebiCon'18 - Passage à l'échelle de mes applications Kafka-Streams
XebiCon'18 - Passage à l'échelle de mes applications Kafka-Streams
Automated malware analysis
Automated malware analysis
Analyzing the Performance of Mobile Web
Analyzing the Performance of Mobile Web
Creating PostgreSQL-as-a-Service at Scale
Creating PostgreSQL-as-a-Service at Scale
Android OS Porting: Introduction
Android OS Porting: Introduction
JS digest. February 2017
JS digest. February 2017
a friend in need-a js indeed / Yonatan levin
a friend in need-a js indeed / Yonatan levin
A friend in need - A JS indeed
A friend in need - A JS indeed
Introduction to Apache Kafka
Introduction to Apache Kafka
viWave Study Group - Introduction to Google Android Development - Chapter 23 ...
viWave Study Group - Introduction to Google Android Development - Chapter 23 ...
Building mobile apps with the ArcGIS api for Javascript, Esri, Andy Gup and A...
Building mobile apps with the ArcGIS api for Javascript, Esri, Andy Gup and A...
Mobile operating systems - Application Benchmarking
Mobile operating systems - Application Benchmarking
Cilium – Kernel Native Security & DDOS Mitigation for Microservices with BPF
Cilium – Kernel Native Security & DDOS Mitigation for Microservices with BPF
Cilium: Kernel Native Security & DDOS Mitigation for Microservices with BPF
Cilium: Kernel Native Security & DDOS Mitigation for Microservices with BPF
mongodb-introduction
mongodb-introduction
Eric Lafortune - The Jack and Jill build system
Eric Lafortune - The Jack and Jill build system
Mais de Kenichi Kambara
Hello Flutterの次におさえたい Flutterのポイント その6 (レイアウト編)
Hello Flutterの次におさえたい Flutterのポイント その6 (レイアウト編)
Kenichi Kambara
Hello Flutter”の次におさえたい Flutterのポイント その5
Hello Flutter”の次におさえたい Flutterのポイント その5
Kenichi Kambara
[ABC2018Spring]Flutterアプリ開発入門
[ABC2018Spring]Flutterアプリ開発入門
Kenichi Kambara
“Hello Flutter”の次におさえたい Flutterのポイント その4
“Hello Flutter”の次におさえたい Flutterのポイント その4
Kenichi Kambara
[Google I/O 2018 Highlights] Sandbox
[Google I/O 2018 Highlights] Sandbox
Kenichi Kambara
[Google I/O 2018 Highlights] Flutter / WearOS
[Google I/O 2018 Highlights] Flutter / WearOS
Kenichi Kambara
"Hello Flutter"の次におさえたいFlutterのポイントその3
"Hello Flutter"の次におさえたいFlutterのポイントその3
Kenichi Kambara
Hello Flutterの次におさえたいFlutterのポイントその2
Hello Flutterの次におさえたいFlutterのポイントその2
Kenichi Kambara
I/Oへの期待+海外渡航持ち物Tips
I/Oへの期待+海外渡航持ち物Tips
Kenichi Kambara
Hello Flutterの次におさえたいFlutterのポイント
Hello Flutterの次におさえたいFlutterのポイント
Kenichi Kambara
Developing Android Apps for Google Assistant
Developing Android Apps for Google Assistant
Kenichi Kambara
Google Assistant対応アプリ開発3つのポイント
Google Assistant対応アプリ開発3つのポイント
Kenichi Kambara
10分で作るGoogle Assistant対応アプリ
10分で作るGoogle Assistant対応アプリ
Kenichi Kambara
[Kotlin勉強会] Hello Kotlinの次におさえたいKotlinの勘所
[Kotlin勉強会] Hello Kotlinの次におさえたいKotlinの勘所
Kenichi Kambara
Android O (Picture In Picture)入門+実装例
Android O (Picture In Picture)入門+実装例
Kenichi Kambara
AndroidアプリのKotlin移行時に遭遇した問題と対処例
AndroidアプリのKotlin移行時に遭遇した問題と対処例
Kenichi Kambara
Android O (Beta) Topics
Android O (Beta) Topics
Kenichi Kambara
Publishing Android Wear 2.0 Apps
Publishing Android Wear 2.0 Apps
Kenichi Kambara
Android Studio 2.3 New Features
Android Studio 2.3 New Features
Kenichi Kambara
Android 7.0 Nougat マルチウィンドウ解説+α
Android 7.0 Nougat マルチウィンドウ解説+α
Kenichi Kambara
Mais de Kenichi Kambara
(20)
Hello Flutterの次におさえたい Flutterのポイント その6 (レイアウト編)
Hello Flutterの次におさえたい Flutterのポイント その6 (レイアウト編)
Hello Flutter”の次におさえたい Flutterのポイント その5
Hello Flutter”の次におさえたい Flutterのポイント その5
[ABC2018Spring]Flutterアプリ開発入門
[ABC2018Spring]Flutterアプリ開発入門
“Hello Flutter”の次におさえたい Flutterのポイント その4
“Hello Flutter”の次におさえたい Flutterのポイント その4
[Google I/O 2018 Highlights] Sandbox
[Google I/O 2018 Highlights] Sandbox
[Google I/O 2018 Highlights] Flutter / WearOS
[Google I/O 2018 Highlights] Flutter / WearOS
"Hello Flutter"の次におさえたいFlutterのポイントその3
"Hello Flutter"の次におさえたいFlutterのポイントその3
Hello Flutterの次におさえたいFlutterのポイントその2
Hello Flutterの次におさえたいFlutterのポイントその2
I/Oへの期待+海外渡航持ち物Tips
I/Oへの期待+海外渡航持ち物Tips
Hello Flutterの次におさえたいFlutterのポイント
Hello Flutterの次におさえたいFlutterのポイント
Developing Android Apps for Google Assistant
Developing Android Apps for Google Assistant
Google Assistant対応アプリ開発3つのポイント
Google Assistant対応アプリ開発3つのポイント
10分で作るGoogle Assistant対応アプリ
10分で作るGoogle Assistant対応アプリ
[Kotlin勉強会] Hello Kotlinの次におさえたいKotlinの勘所
[Kotlin勉強会] Hello Kotlinの次におさえたいKotlinの勘所
Android O (Picture In Picture)入門+実装例
Android O (Picture In Picture)入門+実装例
AndroidアプリのKotlin移行時に遭遇した問題と対処例
AndroidアプリのKotlin移行時に遭遇した問題と対処例
Android O (Beta) Topics
Android O (Beta) Topics
Publishing Android Wear 2.0 Apps
Publishing Android Wear 2.0 Apps
Android Studio 2.3 New Features
Android Studio 2.3 New Features
Android 7.0 Nougat マルチウィンドウ解説+α
Android 7.0 Nougat マルチウィンドウ解説+α
Último
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
MounikaPolabathina
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
Inflectra
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
LoriGlavin3
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
panagenda
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
AliaaTarek5
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Scott Andery
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
IES VE
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
LoriGlavin3
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
HarshalMandlekar2
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
Farhan Tariq
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
Mydbops
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
LoriGlavin3
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
Knoldus Inc.
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
LoriGlavin3
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
Nicole Novielli
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
DianaGray10
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
Rick Flair
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
Curtis Poe
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
LoriGlavin3
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
Ingrid Airi González
Último
(20)
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
Android2.x/3.x/4.x向けアプリ開発で気付いたこと
1.
Android2.x/3.x/4.x
2012/01/28 @korodroid
2.
■
@korodroid ■ iplatform.org(http://www.iplatform.org/) ■ NTT ■ iplatform.org ■ Android 16 9 10 2
3.
➡
2.x/3.x/4.x 2.x 4.x 3.x 3
4.
2.x/3.x/4.x
1apk 2.x- 2.x- 4
5.
2.x/3.x/4.x
1apk 3.x- 3.x- 5
6.
2.x/3.x/4.x
1apk 4.x- 4.x- 6
7.
• • • • ,etc.
API • Fragment? • OptionMenu?ActionBar? • ,etc. 7
8.
small,normal,large,xlarge
• xlarge screens are at least 960dp x 720dp • large screens are at least 640dp x 480dp • normal screens are at least 470dp x 320dp • small screens are at least 426dp x 320dp •7” 5” large •Android3.0 8
9.
sw<N>dp,w<N>dp,h<N>dp
(a)layout-sw600dp 600dp (b)layout-w720dp 720dp (c)layout-h480dp 480dp (a)false (a)false (a)true 400dp (b)true 960dp (b)false 720dp (b)true (c)false (c)true (c)true 960dp 1280dp 9 400dp
10.
sw<N>dp,w<N>dp,h<N>dp
(a)layout-sw600dp 600dp (b)layout-w720dp 720dp (c)layout-h480dp 480dp •Developer ➡ Android3.2 ➡small,normal,large,xlarge ➡ v11,v13 • dp GN 360x592(dp) 598x360(dp) 10
11.
(A) •res/layout/main.xml •res/layout-sw600dp/main.xml (B)
•res/layout/main.xml •res/layout-sw600dp/main.xml •res/layout-sw720dp/main.xml (C) •res/layout/main.xml •res/layout-w600dp/main.xml 11
12.
API−Fragment Pane
Fragment A Fragment B 12
13.
API−Fragment Compatibility Package
2.x 2.x 3.x 4.x Compatibility Package Compatibility Package •Fragment •Compatibility Package • android.app.Fragment->android.support.v4.Fragment • Activity->FragmentActivity •,etc. 13
14.
API−ActionBar Action
Bar= 2.x-OptionMenu 3.x-ActionBar 14
15.
API−ActionBar AndroidManifest
2.x 3.x minSdk= targetSdk= minSdk=8 targetSdk=8 minSdk=8 targetSdk=11 8:Android2.2, 11:Android3.0 NG2 NG1 15
16.
API−ActionBar AndroidManifest
2.x 4.x( ) minSdk= targetSdk= minSdk=8 targetSdk=8 minSdk=8 targetSdk=11 8:Android2.2, 11:Android3.0 ActionBar NG3 NG4 showAsAction 16
17.
API−ActionBar AndroidManifest
2.x 3.x 4.x( ) minSdk= targetSdk= minSdk=8 targetSdk=8 minSdk=8 targetSdk=11 8:Android2.2, 11:Android3.0 4.x 2.x 3.x 17
18.
API−ActionBar
AndroidManifest 2.x 3.x 4.x( ) minSdk= targetSdk= minSdk=8 targetSdk=8 minSdk=8 targetSdk=11 •Java XML Manifest ( CaseByCase ) ➡ Blog •ICS Split ActionBar( ActionBar ) 18
19.
API−ActionBar
OptionMenu ActionBar 2.x 3.x 4.x OptionMenu ActionBar •2.x ActionBar Compatibility Package ➡ActionBar OptionMenu or ActionBarCompat • Action Bar OptionMenu ActionBar 19
20.
Tips 1.wrap_content
fill_parent(match_parent) ➡px ➡Java px 2. ➡Android 3.Fragment ➡ Fragment ➡Activity Fragment ➡Fragment→Fragment IF 20
21.
Android
Developer •Supporting Tablets and Handsets http://developer.android.com/guide/practices/tablets-and-handsets.html •Supporting Multiple Screens http://developer.android.com/guide/practices/screens_support.html •Declaring Tablet Layouts for Android 3.2 http://developer.android.com/guide/practices/screens_support.html#DeclaringTabletLayouts 21
22.
22