maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   A Chinese input method with virtual keypad and hildon input method plugin (https://talk.maemo.org/showthread.php?t=67333)

foolegg 2010-12-23 03:06

A Chinese input method with virtual keypad and hildon input method plugin
 
hi, every buddy :

I writed a Chinese input method ( for touch screen, with virtual keypad ) and a hildon input plugin ( so it is integrted to system, can be use like origin virtual keyboard )

some screenshot,
in message client:
http://bbs.ifanr.com/data/attachment...rh1399l7r7.png
click input area to active inputpad ( like system virtual keyboard, and it will rotate screen auto ) :
http://bbs.ifanr.com/data/attachment...i71og93559.png
when input finish, click blank area above inputpad to close it, and commit the text to message client :
http://bbs.ifanr.com/data/attachment...dcffkdf8zc.png
and it has some sub keypad to input english or japanese :
http://bbs.ifanr.com/data/attachment...9h31eogae4.png

source code on github :
https://github.com/foolegg/maemo-chinese-input-pad

It can be use with gtk and qt, but still has some problem in microB browser ( sometime lose commited text )

couldvbb 2010-12-23 03:40

Re: A Chinese input method with virtual keypad and hildon input method plugin
 
請問中文方面是拼音還是注音都有,有可供測試載點嗎
感謝你的貢獻

viewstar 2010-12-23 06:05

Re: A Chinese input method with virtual keypad and hildon input method plugin
 
如果支持scim的码表就完美了

injunear 2010-12-23 06:36

Re: A Chinese input method with virtual keypad and hildon input method plugin
 
can you package this or explain how to install? looks very good

evan 2010-12-23 07:36

Re: A Chinese input method with virtual keypad and hildon input method plugin
 
so, it also has hiragana and katakana. need to investigate further.
looks interesting.

foolegg 2010-12-23 07:36

Re: A Chinese input method with virtual keypad and hildon input method plugin
 
I have plan to package it, but it is mixed program ( include c / python / bash ), it is complex with package. I need more time to learn how to package it.
So I want write a INSTALL to explain how to install :) at this weekend.

colakang 2010-12-23 07:52

Re: A Chinese input method with virtual keypad and hildon input method plugin
 
waiting for your installation guide

manfredshw 2010-12-23 08:37

Re: A Chinese input method with virtual keypad and hildon input method plugin
 
很好很强大~~~~~~~~~~~~~~~~!

looking forward it~my hero~

foolegg 2010-12-25 13:18

Re: A Chinese input method with virtual keypad and hildon input method plugin
 
I add a Makefile, Now you can install with the common *nix method,
at first, you need install some dependency for build hildon-input-method-plugin,
at first, add below repo :
Code:

deb http://repository.maemo.org/ fremantle/sdk free non-free
deb http://repository.maemo.org/ fremantle/tools free non-free

then open x-terminal, and type :
Code:

sudo gainroot
#gain root

apt-get install build-essential
#base develop tools

apt-get install bash
#install bash

apt-get install git-core
#git tool, be used to checkout source code from github

apt-get install libgconf2-dev libdbus-glib-1-dev libhildon-im-ui-dev hildon-input-method-framework-dev  libgtk2.0-dev libosso-dev
#lib file for hildon-input-method plugin

apt-get install sqlite3
#be used to generate dict file

the Inputpad ui is pyqt4 program, so you need python2.5-qt4
:
Code:

apt-get install python2.5-qt4 python2.5-qt4-dbus
then, checkout source code and BUILD it ! ( exit root before do this ) :
Code:

git clone git://github.com/foolegg/maemo-chinese-input-pad.git mcip
#checkout source code

cd mcip
#enter source code directory

make
#build

sudo gainroot
#get root

make install
#install

then, reboot.
If everything is ok, you can use this inputpad like system origin virtual keyboard.

when you need update :

Code:

cd mcip
#enter source code directory

sudo gainroot
#get root

make uninstall
#uninstall old version

exit
#exit root

git pull origin master
#checkout newest source code

