UZLGastennetLogin v0.6.3 stable release

After over 2 years of “testing” version 0.6.3 of the UZLGastennetLogin android app has been promoted from the beta channel to the stable channel. Important changes since the previous stable 0.4.2 include a widget indicating login state and notifications for login errors etc.

Since Google Play now supports beta APKs, the beta app itself will be removed from the market In the near future and a beta channel will be added to the stable app instead.
If you’d like to join the beta, surf to beta access. Currently only IT staff at UZ Leuven is given access. If you’d like access too, please join thisΒ G+ community.

Changelog

v0.6.3 / 12th September 2011
============================
+ optionally check internet access periodically, configurable interval
* restore last login time at activity resume
+ log last check timestamp

v0.6.2 / 30th August 2011
=========================
* widget: attempt at fixing click listener not working anymore after extended usage
* moved checkoutside worker to service
+ pref: automatically check internet access after each login
+ added extra app states communicating internet access check status
+ added notification when proxy problem occurs
* activity: properly preserve gui state when rotating device

v0.6.1 / 12th August 2011
=========================
* fc on startup: fixed bug in retrieving notification level when no setting is present yet
+ translation update

v0.6.0 / 11th August 2011
=========================
+ notifications, configurable through 4 levels
+ configurable notification sound
* automatic login retry on login/pwd change
* avoid multiple instances of activity
– disabled install to sd to prevent widget trouble

v0.5.1 / 1st August 2011
========================
* widget: attempt at better distinguishable init icon

v0.5.0 / 31th July 2011
=======================
+ widget: shows login state, click on widget to open activity
+ activity: show last login time and ip
* service: correctly parse json response to allow proper logout
* service: moved logout action into service
* service: use AndroidHttpClient instead of HttpClient to avoid IllegalStateExceptions
* service: don’t attempt login on portal error
+ activity: initial localisation support

UZLGastennetLogin v0.5.0beta

Main feature in this release is the widget! It reflects current login state and clicking on it opens the activity.. I also switched to using the AndroidHttpClient explicitly to allow proper resource cleanup although I’m not sure that won’t give any problems for pre-Froyo platform users..

Changelog
+ widget: shows login state, click on widget to open activity
+ activity: show last login time and ip
* service: correctly parse json response to allow proper logout
* service: moved logout action into service
* service: use AndroidHttpClient instead of HttpClient to avoid IllegalStateExceptions
* service: don’t attempt login on portal error
+ activity: initial localisation support

Project announcement: UZLGastennetLogin

One month ago, I bought an android smartphone and a few days later my first app was born: UZLGastennetLogin! =)

Note: This app is only useful to people working at or visiting the University Hospitals Leuven.

At UZLeuven we have a separate network to provide internet access to alien/untrusted devices: patient, visitor or external company laptops, tablets, smartphones etc. You need a personal access code to access this network though. When you are not logged in, any website you try to access, redirects you to a login portal.

There are 2 problems using this network on a smartphone:

  • Not all smartphone browsers can display the login page properly, so it is impossible to access the internet.
  • Every time you turn off your wifi (to save battery) or loose signal (very likely in an elevator), you have to relogin, which is quite time-consuming.

This is where the app will come in handy:

  • Detect network changes (without polling)
  • When UZLeuven guest network is detected, check whether we are logged in, if not login in the background using preconfigured credentials.
  • Indicate current state through a widget.

The first version of the app allows only manual login, but it already saves you from using the webinterface and re-entering your credentials over and over again. Today, I published it on the market.

Available in Android Market

Mouse locating kwin effects

Ever felt lost on your desktop? Or more precisely: unable to find your mouse pointer within a (few) second(s)? I know I have, and nowadays on 2 monitors or more (or a huge 48″ tv), this isn’t an exception.

In KDE, we always had the track mouse effect which draws circling yellow stars around your pointer. Unfortunately, this is not adequate anymore. That’s why I thought it would be fun to write my own effect which would do a better job. The key to success seems to me that it should be a full screen effect drawing the attention to the right spot no matter where at the screen you’re looking.

For now, I’ve devised 3 effects:

  1. Looney tunes zoom: fancy term for describing an effect which darkens the background and zooms in on the cursor with a spotlight. I somehow associated that with intro or outro from looney tunes, not sure if that makes sense. :p
  2. Sunray: animates some kind of rays around the mouse position.
    kwin sunray mouse locate effect
  3. Radial texture animation: least fancy name, as it is so generic. πŸ™‚ It just animates a texture from outer to inner. The concrete application is to show arrows pointing to the mouse.
    kwin arrow mouse locate effect

For the last 2 effects, I don’t have screencasts yet, don’t ask, I’ve been through hell to create the first one. Also, for the last one, I have to fix the texture uv map generation, or use a better mesh (or maybe a different technique πŸ™‚ ).

Project announcement: KonnectionMonitor

A few years ago, back in 2007 when I started using Linux as my primary operating system, I had a few itches to scratch because I missed my handy windows utility programs I’d become grown to. One of those utilities was TCPView which monitors incoming and outgoing TCP connections.
Hence, a new project was born: KonnectionMonitor. It’s goal was to mimic the TCPView utility on Linux/KDE.

Learning the /proc filesystem, I was amazed how easy it was to write such program. I’m not sure if it is the ideal way, but it works. Packaging seemed less easy though. πŸ™‚ Nowadays we have a fully fledged opensuse build service and kde-apps.org integrating with it which makes publishing your soft a lot easier. I already gained some experience packaging VocTrainer and Telemeter Plasmoid, so it was only a matter of finding time to package this oldy. It’s baptized with the kind of cheesy name KonnectionMonitor which suggests it is built for KDE, but currently there is no KDE dependency present, so feel free to use it bloatingly-free in other desktop environments. πŸ™‚

One remark: if you know TCPView, you will currently miss the close connection command in KonnectionMonitor. I’ve looked into ways on how to implement this on linux and there is no obvious way to do that (there is no api function). The only solution coming close to that, is sniffing the network and sending a RST (reset) packet (which in turn involves some other low level network tricks to be able to send a valid packet to the right host). I’ve already started experimenting with libpcap. It should be doable, stay tuned.

For now, we have version 0.1 which can be downloaded from kde-apps.org. The source is on gitorious.

KonnectionMonitor v0.1