[maemo-developers] Alternative input method

2006-12-22 Thread Ilya Schurov

Hi list,

I would like to implement Quikwriting [1] input method for Maemo 
platform as an addition to existing virtual keyboard and handwriting 
recognition. As far as I understand, Maemo uses generic GTK+ IM API, but 
I can't find any documentation or examples for this API neither on 
http://gtk.org/ nor on http://maemo.org/. Actually, I'm not very skilled 
programmer, but I'd like to try -- so any help (e.g. links to docs) will 
be appreciated.


[1] http://mrl.nyu.edu/projects/quikwriting/

--
With best regards,
Ilya V. Schurov.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Alternative input method

2006-12-22 Thread Daniel Stone
On Fri, Dec 22, 2006 at 12:15:31PM +0300, ext Ilya Schurov wrote:
> I would like to implement Quikwriting [1] input method for Maemo 
> platform as an addition to existing virtual keyboard and handwriting 
> recognition. As far as I understand, Maemo uses generic GTK+ IM API, but 
> I can't find any documentation or examples for this API neither on 
> http://gtk.org/ nor on http://maemo.org/. Actually, I'm not very skilled 
> programmer, but I'd like to try -- so any help (e.g. links to docs) will 
> be appreciated.

>From Planet GNOME just yesterday:
http://www.murrayc.com/blog/permalink/2006/12/21/creating-gtk-input-methods/

Cheers,
Daniel
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Alternative input method

2006-12-22 Thread Ilya Schurov

Thanks, Daniel!

I'll investigate it soon.

It looks that I also need to access "input field" (which pops up on text 
input field clicking) where virtual keyboard/handwriting is located to 
draw quikwriting layout there. Is there any maemo docs on this thing?


--
With best regards,
Ilya V. Schurov.


On Fri, Dec 22, 2006 at 12:15:31PM +0300, ext Ilya Schurov wrote:
I would like to implement Quikwriting [1] input method for Maemo 
platform as an addition to existing virtual keyboard and handwriting 
recognition. As far as I understand, Maemo uses generic GTK+ IM API, but 
I can't find any documentation or examples for this API neither on 
http://gtk.org/ nor on http://maemo.org/. Actually, I'm not very skilled 
programmer, but I'd like to try -- so any help (e.g. links to docs) will 
be appreciated.



From Planet GNOME just yesterday:

http://www.murrayc.com/blog/permalink/2006/12/21/creating-gtk-input-methods/

Cheers,
Daniel



___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Alternative input method

2006-12-22 Thread Ilya Schurov

Ilya Schurov wrote:

It looks that I also need to access "input field" (which pops up on text 
input field clicking) where virtual keyboard/handwriting is located to 
draw quikwriting layout there. Is there any maemo docs on this thing?


I've googled a little bit and found some old threads in the list, but no 
one of them answered my question:


http://maemo.org/pipermail/maemo-developers/2005-June/000493.html

http://maemo.org/pipermail/maemo-users/2005-December/000266.html

http://maemo.org/pipermail/maemo-developers/2006-March/003123.html

It seems that the code which drives popping-up window (with 
"cut/copy/paste/input method/language/tools" menu,  &  keys 
and so on) is closed and nobody knows how to hack it and replace with 
custom one.


Is that true?

If yes, is there any way to implement similar behavior with custom input 
method (i.e. resize "main window" and get create canvas where IM code 
can draw something)?


--
With best regards,
Ilya V. Schurov
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Alternative input method

2006-12-22 Thread Mohammad Anwari
Pada hari Jumat, tanggal 22/12/2006 pukul 16:25 +0300, ext Ilya Schurov
menulis:
> It seems that the code which drives popping-up window (with 
> "cut/copy/paste/input method/language/tools" menu,  &  keys 
> and so on) is closed and nobody knows how to hack it and replace with 
> custom one.

Hi,

Someone has written this:
http://www.inference.phy.cam.ac.uk/pjc51/hildon_im.txt

Hope that helps.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Alternative input method