make
#build, again

sudo gainroot
#get root

make install
#install, again

reboot.

foolegg 2010-12-25 16:26

Re: A Chinese input method with virtual keypad and hildon input method plugin
 
sorry for previous post, I make a mistake for install method.
I've update the post, plz check it

mercuris 2010-12-25 18:36

Re: A Chinese input method with virtual keypad and hildon input method plugin
 
u have made n900 perfect, nokia will give u an award, i love u

greatmanlxw 2010-12-25 19:16

Re: A Chinese input method with virtual keypad and hildon input method plugin
 
awesome!!!!finally we got virtual keypad to work!!! i love you bro!!!

mercuris 2010-12-25 20:54

Re: A Chinese input method with virtual keypad and hildon input method plugin
 
bro after apt-get install build-essential
get message package build-essential is not available

bingbings 2010-12-25 23:14

Re: A Chinese input method with virtual keypad and hildon input method plugin
 
Screenshots seem much better than Stroke Order ..and integrated to the system!
A deb file will be much easier for everyone to test it.

sony123 2010-12-25 23:40

Re: A Chinese input method with virtual keypad and hildon input method plugin
 
Have a question: does this coexist with stock vkb? Can switch the input method on the fly?

Wikiwide 2010-12-25 23:54

Re: A Chinese input method with virtual keypad and hildon input method plugin
 
Quote:

Originally Posted by sony123 (Post 904301)
Have a question: does this coexist with stock vkb? Can switch the input method on the fly?

If I remember correctly, you can have any number of virtual keyboards installed (this one, portrait-keyboard, handwriting cell input, default) and switch between them by editing one setting in gconf and probably restarting hildon-input-method. No need to restart whole operating system.

Probably you could add icons on home screen to switch to one keyboard or another instead of typing each time in X Terminal.

joppu 2010-12-26 00:05

Re: A Chinese input method with virtual keypad and hildon input method plugin
 
Does this one support typing in romaji and automatically convert it to eg. kana?

foolegg 2010-12-26 00:13

Re: A Chinese input method with virtual keypad and hildon input method plugin
 
Quote:

Originally Posted by mercuris (Post 904224)
bro after apt-get install build-essential
get message package build-essential is not available

add SDK repo, I forget this point, sorry
Code:

deb http://repository.maemo.org/ fremantle/sdk free non-free
deb http://repository.maemo.org/ fremantle/tools free non-free

Quote:

Originally Posted by Wikiwide (Post 904309)
If I remember correctly, you can have any number of virtual keyboards installed (this one, portrait-keyboard, handwriting cell input, default) and switch between them by editing one setting in gconf and probably restarting hildon-input-method. No need to restart whole operating system.

Probably you could add icons on home screen to switch to one keyboard or another instead of typing each time in X Terminal.

yes, for example
Code:

gconftool --type string -s /apps/osso/inputmethod/default-plugins/finger hildon_western_fkb
#switch to default virtual keyboard

kill -9 `ps aux | grep hildon-input-method | grep -v grep | awk '{print $1}'`
#restart hildon-input-method daemon

and

Code:

gconftool --type string -s /apps/osso/inputmethod/default-plugins/finger maemo-chinese-input-pad-plugin
will switch to my inputpad

xiaopaul 2010-12-26 00:38

Re: A Chinese input method with virtual keypad and hildon input method plugin
 
辛苦了,谢谢。希望能尽快看到beta

Joseph9560 2010-12-26 03:27

Re: A Chinese input method with virtual keypad and hildon input method plugin
 
a little guide to add new language(if possible) will be appreciated. I want to add Nepali language in this virtual keyboard.

sony123 2010-12-26 06:23

Re: A Chinese input method with virtual keypad and hildon input method plugin
 
Quote:

Originally Posted by Wikiwide (Post 904309)
If I remember correctly, you can have any number of virtual keyboards installed (this one, portrait-keyboard, handwriting cell input, default) and switch between them by editing one setting in gconf and probably restarting hildon-input-method. No need to restart whole operating system.

