My Profile Photo

Andrea Maglie


Software Engineer, guitar player. Founder of GDG (Google Developer Group) Venice.


  1. Il prezzo del context-switching


  2. Migrate to Android Studio 2.3


  3. Android Auto Fit TextView

    Android framework provides no support for creating a TextView that can fit its content to its size. …


  4. Workshop su Google, Android e IoT


  5. A test rule for setting device locale

    When you run your Android tests (like espresso tests), you may want to be able to force the locale of your device to some specific value at runtime (during test execution). This could be really helpful if you want to test some features of your app against multiple locales. …


  6. Android - Enable app features at compile time

    Sometimes some fetaures of your app must behave differently for different flavors o build type. Think about when you need to enable logging for a specific flavor only, or you have to disable crash reporting for your “dev build”. All this behaviours can be configured at compile time, insted of using many if/else blocks that are evaluated at runtime. …


  7. OutOfMemoryError while compiling Android projects

    Have you ever got a OutOfMemoryError while compiling an Android project, just like this? …


  8. Creiamo un nuovo Google Developer Group!

    E’ da tempo che mi chiedo come mai non esista un Google Developer Group nel Veneto. Basta dare un’occhiata alla directory dei GDG a questo link per vedere che, in Italia, il Nord-Est è abbastanza scoperto. Così, invece di attendere che su quella mappa compaia un nuovo marker più vicino alle mie zone, ho deciso di prendere contatti con Google e attivarmi per creare un GDG nella zona di Venezia-Treviso-Padova. …


  9. A simple splash screen in Android

    Splash screens are not so popular in Android development. But wait: now Google started to put splash screens in its apps??? Take a look at Google Drive app for example. Does it mean that now we have a new standard? …


  10. RxJava: convert a listener into an Observable

    In Java it’s common to work with listeners. And if you work with RxJava, you will prefer to use an Observable instead of listeners. But what if you have to deal with a library and you cannot change the source code? …