Profile

Cover photo
Antoine Merle
Works at Goomeo
Attended ISIMA
1,040 followers|594,597 views
AboutPostsVideosReviews

Stream

 
 
Don't break the chain: use RxJava's compose() operator.

#android  
One nice aspect of RxJava is that you can see how data is transformed through a series of operators: Observable.from(someSource) .map(data -> manipulate(data)) .subscribeOn(Schedulers.io()) .observeOn(AndroidSchedulers.mainThread()) .subscribe(data -> doSomething(data)...
View original post
2
Add a comment...

Antoine Merle

Shared publicly  - 
 
 
I made a gradle plugin!
https://github.com/chiuki/gce2retrofit

It generates Retrofit classes from Google Cloud Endpoint (GCE) discovery files.

Please try it and file issues if you encounter any. Thanks!


#GDE   #Android   #OpenSourceCode  
I am working on an Android app that uses Retrofit a Google Cloud Endpoints (GCE) server. Initially I was writing the Retrofit interfaces and models by hand, but then I found out that GCE servers serve a discovery document describing all its endpoints in JSON. So I started working on a tool to ...
View original post
3
Add a comment...

Antoine Merle

Shared publicly  - 
 
 
Searching…
The material design spec says¹ that “transitioning between two visual states should be clear, smooth and effortless and not confuse the user”.  That's why when I came across this shot² on dribbble I thought it was a pretty funky way to transition from a search icon to a search field.  I then thought that with AnimatedVectorDrawable's³ ability to animate paths, this would be simple.  +Chris Banes said I was crazy so then I had to make it to prove him wrong.

https://gist.github.com/nickbutcher/b3962f0d14913e9746f2

#AndroidDev   #materialdesign  

¹ http://www.google.com/design/spec/animation/meaningful-transitions.html#meaningful-transitions-visual-continuity
² https://dribbble.com/shots/1945376-Search
³ https://developer.android.com/reference/android/graphics/drawable/AnimatedVectorDrawable.html
50 comments on original post
13
5
Benjamin Gonin's profile photo陈剑锋's profile photo
Add a comment...

Antoine Merle

Shared publicly  - 
 
 
With the latest version of the Android Gradle plugin we added support for unit testing. Here is the documentation a lot of you have been asking for in the last few days. If you have any questions or feedback just reply to this thread. Enjoy.
16 comments on original post
9
4
Davide Corradini's profile photo马林康's profile photo
Add a comment...

Antoine Merle

Shared publicly  - 
 
 
I'm releasing and open sourcing Telecine, a small app I wrote two months ago for creating clean screen recordings directly on your device.

Like with almost everything I end up open sourcing, I wrote it for myself but thought it might be useful to others as well. I've got one or two additional hero features that I hope to get to eventually, but it's perfectly usable in its current state.

Hope the app and code are helpful.

https://github.com/JakeWharton/Telecine
https://play.google.com/store/apps/details?id=com.jakewharton.telecine
28 comments on original post
1
1
陈剑锋's profile photo
Add a comment...
 
 
Today’s #AndroidDev #Protip  is from +Katherine Kuan on screen pinning.

In Android 5.0 Lollipop, we’ve introduced the screen pinning feature, which temporarily restricts users from leaving a task or getting interrupted by notifications. Here are two ways to take advantage of it.

1. As a user, you may pin a screen before you hand off your device.
Pinning a screen keeps the device locked to the current task. It minimizes the chance of accidentally hitting a system nav button to inadvertently leave the app. However, this feature is not meant to enforce secure lockdown of the device because using the system UI, a user can still exit screen pinning mode. Any Lollipop user can enable the screen pinning feature by going to Settings app > Security > Screen pinning. Next open the desired app, and then open the Overview space (recents). Pin the screen by touching the circular pin icon. See images below. 

2. As a developer, you may prompt the user to pin a screen from inside your app.
You can extend your app (if it’s an immersive game for example) with the screen pinning API. You can surface a way for users to start and stop screen pinning mode in your app, without requiring them to go to the Overview space. Within the Activity code, call startLockTask()[1]. A dialog prompt appears to the user before the mode starts. It’s possible to detect that the mode has been started when isInLockTaskMode() [2] is true. Afterwards, the user can exit this mode via the system UI or by clicking on app UI that calls stopLockTask() [3]. A secure screen lock may be presented upon unpinning, depending on the selected behavior in the dialog prompt (and the device’s current security settings). 

Note that screen pinning is a lock on the task, and not a lock on the app or the activity. In this mode, you can’t create or switch to a new task (even in the same app). Follow best practices on using tasks in your app. [4]

Check out the developer site for more details on the behavior of the screen pinning mode. [5]

[1] http://developer.android.com/reference/android/app/Activity.html#startLockTask()
[2] https://developer.android.com/reference/android/app/ActivityManager.html#isInLockTaskMode()
[3] http://developer.android.com/reference/android/app/Activity.html#stopLockTask()
[4] http://developer.android.com/guide/components/tasks-and-back-stack.html
[5] http://goo.gl/a2F8qM
26 comments on original post
1
1
伍业雄's profile photo
Add a comment...
Have him in circles
1,040 people
GDG Paris Android User Group's profile photo
Süleyman Çelik's profile photo
Guy Dviri's profile photo
Miguel Aragues's profile photo
Yiannis Tsigkos's profile photo
Michael Evans's profile photo
Gorjan Zajkovski's profile photo
Mark Hwang's profile photo
cath luce's profile photo

Antoine Merle

Shared publicly  - 
 
 
[Part 10 – The Hitchhiker’s guide to Android Testing]

This part in lazy android developers series is completely written by +Wiebe Elsinga and +Ali Derbane, with love towards #AndroidDev  community.

In this part, they have explored about android testing and tools:
1. JUnit
2. Hamcrest
3. Robotium
4. Calabash
5. Espresso
6. Selendroid
7. Robolectric

Thank you Wiebe and Ali for sharing your knowledge with us.

http://www.technotalkative.com/part-10-the-hitchhikers-guide-to-android-testing/
Writing tests gives you a good understanding about the stability, quality and performance of an application. There are multiple android testing tools.
1 comment on original post
10
5
Suhatt Jantorn's profile photoYossi Elkrief's profile photo
Add a comment...
 
 
I wrote a blog post about how to keep up with the world of Android development. Hope you'll find it useful!
Tips on staying up to date with the world of Android development.
1 comment on original post
8
1
Ivo Encarnação's profile photo
Add a comment...
 
 
I just published a blog post on the spanking brand new Little Robots blog on how to include Facebooks Stetho into your Android debug builds only, leveraging the power of the Gradle build system. Check it out!

#androiddev  
11 comments on original post
2
1
Salvador Gómez's profile photo
Add a comment...
 
I am pretty sure you guys all know about the ctrl+space shortcut that brings you autocompletion. But are you aware of the option+space shortcut? 
option+space will display the implementation of the method. This is really handy, e.g when you want to see if the method you are calling performs some checks about its parameters.

ctrl + J is also useful to see the quick documentation

h/t +Antoine Domenger 
  
#Androiddev   #AndroidStudio   #intellij  
29
14
James Vanaria's profile photoGabor Orosz's profile photoIvo Encarnação's profile photoStanley H's profile photo
4 comments
 
For the IntelliJ users, Ctrl+Shift+i brings up the implementation of the method, and Ctrl+q for quick documentation (both while using auto-completion or on your cursor). 

Also worth noting the quick documentation also works on internal code - so document those classes and functions!
Add a comment...

Antoine Merle

Shared publicly  - 
 
 
I found some pretty awesome slides exploring some cool/advanced Android TextView use-cases today. h/t +Chiu-Ki Chan

http://chiuki.github.io/advanced-android-textview/#/
1 comment on original post
7
6
Guillaume Imbert's profile photoOleg Semen's profile photoSergey Chuvashev's profile photoZhiqiang Tan's profile photo
 
very nice!
Add a comment...

Antoine Merle

Shared publicly  - 
 
 
Screenshots Through Automation

After almost one year of silence on my blog, I finally found an interesting subject to talk about. If you want to know how we take beautiful screenshots through automation at Capitaine Train, there are some answers here:

http://flavienlaurent.com/blog/2014/12/05/screenshot_automation

#androiddev   #uiautomator  

I also updated my blog theme (https://github.com/vladigleba/readify) which is much more readable.
One important thing when an app is released on the Play Store is to have up-to-date, beautiful and clean screenshots. In an app containing lots of …
1 comment on original post
6
3
Davide Corradini's profile photoPatryk Zabicki's profile photo
Add a comment...
People
Have him in circles
1,040 people
GDG Paris Android User Group's profile photo
Süleyman Çelik's profile photo
Guy Dviri's profile photo
Miguel Aragues's profile photo
Yiannis Tsigkos's profile photo
Michael Evans's profile photo
Gorjan Zajkovski's profile photo
Mark Hwang's profile photo
cath luce's profile photo
Work
Occupation
Android Developer
Employment
  • Goomeo
    Android Developer, 2012 - present
Basic Information
Gender
Male
Other names
Castorflex
Story
Tagline
French guy writing stuff.
Education
  • ISIMA
    Informatique, 2009 - 2012
  • University Of Limoges
    Informatique, 2007 - 2009
Public - 12 months ago
reviewed 12 months ago
Food: ExcellentDecor: Very GoodService: Excellent
Public - 2 years ago
reviewed 2 years ago
3 reviews
Map
Map
Map
Prix élevés
Public - 2 years ago
reviewed 2 years ago