Probably you could add icons on home screen to switch to one keyboard or another instead of typing each time in X Terminal.

Thanks guys for the reply. I currently use one button switching of penpower and stock him and was hoping for something more integrated into stock him. Regardless, look forward to seeing the inpuy method package in extra-devel!

turbowei 2010-12-26 07:54

Re: A Chinese input method with virtual keypad and hildon input method plugin
 
感谢!

英雄!

mercuris 2010-12-26 19:37

Re: A Chinese input method with virtual keypad and hildon input method plugin
 
followed the instructions step by step installation except (apt-get install sqlite3) already the newest. very thing's fine but nothing happened, any idea??

foolegg 2010-12-27 03:01

Re: A Chinese input method with virtual keypad and hildon input method plugin
 
I found a bug in Makefile.
my N900 is down( because a mistake when trying package ) and I'm busy in this week ( for a test ), so please wait a few day, I will fix this bug.

foolegg 2010-12-30 12:18

Re: A Chinese input method with virtual keypad and hildon input method plugin
 
Quote:

Originally Posted by foolegg (Post 904021)
I add a Makefile, Now you can install with the common *nix method,
at first, you need install some dependency for build hildon-input-method-plugin,
at first, add below repo :
Code:

deb http://repository.maemo.org/ fremantle/sdk free non-free
deb http://repository.maemo.org/ fremantle/tools free non-free

then open x-terminal, and type :
Code:

sudo gainroot
#gain root

apt-get install build-essential
#base develop tools

apt-get install bash
#install bash

apt-get install git-core
#git tool, be used to checkout source code from github

apt-get install libgconf2-dev libdbus-glib-1-dev libhildon-im-ui-dev hildon-input-method-framework-dev  libgtk2.0-dev libosso-dev
#lib file for hildon-input-method plugin

apt-get install sqlite3
#be used to generate dict file

the Inputpad ui is pyqt4 program, so you need python2.5-qt4
:
Code:

apt-get install python2.5-qt4
then, checkout source code and BUILD it ! ( exit root before do this ) :
Code:

git clone git://github.com/foolegg/maemo-chinese-input-pad.git mcip
#checkout source code

cd mcip
#enter source code directory

make
#build

sudo gainroot
#get root

make install
#install

then, reboot.
If everything is ok, you can use this inputpad like system origin virtual keyboard.

when you need update :

Code:

cd mcip
#enter source code directory

sudo gainroot
#get root

make uninstall
#uninstall old version

exit
#exit root

git pull origin master
#checkout newest source code

make
#build, again

sudo gainroot
#get root

make install
#install, again

reboot.

hi, I have updated source code, and fixed the install introduction, please check it:D

mercuris 2010-12-30 18:14

Re: A Chinese input method with virtual keypad and hildon input method plugin
 
it works thanks, keep it up, looking forward for updates in the future. tq

Ykho 2010-12-30 18:48

Re: A Chinese input method with virtual keypad and hildon input method plugin
 
best xmas present ever!!

maxximuscool 2010-12-30 19:25

Re: A Chinese input method with virtual keypad and hildon input method plugin
 
Quote:

Originally Posted by foolegg (Post 902512)
hi, every buddy :

I writed a Chinese input method ( for touch screen, with virtual keypad ) and a hildon input plugin ( so it is integrted to system, can be use like origin virtual keyboard )

some screenshot,
in message client:
http://bbs.ifanr.com/data/attachment...rh1399l7r7.png
click input area to active inputpad ( like system virtual keyboard, and it will rotate screen auto ) :
http://bbs.ifanr.com/data/attachment...i71og93559.png
when input finish, click blank area above inputpad to close it, and commit the text to message client :
http://bbs.ifanr.com/data/attachment...dcffkdf8zc.png
and it has some sub keypad to input english or japanese :
http://bbs.ifanr.com/data/attachment...9h31eogae4.png

source code on github :
https://github.com/foolegg/maemo-chinese-input-pad

