bmw
Silly BMW Mobile App
The other day I've updated the firmware for my BMW and I was browsing the charging history. I've noticed that the month of February has... 30 days :) Not a biggie, just an UX bug. You can see it in the "March" view: You can
bmw
The other day I've updated the firmware for my BMW and I was browsing the charging history. I've noticed that the month of February has... 30 days :) Not a biggie, just an UX bug. You can see it in the "March" view: You can
android
Today I got an error when building the APK: Multiple dex files define L/... My scenario is that of a project with 2 modules: a core and an app. Both modules use a plugin named androiddevmetrics, which generate some code, including a class which has the same signature in both
android
The latest couple of days I've spent in adding the Excellent Material Drawer to one of my applications. In my case, the drawer is shown on the second activity in the workflow. Below, I'll outline my experiments. Preamble First, the requirements are: 1. An android application
android
I wanted to log the data retrieved by OkHttpClient for debugging purposes. After digging for a while, the process seems quite straight-forward now. First, we create the OkHttpClient: OkHttpClient client = new OkHttpClient(); client.setFollowRedirects(false); client.setFollowSslRedirects(false); Then, we add an interceptor: client.interceptors().add((chain) -> { /** Interceptor
android
TL;DR: Put your data files in test/resources and access it with: InputStream inputStream = this.getClass() .getClassLoader() .getResourceAsStream(path); I've got an android application with a module performing data processing (HTML scraping in fact). This part is pure java and all its tests are in the src/
android
TL;DR: * If it's your code, check the version play services (com.google.android.gms:play-services-\*). * If you're using a library, check if the library has a version using play services >= 8.1.0. If not, you'll need to clone and upgrade it
android
TL;DR: Select Nova Settings -> App and widget drawers -> Hide apps (scroll down bit) -> select the apps you want to hide. I've noticed that my app drawer started to get cluttered with stuff I'm not really using (like the Audio
android
TL;DR: Use android.support.v4.app notification mechanism. Steps are: * Create a WearableExtender: NotificationCompat.WearableExtender wearableExtender = new NotificationCompat.WearableExtender() .setHintShowBackgroundOnly(true) .setHintHideIcon(true) .setContentIcon(R.mipmap.ic_launcher); * Extend the notification mechanism: NotificationCompat.Builder mBuilder = new NotificationCompat.Builder(this) .setContentTitle(titl
android
TL;DR: Remember to give the font loader the list of characters to render from the font! I'm trying to get a more resolution-independent mechanism to load simple shapes in place. After investigating SVG loading for several days I got nowhere. Then, I found out that libGDX actually
amazon
TL;DR: Use (adapt) the script below to automatically generate the Amazon Underground application launcher icons. I was toying with the idea to build an Amazon Underground version of one of my applications. According to their rules, you need to: * Repackage your app * Name custom permissions (Lollipop) * Apply Amazon Underground
android
While working to get a theme for my new app Epso View (Play and Amazon), I've identified two types of websites: * Inspiration (like dribbble or materialup) * Combinations (like colourlovers or materialui) You can use the inspiration sites to get inspired; what colours work together, would your app look
android
Today I got a OnePlus Two without an invite, from one of the many crazy providers with European warehouses. Woo-hoo. Unfortunately, recent reports state they come with malware. Since this phone will not be used by me, I'll clean it up. Here are the steps I took: Preliminary