2006-12-22 Thread Brian Waite
On Friday 22 December 2006 04:15, Ilya Schurov wrote:
> Hi list,
>
> I would like to implement Quikwriting [1] input method for Maemo
> platform as an addition to existing virtual keyboard and handwriting
> recognition. As far as I understand, Maemo uses generic GTK+ IM API, but
> I can't find any documentation or examples for this API neither on
> http://gtk.org/ nor on http://maemo.org/. Actually, I'm not very skilled
> programmer, but I'd like to try -- so any help (e.g. links to docs) will
> be appreciated.
>
> [1] http://mrl.nyu.edu/projects/quikwriting/
You might want to look at these sources: 
http://agtoys.sourceforge.net/aqw/aqw-0.1.tgz

It is a quickwriting vairant for the old Agenda PDA. Most of the display 
stuff/linux interface will change but it might goive you some ideas. Or you 
can look at : http://qwikscript.sourceforge.net/ for a version running on the 
Zaurus

Thanks
Brian
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Alternative input method

2006-12-22 Thread Ilya Schurov

Mohammad Anwari wrote:

Pada hari Jumat, tanggal 22/12/2006 pukul 16:25 +0300, ext Ilya Schurov
menulis:
It seems that the code which drives popping-up window (with 
"cut/copy/paste/input method/language/tools" menu,  &  keys 
and so on) is closed and nobody knows how to hack it and replace with 
custom one.

Someone has written this:
http://www.inference.phy.cam.ac.uk/pjc51/hildon_im.txt
Hope that helps.

Thanks, Mohammed!

Looks relevant.


Brian Waite wrote:
You might want to look at these sources: 
http://agtoys.sourceforge.net/aqw/aqw-0.1.tgz
It is a quickwriting vairant for the old Agenda PDA. Most of the display 
stuff/linux interface will change but it might goive you some ideas. Or you 
can look at : http://qwikscript.sourceforge.net/ for a version running on the 

Thanks, Brian! I'll have a look at them.

--
Regards,
I.V.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Unable to create virtual memory

2006-12-22 Thread Tuukka Tolvanen

ext [EMAIL PROTECTED] wrote:


https://maemo.org/bugzilla/enter_bug.cgi?product=haf
 
component general, assign it to me or at least notify me of the bug 
number ;)


fwiw, ffr, 
https://maemo.org/bugzilla/enter_bug.cgi?product=haf&assigned_to=hello&cc=world&component=general


't.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] How to play a WAV from command line in 770?

2006-12-22 Thread koos vriezen

2006/12/22, VLG <[EMAIL PROTECTED]>:

Terence,

have you tried hildon_play_system_sound() ?

-Vlad

On Thu, 2006-12-14 at 19:39 -0500, [EMAIL PROTECTED] wrote:

[..]

> Question 2: Is there any other way to play a .WAV file from
> the Nokia 770 command line?


This also works:
run-standalone.sh dbus-send --dest=com.nokia.osso_media_server
--print-reply /com/nokia/osso_media_server
com.nokia.osso_media_server.music.play_media
string:file:///home/user/MyDocs/.sounds/Take_Me_Down.mp3

You will of course need to monitor dbus signals if you want eof notifications.

Koos
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


[maemo-developers] memory in leak in the python bindung of dbus

2006-12-22 Thread Fabio Forno

Hi,
when I run the following program on the 770 (latest os release and
python mistral packages) the allocated memory continues encreasing at
a constant rate, util the process dies. I think there are only two
options: a memory leak of the python bindings for dbus or a
programming error ;)

import dbus
import dbus.decorators
import dbus.glib
from dbus.types import *


import gobject
bus = dbus.SystemBus()

icd_obj = bus.get_object("com.nokia.icd", "/com/nokia/icd")
icd = dbus.Interface(icd_obj, "com.nokia.icd")

def got_reply(*args):
   icd.get_statistics(
   reply_handler = got_reply,
   error_handler = got_reply
   )

got_reply()

mainloop = gobject.MainLoop()
mainloop.run()


