Archive for the ‘Text Clock’ Category

TextClock Version 2 – Part 6

Friday, February 7th, 2014

In the previous article I covered the various solutions that I tried to resolve an issue that had developed within TextClock. The time is actually updating anything up to a minute later than it should be, and the problem was caused by internal changes to AlarmManager which were introduced in KitKat. In this article in this we’ll implement the fix.
(more…)

TextClock Version 2 – Part 5

Friday, January 31st, 2014

In the previous article I mentioned an issue that has developed within TextClock – the time is actually updating anything up to a minute later than it should be. In this article in this we’ll investigate what is happening.
(more…)

TextClock Version 2 – Part 2

Friday, January 10th, 2014

In the previous article in this series we began the update of the TextClock app widget, lock screen widget, and daydream by selectively, according to OS version, updating the colours to match the new KitKat theme. In this article we’ll look at adding some animations.
(more…)

TextClock Version 2 – Part 1

Friday, January 3rd, 2014

In January 2013 I published the first article in a series on developing a TextClock app widget, lockscreen widget, and Daydream. At the conclusion of that series it was mentioned that TextClock would be revisited, and in this series we’re going to look at some changes that can be made to add some polish, and also bring it up to date with the latest version of Android (4.4 Kitkat, at the time of writing).
(more…)

Text Clock – Part 8

Friday, March 8th, 2013

Following on from last week’s minor detour, we’ll resume this series by adding another new feature that was introduced in Android 4.2 (Jelly Bean): Daydreams.

A PC-style screensaver is not practical on a mobile device much of the time because on a mobile device you want to power down the display when the device is idle to conserve power. However, from 4.2 onwards Android supports a Daydream which is a screensaver mode which becomes active when the device is connected to an external power source, and typically the Daydream is displayed rather than powering down the display as power is not so much of an issue. This can be useful for having a night mode, or providing custom behaviours when the device is docked. In this article we’ll add a Daydream to our Text Clock app.
(more…)

Text Clock – Part 7

Friday, March 1st, 2013

In the previous articles in this series we’ve been looking at creating an extremely simple app which has been published to Google Play. Since the update covered in the last article (V1.1.0) was published a bug has been discovered in the app. In this article we’ll look at the tools available to developers to enable us to detect bugs, and implement a fix.
(more…)

Text Clock – Part 6

Friday, February 22nd, 2013

In the previous article we fixed some subtle issues with the appearance of our App Widget. Next we’re going to look to extend out App Widget to include some features specific to newer versions of Android while maintaining backward compatibility.
(more…)

Text Clock – Part 5

Friday, February 15th, 2013

In the previous article we got our Text Clock widget telling the correct time, and it was published to Google Play. While the widget functions correctly, there are a couple of things that can be improved. In this article we’ll look at those and address them.
(more…)

Text Clock – Part 4

Friday, February 8th, 2013

In the previous article we got the time displaying on our Text Clock app widget, but the time did not update. In this article we’ll use AlarmManager to get the widget updating periodically.
(more…)

Text Clock – Part 3

Friday, February 1st, 2013

In the previous article we got an app widget background displaying on the home screen, but it does not actually display any real data, which is somewhat useless! In this article we’ll look at displaying the time on our app widget.
(more…)