Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
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
66
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Musclez vos apps Android avec les outils du monde java
Devoxx France 2013
Jérôme Van Der Linden
March 27, 2013
More Decks by Jérôme Van Der Linden
See All by Jérôme Van Der Linden
Spec Drivent Development
jeromevdl
0
60
AWS AppSync - The Underrated Backbone of Modern & AI Application
jeromevdl
0
50
I didn't know EventBridge did that
jeromevdl
0
28
Modernisez votre architecture grâce au serverless et l'orienté événement
jeromevdl
0
66
Building Event-Driven Applications on AWS
jeromevdl
0
240
When to use a Lambda function? And when not?!
jeromevdl
1
380
Java on AWS Lambda: Differences and challenges
jeromevdl
0
310
One programming language from the floor to the ceiling
jeromevdl
0
160
Local testing of CDK-defined Step Functions state machine
jeromevdl
0
390
Other Decks in Programming
See All in Programming
Streamlitで実現する自然言語データアプリ開発
ayumu_yamaguchi
1
320
setup-vp GitLab対応の裏側
naokihaba
0
140
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
320
巨大モノリシックアプリ モダン化大作戦
ktcryomm
1
1.1k
Java 27新機能 / Java 27 new features
kishida
2
180
AHC070解法紹介
eijirou
0
140
Omarchy Tokyo やると聞いて UMPC 買ってセットアップしてきた
mtsmfm
0
180
Starting & Sustaining Code-Based E2E Testing for Non-Coding QA Teams( #jasstniigata )
teyamagu
PRO
1
600
すこし踏み込む CancellationToken
htkym
2
1.3k
Webの地図
yosuke_furukawa
PRO
6
4.9k
JRuby: Past, Present, and Future
headius
0
210
技術的負債の返済は、AI時代の複利で効く投資 — 経営としての意思決定とその遂行
curekoshimizu
0
1.9k
Featured
See All Featured
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
Done Done
chrislema
187
17k
Google's AI Overviews - The New Search
badams
0
1.6k
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
A Soul's Torment
seathinner
8
3.7k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
12k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
2k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.3k
Building a Scalable Design System with Sketch
lauravandoore
464
34k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
590
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
2
450
Chasing Engaging Ingredients in Design
codingconduct
0
340
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 ?