Planet maemo: category "feed:0cec9bc8adfcea0d21344f7faf8eb24b"

Mohammed Hassan

A short introduction about N9 camera stack:
Camera stack for N9 is built on top of V4L2 subdev and media controller interfaces.

read more

Categories: Coding and hacking
Mohammed Hassan

If you are using PR 1.1 then you can simply enable zoom during video recording.

Just create a file /etc/camera.conf and add the following lines:

[debug]
recording-zoom = true

restart camera, enjoy and send postcards to the Harmattan camera team :)

I hope someone will create an Ovi store app for that ;)

read more

Categories: Coding and hacking
Mohammed Hassan

If you care about the readability more than you care about the eye candy then that's for you ;-)

1) You need to enable developer mode and ssh to the N9.

2) # mkdir -p /usr/share/themes/blanco/meegotouch/libmessagingwidgets0/style/

3) # vi /usr/share/themes/blanco/meegotouch/libmessagingwidgets0/style/libmessagingwidgets0.css

4) Insert the following lines:

BubbleItem MLabelStyle#BubbleItemMessageIncoming {
font: $FONT_FAMILY 32px;
}

BubbleItem MLabelStyle#BubbleItemMessageOutgoing {
font: $FONT_FAMILY 32px;
}

BubbleItem MLabelStyle#BubbleTimeStampLabelOutgoing {
font: $FONT_FAMILY light 32px;
}

BubbleItem MLabelStyle#BubbleTimeStampLabelIncoming {
font: $FONT_FAMILY light 32px;
}

5) # su - user
6) $ killall -KILL messaging-ui
7) Enjoy :-)

read more

Categories: Coding and hacking
Mohammed Hassan

Twitter OAuth Proxy

2010-09-14 20:55 UTC  by  Mohammed Hassan
0
0

I'm using Twitter plugin for Contacts and Conversations to twitter on my N900.

Twitter recently moved to OAuth. Problem is the Maemo package is outdated and seems to be unmaintained.

I did some research and came across a blog entry about exploring OAuth-protected APIs and some code. Nice idea but not usable for me.

I ended up sitting down and writing a small python script that will re-route your HTTP requests to api.twitter.com after adding all the OAuth bills and whistles, read the reply from twitter and send it back. Neat ? :-)

There's also supertweet.net which I've discovered after I finished writing my script but seems they don't support all of the twitter API call while my script does that.

The script is simple without much error checking but it's been working for me for a few days already.

Last thing, I'm not interested in running a service like supertweet. I'll not be implementing the full OAuth protocol. Need to use it ? Register your own application.

Get the code while hot!

git clone git@gitorious.org:twitter-proxy/twitter-proxy.git

Next step: Thinking of maintaining the twitter plugin for Maemo. I already compiled the latest code and it sort of works fine :-)

read more

Categories: Coding and hacking
Mohammed Hassan

ISI specifications for Nokia modems.

2010-04-25 21:48 UTC  by  Mohammed Hassan
0
0

A serious limitation of the N900 connectivity subsystem IMHO is the inability to create multiple connections. One can only have one connection at a time.

read more

Categories: Coding and hacking
Mohammed Hassan

The gitorious repository now contains a broken mms-manager, a non functional mms-ui (because I changed the DBus interface ;-)), a preliminary mms viewer and a broken network connection manager. How pretty is that ? ;-)

I've been redesigning the DBus interfaces and I think I reached something. The UI can be easily adapted after that.

However, I'll be on vacation until the end of February. I can't work on mms until I'm back.

I'll try to commit and push the code I have on my laptop but the stuff will still be broken.

This is just a quick status.

Good wishes for the newly married couple ;-)

read more

Categories: Coding and hacking
Mohammed Hassan

mms-support progress

2010-01-09 16:42 UTC  by  Mohammed Hassan
0
0

Hi again!

I'm still working on the MMS support for fremantle.

read more

Categories: Coding and hacking
Mohammed Hassan

mkmms available.

2010-01-04 01:29 UTC  by  Mohammed Hassan
0
0

As promised yesterday, I'll start cleaning up my code a bit preparing to post it here.

read more

Categories: Coding and hacking
Mohammed Hassan

Not First MMS sent via N900 (Fremantle)

2010-01-03 04:27 UTC  by  Mohammed Hassan
0
0

I've spent the past few days trying to get MMS to work on the N900.

EDIT: Seems frals has managed to beat me!

read more

Categories: Coding and hacking
Mohammed Hassan

Corporates are evil.

2009-08-29 09:33 UTC  by  Mohammed Hassan
0
0

After the N900 has been announced. I was saying this to a friend of mine:

[Me] so
[Me] remember our discussion about a Linux powered phone ? ;)
[Me] sorry I convinced you that Linux on phones is a no while I knew we were doing it :)

read more

Categories: Coding and hacking
Mohammed Hassan

Yup, thanks to Matan Ziv-Av who did a few improvements and fixes and uploaded him-arabic to maemo extras.

The good part is the addition of the Hebrew keymap (And a few other things).

read more

Categories: Coding and hacking
Mohammed Hassan

Arabic Hildon Input Method

2007-12-11 11:53 UTC  by  Mohammed Hassan
0
0
image/png iconhim-arabic.png

HIM Arabic plugin is on its way.

The code is available from my svn repository

svn co http://home.foolab.org/svn/projects/him-arabic/trunk/ him-arabic

* The code is UGLY. A lot of the functionality is still missing.
* No packages yet. I'll create them but my cold doesn't help much :-)
* The above screenshot is for scratchbox not for the actual device. I didn't try yet to run it on the device.
* You will also need an Arabic font. I packaged one here: ftp://foolab.org/pub/apt/pool/arabic/t/ttf-kacst/ttf-arabic-kacstbook_1.6.2+mry-1.0.1_all.deb

I know there's one provided by the browser team. It was me who did the packaging for it but I'll be providing multiple fonts soon so ttf-arabic is now a virtual package.

read more

Categories: Misc.