--
Fabio Forno, PhD
Istituto Superiore Mario Boella
Jabber ID: xmpp:[EMAIL PROTECTED]
** Try Jabber http://www.jabber.org
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Alternative input method

2006-12-22 Thread Tim Teulings
Hello!

> draw quikwriting layout there. Is there any maemo docs on this thing?

I few days ago I send a mail to the list in the tread "Non-gtk
application integration" that described a solution for non-gtk
application to open (and close) the text input window and to receive
virtual keyboard input. Please take a look at the archive...

Communication between Application and and Virtual Keyboard uses X11
client messages. Looks like you have to emulate this.

I got the information by using a special server proxy (xmon) that was
placed between the client and the real (xephyr) server and that dumped
all client messages between the given applications. I then had to
analyse the raw protocol data trying by trying to find character codes
and atom ids... Analysis was done using the desktop emulation.

-- 
Gruß...
   Tim.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Alternative input method

2006-12-22 Thread Ilya Schurov

Tim Teulings wrote:


I few days ago I send a mail to the list in the tread "Non-gtk
application integration" that described a solution for non-gtk
application to open (and close) the text input window and to receive
virtual keyboard input. Please take a look at the archive...

Communication between Application and and Virtual Keyboard uses X11
client messages. Looks like you have to emulate this.

I got the information by using a special server proxy (xmon) that was
placed between the client and the real (xephyr) server and that dumped
all client messages between the given applications. I then had to
analyse the raw protocol data trying by trying to find character codes
and atom ids... Analysis was done using the desktop emulation.


Yes, thank you! It seems that part of this reverse-engineering work is 
already done by Phil Cowans (see [1]), so I feel I have enough info 
about this API to implement alpha-version.


[1] http://www.inference.phy.cam.ac.uk/pjc51/hildon_im.txt

Unfortunately, scratchbox-0.9 doesn't work under 64bit system (i'm AMD64 
Gentoo user) and according to maemo.org, Maemo doesn't work with 
scratchbox-1.0 (which is available under x86_64 [2]), so I'll try to 
install some 32-bit Debian to begin development.


[2] http://www.rahkonen.org/projects.html

--
With best regards,
Ilya V. Schurov.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Alternative input method

2006-12-22 Thread Mikhail Sobolev
On Fri, Dec 22, 2006 at 07:40:05PM +0300, Ilya Schurov wrote:
> Unfortunately, scratchbox-0.9 doesn't work under 64bit system (i'm AMD64 
> Gentoo user) and according to maemo.org, Maemo doesn't work with 
> scratchbox-1.0 (which is available under x86_64 [2]), so I'll try to 
> install some 32-bit Debian to begin development.
The latest version of Scratchbox (Apophis r{4,5}) should support maemo quite
well. I'm not sure though whether SB 1.0 works on 64 bit systems.

--
Misha


signature.asc
Description: Digital signature
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


RE: [maemo-developers] Alternative input method

2006-12-22 Thread Carlos.Guerreiro
> On Fri, Dec 22, 2006 at 07:40:05PM +0300, Ilya Schurov wrote:
> > Unfortunately, scratchbox-0.9 doesn't work under 64bit 
> system (i'm AMD64 
> > Gentoo user) and according to maemo.org, Maemo doesn't work with 
> > scratchbox-1.0 (which is available under x86_64 [2]), so 
> I'll try to 
> > install some 32-bit Debian to begin development.
> The latest version of Scratchbox (Apophis r{4,5}) should 
> support maemo quite

Yup. Sardine and Herring are built with Apophis r(4,5) and so will
be the whole Maemo 3.0 Bora release.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Alternative input method

2006-12-22 Thread Dave Cridland

On Fri Dec 22 16:40:05 2006, Ilya Schurov wrote:
Unfortunately, scratchbox-0.9 doesn't work under 64bit system (i'm 
AMD64 Gentoo user)


Yes it does, I run AMD64 Ubuntu, and it works fine here, running as a 
32-bit app, installed straight from tarballs.


Dave.
--
Dave Cridland - mailto:[EMAIL PROTECTED] - xmpp:[EMAIL PROTECTED]
 - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
 - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers