Weekend Hack: Broadcasting all the tiles

Victor Häggqvist Nov 02, 2015 0

So, some weeks ago I watched a talk from The Big Android BBQ by some guys from CyangogenMod, https://youtu.be/RLpDLIIVpRs. They were talking about how to make Android OS hacking more approachable. Specifically about their Platform SDK. They had a demo of how making custom Quick Settings Tiles was pretty much as easy as publishing a notification.

This sounds easy enough, tough with an exam coming up I did put it on my backlog.

With a post from Android Police this Friday (30/10) it was brought to my mind again. The article mentions Quick Settings Tiles in vanilla Android 6.0 M via the hidden System UI Tuner and an app which have implemented it. Though it fails to mention Kevin Coppock who actually did the work of figuring out how it works, as fas as I can tell it is not the same guy at least. Kevin Coppock has it all explained over here, https://medium.com/@kcoppock/android-m-what-s-that-broadcast-tile-for-d1cd3a477a5f. He did also create a library which simplified the task of creating the broadcast Intent need to activate a custom tile, https://github.com/kcoppock/BroadcastTileSupport.

Anyhow, using the CyangogenMod Platform SDK 2 and BroadcastTileSupport I did over the weekend hack together a app that supports both Android M and CM devices (which goes down to at least Lolipop 5.1.1). I call it Such Quick Tiles and it at the moment only lives on my github at https://github.com/victorhaggqvist/SuchQuickTiles, tough it may see its way to the Play Store too.

The main difference in the implementations is that the CM Platform SDK supports icons via Drawables but no longclick action. While AOSP have longclick but icons only via resource id's.

android CyangogenMod cm quick settings tiles


Victor Häggqvist May 21, 2015

A LED command and control thing with an Android client.

View creation LED IoT Raspberry Pi Android Python

Parsedown v1.0.1

Victor Häggqvist Dec 07, 2014 0

A tiny update of my MODx wrapper for Parsedown. Bumping Parsedown to 1.1.4.

For any changes that actualy matter checkout the Parsedown Changelog.



Victor Häggqvist Nov 01, 2014

A Android app for your sl.se account.

View creation android sl

Todo.txt for Windows Metro mode looking for maintainer

Victor Häggqvist Oct 01, 2014 0

As the developer of the as far as I know only Todo.txt client for Windows Metro mode, http://apps.microsoft.com/windows/en-us/app/todo-txt/31fe09c4-a0e3-4911-b852-8f64bce140f1, I'm now announcing that the app will be taken down in the end of 2014 if not earlier.

This is since the app only provide the most basic feature, to add and check off todos, I rather take it down than not supporting/developing it.

As of today the app has about 400 downloads.

The source of the app is not open today, but if there is a community intressent I will release it under a GPLv2 license.

Are you interested to keep it alive? Then contact me.

Header image creadit Curtis Perry, https://secure.flickr.com/photos/curtisperry/7034494747.

todo.txt windows

Compiling KeePassX from source with Auto-Type enabled

Victor Häggqvist Sep 03, 2014 0

tl;dr Install the libXtest package, which on Debian is libxtst-dev. Wasn't it obvious that test is spelled with no e? Not to me atleast.

This is done on a Debian Jessie (aka Testing) machine.

Following will assume you have managed to get KeePassX compile happy. But then when you go in to settings you can't find where to define the global Auto-Typ key.

You might have noticed that during the cmake run libXtest was listed as a optional dependency. If you didn't happen to have it installed KeePassX will compile with Auto-Type functionality disabled. To be able to compile with Auto-Type support install libxtst-dev like so;

sudo apt-get install libxtst-dev

Then you just run cmake and make again to compile with Auto-Type enabled.

keepassx make Auto-Type


Victor Häggqvist Jul 15, 2014

A temperature monitoring application for Raspberry Pi

View creation raspberry pi sensors monitoring php


Victor Häggqvist Jul 14, 2014 0

Display your latset github commit on your site. Use it to show of what you are up to, or just to publicly shame your self in to writing less shitty commit messages.

This is a rewrite of Johan Nilsson's Last Commit Widget but in vanilla js, since there is really no need for jQuery here.

Get it on github, https://github.com/victorhaggqvist/lastcommit.

git js