Skip to content

Posts...

Page 28 of 42

Make Spotify Web Player Work Behind Proxy

January 26, 2015Category: IT
Apparently, productivity increases when you listen to (the right type of) music. So, my medicine these days is Spotify. To make your proxy woes go away, try to use https://play.spotify.com/?http=1 . If that doesn't work, you're out of luck.

List Alarms in Android

January 21, 2015Category: Software
The other day I thought it would be a good idea to list set alarms in android, so I whipped up the following code: Its idea is that we iterate through the alarm clocks set by the AlarmManager. This works quite OK, but it doesn't show periodic alarms :(, so it's of no immediate use to me. Therefore…

Boot in Recovery Mode on LG G2

January 17, 2015Category: IT
To boot in recovery mode on a LG G2, you need to do the following steps: Power off your phone. Don't just restart, but perform a normal power off Wait for a few seconds Press <Volume Down> and <Power> buttons simultaneously until the LG logo is shown Press <Volume Down> and <Power> buttons…

House: Checklist

January 15, 2015Category: House
Here I'll build a checklist of things you need to do when building a house. Preliminaries There are some things which are generic, independent on the land or the end product: Make sure you want to build . I cannot stress this enough. While there are a lot of advantages (from tax to having your own…

Decoupled Analytics

January 8, 2015Category: Software
While writing my first app, I've decided to try some analytics services. The most obvious one is, of course, Google Analytics (well, it's an android app after all!). Then, I found out that other services can provide analytics too, like Mixpanel . Unfortunately, most code I found online advocates…

Add a Toolbar to a PreferenceActivity

January 6, 2015Category: Software
When trying to move a playground to Material Design , I stumbled upon the new Toolbar widget, which is supposed to replace the ActionBar (well, that's my understanding from all the posts I've read). Thing is, the Toolbar is designed to be added to an Activity . To do that, the Activity class…

Happy New Year!

December 31, 2014Category: Random
To all readers, Happy New Year and may the new year bing you everything you want! :)

Brand Colors

December 19, 2014Category: Software
A while ago I've found a list of common brands' colors. Here it is:   #121212     Squarespace     #464646     WordPress (grey)     #9c0000     Readability     #c4302b     YouTube     #c41200     Yelp     #cc0000     Red Hat     #cc0000     Staples     #cc0000     Virgin Media     #d7584f…

Make Dialogs Obey Your Material Theme

December 18, 2014Category: Software
Material design is nice. Flat, with well determined contrast rules... and most applications I've seen look excellent. I wanted my application to loon nice too and it does (well, almost right now :) ). One thing that is not in line is the dialog style. If you're here, you know that if you only set up…

Launch a timed service - Strategies

December 17, 2014Category: Software
An app I am writing at the moment needs to have a periodic timer, i.e. a way to run a bit of code at regular intervals. After digging through different sources, I've found two recommended patterns to code such behaviour: Using a periodic alarm: Android has the concept of periodic alarms (think an…
PreviousNext

All tags