Profile

Cover photo
Hugo Visser
Works at Little Robots
1,322 followers|1,122,035 views
AboutPostsPhotosYouTube

Stream

Hugo Visser

Shared publicly  - 
 
Been using Glide in my recent project and this article has some great insights comparing Glide vs Picasso.
 
Deciding which Image Loader Library to use on your android app project? Check this out. My article about Picasso-competitor Glide, an Image Loader Library recommended by Google. =)
In the passed Google Developer Summit Thailand, Google introduced us an Image Loader Library for Android developed by bumptech named Glide as a library that recommended by Google. It has been use
9 comments on original post
32
6
Frank Harper's profile photoKshitij Aggarwal's profile photoEric Korb's profile photoSimon Debaecke's profile photo
3 comments
 
How am I just finding out about this project now? Probably spending more time reporting and blocking spam from the Android Community than reading the posts...
Add a comment...

Hugo Visser

Shared publicly  - 
 
Now with more vectors!
 
Inspired by the great Android app "Pocket Casts" +Alex Lockwood took it on him to recreate the pause/resume media playback button [1]. While his approach is based on a canvas, i was curious how such an effect could be achieved with pure Android drawables.

A few hours later i had the effect implemented with animated VectorDrawables and state transitions. The outcome is very nice and contains some interesting insides for other people trying to work with animated vector drawables. The code can be found at this [2] gist.

Some technical remarks... While the effect looks straight forward, it takes a ton of xml files to implement (15!). The entry point to the code is the file ic_pause_resume.xml [3] which branches out into the concrete animated-vector files.

One thing that is not shown in the gist is how the "selection" property of the ImageView is toggled in normal java code once the user taps on the drawable. Based on this selection property the transition to another drawable is triggered.

I hope you get something out of it. :)

[1] https://plus.google.com/+AlexLockwood/posts/ETPJCXjVUuw
[2] https://gist.github.com/mpost/180bf15676006a50c3f7
[3] https://gist.github.com/mpost/180bf15676006a50c3f7#file-ic_pause_resume-xml
21 comments on original post
10
1
Michael Panzer's profile photoTriet Bui Minh's profile photoHugo Visser's profile photoKurt Mbanje's profile photo
3 comments
 
+Triet Bui Minh Yep, the post from +Moritz Post was based on that :)
Add a comment...
 
 
Learn about our powerful Gradle-based build system in #AndroidStudio  with this new #DevByte from +Wojtek Kaliciński. 
4 comments on original post
4
2
Gabor Orosz's profile photoPietro Alberto Rossi's profile photo
Add a comment...

Hugo Visser

Shared publicly  - 
 
This will cause some bugs in the future, so adjust your codes asap :)
 
Did you know Resources.getDrawable(int) is deprecated in API 22?

Since we added support for drawable theming in API 21, the most reliable way to obtain drawables is now Context.getDrawable(int) or ContextCompat.getDrawable(Context, int) if you're using the support library. You can also use Resources.getDrawable(int, Theme) to obtain a drawable for a specific theme or pass null to explicitly obtain an un-themed drawable.

If you do use the deprecated getDrawable() method to obtain a drawable resource with theme attributes, you will get a partially-styled drawable and a logcat warning. So if your drawables show up flat white or flat black where you're expecting some other color, check logcat and check your lint warnings.
10 comments on original post
29
6
Malachi de Ælfweald's profile photoFrank Harper's profile photo
Add a comment...
 
Another Gradle related post for Android, this time on disabling pre dexing for all Android builds, for example on a CI server.

#androidddev   #gde   #blogpost   #android  
In Android builds, pre dexing helps to speed up the build for incremental builds. On a CI server, where you usually run a clean build, pre dexing is only adding extra time to the build without any added value. There’s already a tip on the Tools site on this, but how do you disable pre dex for all project on your build server?
13
2
Marcin Koziński's profile photoHugo Visser's profile photoJesús Manzano Camino's profile photoAndroid Resources's profile photo
4 comments
 
+Marcin Koziński Only reason for being more explicit in the post. (a || b) would also work of course.
Add a comment...

Hugo Visser

Shared publicly  - 
 
Yesterday I presented on Android BLE API's at mdevcon and made my first live appearance as a #gde  for Android. I've posted the slides of that talk here: https://speakerdeck.com/hugovisser/connecting-the-bean-the-bumpy-road-of-ble-on-android

