Profile

Cover photo
Antoine Merle
Works at Deezer
Attended ISIMA
1,175 followers|640,062 views
AboutPostsCollectionsVideosReviews

Stream

Antoine Merle

Shared publicly  - 
 
Didn't try it, but looks cool!
 
Introducing scrollshot, a script for automatically scrolling and stitching screenshots of Android apps: https://github.com/ericleong/scrollshot
4 comments on original post
8
3
Vladimir Bjelakovic's profile photoAndroid Resources's profile photo
Add a comment...

Antoine Merle

Shared publicly  - 
 
I do not share a lot of redesign stuff, but I find this one really great!
 
I was asked to redesign Twitter as a challenge for something big.
This is the result!

#AndroidDesign   #MaterialDesign  
Rethinking the design of Twitter’s Android app. From the basic user flow to detailed animations.
17 comments on original post
6
Add a comment...

Antoine Merle

Shared publicly  - 
 
 
New blog post: Architecting Android…the evolution. http://goo.gl/OS5V17 #Android #androiddev #programming #developer #development #dev 
Hey there! After a while (and a lot of feedback received) I decided it was a good time to get back to this topic and give you another taste of what I consider a good approach when it comes to architecting modern mobile applications (android in this case). Before getting started, I assume that ...
7 comments on original post
12
4
Russell Wheeler's profile photoOleg Semen's profile photo
Add a comment...

Antoine Merle

Shared publicly  - 
 
 
Scanning…

I'm really excited to see the new fingerprint API⁰ in Android M so made this little exploration demonstrating how you might prompt for a fingerprint and then show success or failure.  I'm using a couple of neat tricks provided by AnimatedVectorDrawable¹:

● Morph the paths of parts of the fingerprint to create the tick/cross.
● Use a copy of the fingerprint and a moving clip-path to create the scanning effect.

There are quite a few moving parts but you can find the code here:

https://gist.github.com/nickbutcher/29244da0ee9914001e09

#androiddev   #androiddesign  

https://www.youtube.com/watch?v=VOn7VrTRlA4&index=11&list=PLOU2XLYxmsIJDPXCTt5TLDu67271PruEk
¹ https://developer.android.com/reference/android/graphics/drawable/AnimatedVectorDrawable.html
11 comments on original post
2
1
Chandrasekhar Allam's profile photo
Add a comment...

Antoine Merle

Shared publicly  - 
 
Did you know? 

The Cursor interface extends Closeable only api16+.
Be careful if, like me, you wrote a Utils.quietClose(Closeable) method. Do not call this method with a Cursor, or it will cause your app to crash, with a beautiful log message:

Fatal signal 11 (SIGSEGV) at 0x00000000 (code=0)

Actually, if you look at the Cursor source code, the close() method does not throw any Exception, and is not @Override annotated.

see also: https://code.google.com/p/android/issues/detail?id=67052
Android Open Source Project - Issue Tracker
5
2
Android Resources's profile photoJulien Banse's profile photo
Add a comment...

Antoine Merle

Shared publicly  - 
 
 
The slides of my talk "Material Design implementation in Android" at  #mixit15  are available

https://speakerdeck.com/mathieu_calba/material-design-implementation-in-android

#androiddev
In june 2014, Google introduced a new design language for its products called Material Design. Material Design introduced lot of new visuel elements like Ripples, Floating action buttons, etc. This deck presents what Material Design is, what are the API are available to us to implement it on Android with retro compatibility in mind.
4 comments on original post
6
2
张林(linroid)'s profile photoDavide Corradini's profile photo
Add a comment...
Have him in circles
1,175 people
GDG Paris Android User Group's profile photo
Catalin Morosan's profile photo
Wei Xie's profile photo
Cesarin Qinman's profile photo
David González's profile photo
Android Al dia's profile photo
Tuấn Nguyễn's profile photo
Christoffer Hirsimaa's profile photo
khaled bakhtiari's profile photo

Antoine Merle

Shared publicly  - 
 
 
Today I''ve read this excellent post by +Pierre-Yves Ricau.

Obviously the Dalvik VM uses an optimization that was once used in the stock Java VM as well. And dropped for good reasons in later VMs.

For some history here's a quote of a very old book from within SUN's Java series books (section A.3.3 Invisible (!) objects):

