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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Jérôme Van Der Linden
March 27, 2013
Programming
0
55
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
16
I didn't know EventBridge did that
jeromevdl
0
5
Modernisez votre architecture grâce au serverless et l'orienté événement
jeromevdl
0
41
Building Event-Driven Applications on AWS
jeromevdl
0
180
When to use a Lambda function? And when not?!
jeromevdl
1
330
Java on AWS Lambda: Differences and challenges
jeromevdl
0
250
One programming language from the floor to the ceiling
jeromevdl
0
140
Local testing of CDK-defined Step Functions state machine
jeromevdl
0
360
AWS Meetup Geneva - Prepare for the new Swiss Region
jeromevdl
0
440
Other Decks in Programming
See All in Programming
AI & Enginnering
codelynx
0
120
24時間止められないシステムを守る-医療ITにおけるランサムウェア対策の実際
koukimiura
1
120
AgentCoreとHuman in the Loop
har1101
5
240
MUSUBIXとは
nahisaho
0
140
Automatic Grammar Agreementと Markdown Extended Attributes について
kishikawakatsumi
0
200
疑似コードによるプロンプト記述、どのくらい正確に実行される?
kokuyouwind
0
390
Unicodeどうしてる? PHPから見たUnicode対応と他言語での対応についてのお伺い
youkidearitai
PRO
1
2.6k
CSC307 Lecture 05
javiergs
PRO
0
500
AI時代のキャリアプラン「技術の引力」からの脱出と「問い」へのいざない / tech-gravity
minodriven
21
7.4k
React 19でつくる「気持ちいいUI」- 楽観的UIのすすめ
himorishige
11
7.5k
CSC307 Lecture 10
javiergs
PRO
1
660
Rust 製のコードエディタ “Zed” を使ってみた
nearme_tech
PRO
0
200
Featured
See All Featured
Paper Plane
katiecoart
PRO
0
46k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
63
The Cost Of JavaScript in 2023
addyosmani
55
9.5k
Tell your own story through comics
letsgokoyo
1
810
HDC tutorial
michielstock
1
390
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
67
New Earth Scene 8
popppiees
1
1.5k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
280
How to Think Like a Performance Engineer
csswizardry
28
2.5k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.1k
Raft: Consensus for Rubyists
vanstee
141
7.3k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.9k
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 ?