They probably need some more context, but in that case you should have been there :)
Slides for the presentation given at mdevcon 2015
24
10
Regina Schuller's profile phototeo ramone's profile photoVladimir Bjelakovic's profile photoMax Runia's profile photo
8 comments
 
What about "Require Bluetooth BLE if essential to the app"?
Add a comment...
Have him in circles
1,322 people
Miguel Aragues's profile photo
raul gallart's profile photo
Hai Vo's profile photo
Yauhen Patsel's profile photo
Mark Lantz II's profile photo
Murat Aydin's profile photo
Dain Binder's profile photo
Michael Rainey's profile photo
abdul ghafar's profile photo

Hugo Visser

Shared publicly  - 
 
 
The next edition of Dutch Android Open Space is coming up! Are you free for food and drinks with your Android friends?

This year, we're holding it centrally in Utrecht. Hope to see you there on the 31st!
View original post
3
Add a comment...
 
 
Great post from the G+ Team on different strategies they have developed for Android UI testing.

1. Write many unit tests and integration tests as possible.

2. Hermetic tests are the way to go.

3. Use dependency injection while designing your app. Build your application into small libraries/modules, and test each one in isolation. Inject test doubles and fakes through a different test graph.

4. Componentize your UI tests in self contained small modules. Fast and stable tests have proven to drastically improve developer productivity.
1 comment on original post
5
6
Russell Wheeler's profile photoJashan P J's profile photo
Add a comment...
 
So on the topic of translating your Play Store listing: the promo text is auto translated if you don't localise it yourself, which often leads to funny app descriptions. In this case the translation of "no root requires" yields  "no carrot required" in Dutch. 

Depending on de weirdness of the auto translation it might be worthwhile to add translations to your store listing yourself.

My personal preference would be if the Play Store would either auto translate everything or nothing at all. There's a toggle for translating the main description and it would make sense to only translate the promo text if that option is selected as well.
#gde   #android   #playstore  
16
2
Damian Mee's profile photoBenoît ᑊBoDᑊ Lubek's profile photoGDG Thessaloniki's profile photoMattias Isegran Bergander's profile photo
3 comments
 
So much this. Just had this problem at work with Swedish. "... route tool..." translated to equivalent of "...rotten tool"... 
Add a comment...

Hugo Visser

Shared publicly  - 
 
Okio certainly is in my toolbox! Easy and powerful API, love it.
3
Add a comment...
 
Excellent post from +Ryan Harter, let's hope this will be made easier in the future!
 
A couple of weeks ago I had to do some custom styling of Chromecast icons and found that it wasn't nearly as easy as it should be.  You can read about my solution here.

#gde    #android   #blogpost  
One of my favorite new devices from Google is the Chromecast. I have 3 throughout my house, and one for travel. It’s great to have a cheap …
View original post
1
Add a comment...

Hugo Visser

App Engine  - 
 
As we are nearing the 3 year deprecation date for the Master / Slave datastore on App Engine, what will be its fate once the date passes? Will existing apps that have not migrated to the HRD datastore just quit working? Or will M/S keep running in best-effort mode? Asking for a friend :)
3
Hugo Visser's profile photo
 
OK, so no news here, but today I got my answer in my mail that Google sent out to all marked as an owner of a m/s app. TL;DR as of July 6 m/s apps will stop serving traffic.
Add a comment...
People
Have him in circles
1,322 people
Miguel Aragues's profile photo
raul gallart's profile photo
Hai Vo's profile photo
Yauhen Patsel's profile photo
Mark Lantz II's profile photo
Murat Aydin's profile photo
Dain Binder's profile photo
Michael Rainey's profile photo
abdul ghafar's profile photo
Basic Information
Gender
Male
Story
Tagline
Rocking the bytecodes
Introduction
Passion for Android, developer, made the Rainy Days app, owner at Little Robots, organiser at The Dutch Android User Group, likes to DJ, pretty square otherwise.
Work
Occupation
Android developer by day and night.
Employment
  • Little Robots
    Main Robot, 2014 - present
  • Dutch Android User Group
    Organizer, 2013 - present
  • Qbus
    All things tech, 2010 - 2014