public void run() {
   try {
      Object foo = new Object();
      foo.doSomething();
   } catch (Exception e) {
      // whatever
   }
   while (true) { // do stuff } // loop forever
}

In this example, the object foo falls out of scope when the try block finishes. It might seem that the foo temporary reference variable would be pulled off the stack at this point and the associated object would become unreachable. After all, once the try block finishes, there is no syntax defined that would allow the program to access the object again. However, an efficient implementation of the JVM is unlikely to zero the reference when it goes out of scope. The object referenced by foo continues to be strongly referenced, at least until the run method returns. In this case, that might not happen for a long time. Because invisible objects can't be collected, this is a possible cause of memory leaks. If you run into this situation, you might have to explicitly null your references to enable garbage collection.

Note: This quote is from 2000 :-)
In plain words: a Picasso thread was holding on to a Message instance as a local variable on the stack. That Message had a reference to a DialogInterface.OnClickListener , which itself referenced a destroyed Activity . Local variables are usually short lived since they only exist on the stack.
1 comment on original post
4
2
Ali Muzaffar's profile photoAntoine Merle's profile photoAlexandre Possebom's profile photoRussell Wheeler's profile photo
2 comments
 
I would say because you do not want your listener to be called after the onstop/ondestroy. So it's nice to be able to 'cancel' it earlier. Moreover, your listener doesn't have to be an Activity. 
Add a comment...

Antoine Merle

Shared publicly  - 
 
 
greenDAO 2.0 is available: The probably fastest ORM for Android just got new powerful features to make working with SQLite databases more fun.
greenDAO 2.0 brings new powerful features to meet the growing demands of today's apps. Most notable are: Joins: Make your query traverse multiple tables; Custom types: A clean solution to support enums and any object inside entities; Join entities: Define to-many relations using a join entity ...
View original post
1
Add a comment...

Antoine Merle

Shared publicly  - 
 
 
Android Studio 1.3 is ready to download in the stable channel!

Our biggest feature release for the year so far, it includes a new memory profiler, improved testing support, and full editing and debugging support for C++.

#AndroidDev
38 comments on original post
3
Add a comment...

Antoine Merle

Shared publicly  - 
 
 
Introducing SQLScout: a plugin for Android Studio and IntelliJ IDEA that provides support for SQLite, including:

✓ Ability to connect to SQLite databases in Android devices or the file system
✓ Database schema explorer
✓ SQL editor (syntax highlighting, code completion, reference navigation, refactoring, etc.)
✓ Data console to view query results, edit table data, and export contents to different formats
✓ Database diagrams!

For more details (including demos and beta access) please visit http://www.idescout.com

#AndroidStudio   #sqlite   #androiddev  
20 comments on original post
4
1
Android Resources's profile photo
Add a comment...

Antoine Merle

Shared publicly  - 
7
2
Julien Banse's profile photoChandrasekhar Allam's profile photo
Add a comment...

Antoine Merle

Shared publicly  - 
 
An open source project is by definition public. As with every public projects, you have to be prepared that your work can bee criticized/trolled. This is actually thanks to these comments that you can improve your work, and yourself. 
So do not take these comments personally, an open source project is always a good thing.
15
1
Trisha Agarwal's profile photoAdnan Begovic's profile photo
 
indeed
Add a comment...
Antoine's Collections
People
Have him in circles
1,175 people
GDG Paris Android User Group's profile photo
Catalin Morosan's profile photo
Wei Xie's profile photo
Cesarin Qinman's profile photo
David González's profile photo
Android Al dia's profile photo
Tuấn Nguyễn's profile photo
Christoffer Hirsimaa's profile photo
khaled bakhtiari's profile photo
Collections Antoine is following
Education
  • ISIMA
    Informatique, 2009 - 2012
  • University Of Limoges
    Informatique, 2007 - 2009
Story
Tagline
French guy writing stuff.
Work
Occupation
Android Developer
Employment
  • Deezer
    Android Developer, 2015 - present
  • Goomeo
    Android Developer, 2012 - 2015
Basic Information
Gender
Male
Other names
Castorflex
Public - 3 weeks ago
reviewed 3 weeks ago
Food: ExcellentDecor: Very GoodService: Excellent
Public - 2 years ago
reviewed 2 years ago
5 reviews
Map
Map
Map
Prix élevés
Public - 2 years ago
reviewed 2 years ago