View Single Post
Posts: 11 | Thanked: 1 time | Joined on Jan 2010
#169
Originally Posted by Marshall Banana View Post
First a warning:
The software you want to install is not ready for end users and it is even not yet in extras-devel. Please read this first:
Seriously: don't send users out of Extras without a big warning

There are two applications for ussd:
ussd-widget: A widget on your homescreen. You can use to display your account balance for example.
ussd-pad: An application with a dialpad. You can enter an ussd-code and see the result

First you need to be root to use dpkg to install the .debs you download from garage.maemo.org, so you have to install rootsh form the maemo extras repository.


Install ussd-pad:

Go to https://garage.maemo.org/projects/ussd-widget/ and download the .debs for ussd-common, pexpect and ussd-pad and save them in your Documents folder

Open x-term and type:
Code:
sudo gainroot
cd MyDocs/.documents
dpkg -i pexpect_2.3.0-1_all.deb
dpkg -i ussd-common_0.0.1-0_all.deb
dpkg -i ussd-pad_2010.01.07_armel.deb
You can use the tab button or press ctrl+i to autocomplete directorys and filenames.


Now you can try the ussd-pad application. It might not work if the answer from your provider contains non-ascii characters (like öäü), in this case you can try this: http://talk.maemo.org/showpost.php?p...&postcount=101. ussdquery.py is in /usr/bin. Danger! Shoddy programming!

Install ussd-widget:

Go to https://garage.maemo.org/projects/ussd-widget/ and download the .debs for ussd-common, pexpect and ussd-widget and save them in your Documents folder. If you installed ussd-pad before you dont need to install ussd-common and pexpect again.

ussd-widget needs two dependencies to work: python-hildondesktop and hildon-desktop-python-loader. They are in the maemo extras repository.
Open x-term and type (you can use tab to autocomplete the filenames:
Code:
sudo gainroot
cd MyDocs/.documents
apt-get install python-hildondesktop
apt-get install hildon-desktop-python-loader
dpkg -i pexpect_2.3.0-1_all.deb
dpkg -i ussd-common_0.0.1-0_all.deb
dpkg -i ussd-widget_0.0.4-0_all.deb
Now a widget on your desktop appears, configure it with an ussd-code. Mine shows my account balance.

do i have to use the pad? what if i don't want it?