Planet maemo: category "feed:cad7eebfe26b0aea2dcb1ceb830a3cba"

jonnylamb

Automatic Connections

2010-10-04 12:30 UTC  by  jonnylamb
0
0

My network blocks SIP on 3G, so when I start using its 3G service after leaving a wireless network my N900 goes absolutely crazy about not being to connect. Although this is a specific annoyance I have, it's a general problem with loads of similar cases, such as "I only want my work jabber/skype/MSN/etc. account enabled when I'm at work".

So, I wrote a small daemon and a fun UI to make this easy. It's actually really simple: once you configure which connections accounts should listen for, it uses libconic to listen for connect/disconnect events and enables and disables accounts as appropriate. You should also be able to override its actions temporarily without it clobbering your setting.

Click for full-sized image
A sneaky peek at the UI. See if you can guess where I've been visiting recently.

I think the UI is pretty easy to use, and should cover most use cases.

I just uploaded it to extras-devel. It's called Automatic Connections.

Categories: planet-collabora
jonnylamb

Monorail

2010-01-14 14:44 UTC  by  jonnylamb
0
0

Recently, I've been working on a file transfer app for the N900. It's called monorail and I uploaded it to extras-devel last night, so you can try it out right now.

Click for full-sized image

I implemented an OssoABookContactView with support for filtering on Contact Capabilities (or a draft of it, at least) as old-style caps aren't great. This gives a nice list of address book contacts who have at least one account that should support receiving file transfers. It would be nice if these extra caps could go into the address book which is where they belong, but it won't.

If someone would find this widget useful, I'll clean up the code and maybe throw it in its own library.

Click for full-sized image
Choose one of the accounts which support file transfer.

I also started to implement a sharing plugin, but it turns out it's poorly documented and appears to be impossible to do anything useful for my use-case, like popping up a dialog when the user taps "Share". The example isn't very exemplary, but does contain some amusing code.

This sharing plugin is only half-written and impossible to debug. If anyone has any pointers on writing these plugins, I would appreciate them.

Click for full-sized image

It's a shame that although Hildon widgets can look really good on the device, it can often take some fiddling to make them look consistent with the rest of the UI. Additionally, oddities in some widgets can leave you baffled, or amused.

The most annoying thing I have come across regarding this app is just how little I can get it integrated. The file manager is all hard-coded so there's no way to add a Send to Contact menu item, and no buttons can be added to the libsharing dialog (which appears when the user shares a photo) which is annoying as it looks like it's missing this feature.

Click for full-sized image

Oh, and Telepathy is pretty sweet.

Categories: planet-collabora
jonnylamb

Telepathy on Maemo

2010-01-14 12:30 UTC  by  jonnylamb
0
0

A few weeks ago, I got a cool Christmas present from work. It's pretty sweet, and I've been writing some apps for it. I'll try and blog about them here.

A while ago, I wrote some a number of account plugins for Maemo 5, so that other Telepathy connection managers could be used and well-integrated into the N900's Contacts and Conversations User interface. This enables the following extra protocols:

There are still a few problems which I'll try to iron out soon enough but they appear to be working pretty well. The best thing about it is clearly the integration with the rest of the phone, as demonstrated by Marco in the screenshot above.

The PR1.1 update, which is due today, also opens the door for enabling other protocols dynamically by providing libpurple plugins. I will be adding Facebook Chat support soon, and someone else has made a package for Twitter.

This is in extras-testing for you all to download and try out. You can find all the packages in the "Network" category of the Application manager. The Extra protocol plugins for Conversations and Contacts metapackage (telepathy-extras, in reality) pulls in all the cool account plugins and connection managers of the time. File bugs from the maemo.org package link.

Categories: planet-collabora