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
Musclez vos apps Android avec les outils du mon...
Search
Jérôme Van Der Linden
March 27, 2013
Programming
0
54
Musclez vos apps Android avec les outils du monde java
Devoxx France 2013
Jérôme Van Der Linden
March 27, 2013
Tweet
Share
More Decks by Jérôme Van Der Linden
See All by Jérôme Van Der Linden
AWS AppSync - The Underrated Backbone of Modern & AI Application
jeromevdl
0
9
I didn't know EventBridge did that
jeromevdl
0
1
Modernisez votre architecture grâce au serverless et l'orienté événement
jeromevdl
0
31
Building Event-Driven Applications on AWS
jeromevdl
0
150
When to use a Lambda function? And when not?!
jeromevdl
1
320
Java on AWS Lambda: Differences and challenges
jeromevdl
0
240
One programming language from the floor to the ceiling
jeromevdl
0
130
Local testing of CDK-defined Step Functions state machine
jeromevdl
0
350
AWS Meetup Geneva - Prepare for the new Swiss Region
jeromevdl
0
430
Other Decks in Programming
See All in Programming
Developer Joy - The New Paradigm
hollycummins
1
380
When Dependencies Fail: Building Antifragile Applications in a Fragile World
selcukusta
0
110
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
620
3年ぶりにコードを書いた元CTOが Claude Codeと30分でMVPを作った話
maikokojima
0
710
CSC305 Lecture 11
javiergs
PRO
0
310
Swift Concurrency 年表クイズ
omochi
3
190
Vue 3.6 時代のリアクティビティ最前線 〜Vapor/alien-signals の実践とパフォーマンス最適化〜
hiranuma
2
280
CSC305 Lecture 09
javiergs
PRO
0
330
CSC509 Lecture 08
javiergs
PRO
0
270
CSC305 Lecture 10
javiergs
PRO
0
320
Introduce Hono CLI
yusukebe
6
3.2k
TFLintカスタムプラグインで始める Terraformコード品質管理
bells17
2
500
Featured
See All Featured
How to train your dragon (web standard)
notwaldorf
97
6.3k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
2
190
Context Engineering - Making Every Token Count
addyosmani
8
320
Visualization
eitanlees
150
16k
How STYLIGHT went responsive
nonsquared
100
5.9k
Practical Orchestrator
shlominoach
190
11k
Why Our Code Smells
bkeepers
PRO
340
57k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
116
20k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
140
34k
Music & Morning Musume
bryan
46
6.9k
Large-scale JavaScript Application Architecture
addyosmani
514
110k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Transcript
27/03/2013, 17h - 17h30 - Salle Seine A Beef up
your Android apps, using Java tools
27 au 29 mars 2013 Beef up your Android apps,
using Java tools Jérôme Van Der Linden & Stéphane Nicolas OCTO Technology consultants @octotechnology
Jérôme Van Der Linden • Java / Android / JEE Architect
• Design, development, audit • Industrialization of software engineering • OSS softwares on GitHub • Android Holo Colors, Sonar Android Lint Plugin • Appaloosa Store co-founder
Stéphane Nicolas • 17 years of Java experience • Mostly teaching,
programming, designing. • OSS softwares on GitHub • RoboSpice, Quality Analysis Tools for Android, RoboDemo • Contributor of android maven plugin • Quebecer-like, woodworker wanna be, OSS-fan, Android coder
Quality Tools Available on Android Quality Tools
Quality Tools Available on Android Quality Tools
27 au 29 mars 2013 https://github.com/stephanenicolas/Quality-Tools-for-Android (http://goo.gl/pdwnq)
Initial Setup #install Sonar #install the Sonar Android Lint Plugin
> git clone
[email protected]
:jeromevdl/sonar-android-lint-plugin.git > mvn clean install && cp target/*.jar [SONAR_HOME]/extensions/plugins/ > sonar.sh restart #install the Sonar Emma Plugin #install Eclipse Juno or IntelliJ #install ADT (for Eclipse) #install a few Android SDK (i.e: 8, 11, 14, 17) #install Hardware Acceleration from Intel #install X86 android emulator with Hardware Acceleration Support #install maven 3.0.3+ #install Jenkins #install Jenkins Android Emulator Plugin Jenkins Maven Sonar Lint PMD Check Style findbugs Emma Cobertura
Getting started # clone the repository on GitHub > git
clone
[email protected]
:stephanenicolas/Quality-Tools-for-Android.git This projects combines many Quality Tools for Android.
Project Structure • Main app + Robolectric : Maven Android project
• Shared configuration : Maven parent project • Android Junit Tests : Maven Android project • UI Automator Tests : Maven Java project Eclipse projects follow maven submodules.
Maven Profiles Junit + Robotium Robolectric UIAutomator Code coverage Quality
checks (Checkstyle + findbugs + PMD + lint) Sonar standard emma cobertura ui automator spoon jacoco
Standard profile :
emma profile :
# run robolectric tests and get code coverage > mvn
clean cobertura:cobertura –P cobertura # Report in Sonar > mvn sonar:sonar –P cobertura Robolectric Cobertura Sonar cobertura profile :
# run robolectric tests and get code coverage > mvn
clean install –P jacoco # Report in Sonar > mvn sonar:sonar –P jacoco Robolectric Jacoco Sonar jacoco profile :
ui automator profile :
Spoon profile :
Conclusion Let’s take advantage of Java maturity. Testing and building
more robust apps can be easy. Choose technologies that suit your needs. Clone our project on GitHub, try it, contribute ! http://goo.gl/pdwnq qrcode.12511021.png
27 au 29 mars 2013 Live Demo https://github.com/stephanenicolas/Quality-Tools-for-Android (http://goo.gl/pdwnq)
Question and comments ?