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
45
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
Modernisez votre architecture grâce au serverless et l'orienté événement
jeromevdl
0
19
Building Event-Driven Applications on AWS
jeromevdl
0
99
When to use a Lambda function? And when not?!
jeromevdl
1
280
Java on AWS Lambda: Differences and challenges
jeromevdl
0
210
One programming language from the floor to the ceiling
jeromevdl
0
110
Local testing of CDK-defined Step Functions state machine
jeromevdl
0
270
AWS Meetup Geneva - Prepare for the new Swiss Region
jeromevdl
0
350
Message Driven Architecture on AWS
jeromevdl
1
190
Do more with less code in Serverless
jeromevdl
0
51
Other Decks in Programming
See All in Programming
【Kaigi on Rails 2024】YOUTRUST スポンサーLT
krpk1900
1
330
LLM生成文章の精度評価自動化とプロンプトチューニングの効率化について
layerx
PRO
2
190
Amazon Qを使ってIaCを触ろう!
maruto
0
400
OnlineTestConf: Test Automation Friend or Foe
maaretp
0
110
Streams APIとTCPフロー制御 / Web Streams API and TCP flow control
tasshi
2
350
型付き API リクエストを実現するいくつかの手法とその選択 / Typed API Request
euxn23
8
2.2k
イベント駆動で成長して委員会
happymana
1
320
Jakarta EE meets AI
ivargrimstad
0
590
Flutterを言い訳にしない!アプリの使い心地改善テクニック5選🔥
kno3a87
1
150
エンジニアとして関わる要件と仕様(公開用)
murabayashi
0
280
Jakarta Concurrencyによる並行処理プログラミングの始め方 (JJUG CCC 2024 Fall)
tnagao7
1
290
とにかくAWS GameDay!AWSは世界の共通言語! / Anyway, AWS GameDay! AWS is the world's lingua franca!
seike460
PRO
1
860
Featured
See All Featured
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.4k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
42
9.2k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Writing Fast Ruby
sferik
627
61k
No one is an island. Learnings from fostering a developers community.
thoeni
19
3k
Six Lessons from altMBA
skipperchong
27
3.5k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
131
33k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
4
370
Thoughts on Productivity
jonyablonski
67
4.3k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
246
1.3M
The Cult of Friendly URLs
andyhume
78
6k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
27
840
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 ?