You may remember the little app I wrote to convert images to real 1-bit gifs for use on the AGENT smartwatch (or wherever else you need).
Yesterday @philchuang requested that I add a threshold to the app to select how colors translate to black/white, along with a live preview. It’s a pretty good idea so I’ve just added that in.
There is now a new section which has a slider at the top that allows you to select the threshold. As you slide the preview image changes. I’ve only tested on my laptop, but perf shouldn’t be a problem.
Here are a few images to demonstrate (notice the slider at the top):
Download Version 2 EXE (~15KB) (you will need .NET 4 installed)
So far we have just drawn some text to the screen, so in this part we will be drawing images, lines, blocks, and rectangles!
NOTE: I’ve updated this, go here for the latest version.
While writing this series on developing for the AGENT smartwatch I hit a problem. To convert images to 1bit for use on the watch, I use Photohop, but not everyone has access to that. There are however free alternatives like Paint.NET and GIMP, but it looks like Paint.NET cannot save true 1bit images (at least without a plugin), and I almost stabbed my eyes out with a blunt butter knife when I opened GIMP.
Welcome to Part 2! In this part we will go over everything there is to know about using text in an AGENT smartwatch app (or watchface), including using custom fonts.
Welcome to the first part of my series on developing apps and watchfaces for the AGENT smartwatch! Each part will cover a specific function, and will be relatively short. The target group is both people who have not coded before, and people that have coded, but not for the AGENT.
One of the first things I tried on the AGENT was porting over the snake game I made for Netduino. Because the Netduino and AGENT both run .NET Micro Framework, pretty much all the code just worked.
If you haven’t heard about the AGENT smartwatch then you have managed to find a rather large rock to hide under. Go ahead and check it out here: http://agentwatches.com/ (spoiler: it’s awesome).
The wife and I just took a week off in the mountains for our anniversary and I discovered that I am terrible at not working, and barely had internet (roaming on EDGE). So I played around with the AGENT SDK a bit. It is simple enough to use without having any docs or guides – which is rather useful.
Anyway, below is the first watch-face that I have made. It’s inspired from the Windows Phone flipping start screen tiles. The SecretLabs team haven’t mentioned much about battery usage – so there isn’t really any way to tell how much the animations will effect the battery. Personally I am fine with getting a prettier watch at the cost of a few days battery, but I may provide a setting to disable the seconds which will just have the minutes and hours flipping.
(Ignore the GIF artifacts)
The top bar stretched across the screen from the left is to indicate the current battery life. Once it is below a certain percent the text will start showing which is an estimate of how much is left. Notifications could be overlayed at the top too (once we have more guidance on that).
Let me know what you think!