It can be use with gtk and qt, but still has some problem in microB browser ( sometime lose commited text )

will this conflict with Ukeyboard? or is it only show up during portrait?

Ykho 2011-01-03 12:49

Re: A Chinese input method with virtual keypad and hildon input method plugin
 
just out of curiosity how many people have successfully installed it??

mercuris 2011-01-04 20:23

Re: A Chinese input method with virtual keypad and hildon input method plugin
 
i have................................

Ykho 2011-01-04 23:29

Re: A Chinese input method with virtual keypad and hildon input method plugin
 
Quote:

Originally Posted by mercuris (Post 911695)
i have................................

could you tell me if its still possible to get the virtual keyboard up by pressing the blue arrow and ctrl....in order to get the | ~ keys??

turbowei 2011-01-05 08:25

Re: A Chinese input method with virtual keypad and hildon input method plugin
 
any luck in getting it packaged yet?

foolegg 2011-01-06 14:06

Re: A Chinese input method with virtual keypad and hildon input method plugin
 
hi,
I have update source code in test branch.
add some cool function, like move cursor with gesture, and a "Q" panel to access clipboard and history easily.
plz check it:]

mercuris 2011-01-09 13:53

Re: A Chinese input method with virtual keypad and hildon input method plugin
 
Quote:

Originally Posted by Ykho (Post 911819)
could you tell me if its still possible to get the virtual keyboard up by pressing the blue arrow and ctrl....in order to get the | ~ keys??

sorry for late reply, yes still works

foolegg 2011-01-11 15:39

Re: A Chinese input method with virtual keypad and hildon input method plugin
 
http://bbs.ifanr.com/data/attachment...4bt4dbxxtp.png
http://bbs.ifanr.com/data/attachment...33pqst3p0h.png
Now, I'm working for this, a REAL virtual keyboard, it's a overlay above all another window, write with QML.
It send fake XKeyEvent to focused window, so, it can use another input method, like ibus :]

source code on github
https://github.com/foolegg/maemo-virtual-keyboard

nicholas_oh 2011-01-23 10:09

Re: A Chinese input method with virtual keypad and hildon input method plugin
 
i wanna ask does this chinese patch will affect the virtual keyboard ?
because the previous all chinese patch affect the virtual keyboard....

tq

mercuris 2011-01-23 18:29

Re: A Chinese input method with virtual keypad and hildon input method plugin
 
yes, it will replace ur current virtual keyboard, but u can always make a command shortcut at ur desktop so u can swith between ur original virtual keyboard instantly

Wikiwide 2011-01-23 22:53

Re: A Chinese input method with virtual keypad and hildon input method plugin
 
Quick reply...
I like that you make the keyboard QML based, with large keys, with arrows, quite transparent and not opaque, and the layout is all written down in QML.

As I understand, there are three free unassigned keys in the keyboard. It could allow for switching between four keyboards, at least. You could make the C++ part of the code able to switch between four different QMLs, make the three keys send corresponding signals to the C++ part of the code, create four nearly identical English layouts, and then let users customise keys and keycodes of the keyboard layouts to their hearts' content.
Like:
one layout English,
one layout special symbols,
one layout Greek for mathematical formulas,
one layout Esperanto.

What do you think about it?

foolegg 2011-05-07 10:27

Re: A Chinese input method with virtual keypad and hildon input method plugin
 
http://bbs.ifanr.com/data/attachment...9bvhuot670.png
this is new QWERT keyboard with pinyin chinese input method, you can find source at https://github.com/foolegg/cute-input-method :]
and, the video demo at this place :
http://v.youku.com/v_show/id_XMjY0ODQ5MzYw.html

Xagoln 2011-05-07 10:42

Re: A Chinese input method with virtual keypad and hildon input method plugin
 
Hi foolegg,
this work looks interesting, but I am unable to watch the video using my N900, and I don't have any other PC.

Are you still planning to package it so that it can be available in the Maemo repos?


All times are GMT. The time now is 22:27.

vBulletin® Version 3.8.8