Reply
Thread Tools
Posts: 254 | Thanked: 122 times | Joined on Nov 2009
#131
Originally Posted by Marshall Banana View Post
It would be nice if a future ussd-widget version would support multiple instances with different config files.
Already done. But it is not released to public yet.
In a good case, new version would be today in ecstras-devel and there would be an article how to implement multiple widgets behavior. Or, may be, you would have to wait a couple of days.
Originally Posted by blurbi View Post
doesnt work for me
Whe you say "doesn't work" alweays say how exactly it doesn't work, or nobody would help you because nobody would understand what has happened and how to help you.
 

The Following 2 Users Say Thank You to KiberGus For This Useful Post:
Posts: 254 | Thanked: 122 times | Joined on Nov 2009
#132
New version is available at garage and in extras-devel. (ussd-common and ussd-widget are updated, package manager would fetch ussd-comon as dependency).
Now you can create several widgets with different settings and widget can try to reexecute query if it fails. Some regressions fixed too.
I also have written HOWTO, which describes how to write widgets, which support multiple instances:
http://kibergus.su/?q=node/1
 

The Following 4 Users Say Thank You to KiberGus For This Useful Post:
Posts: 9 | Thanked: 6 times | Joined on Dec 2009
#133
Originally Posted by KiberGus View Post
New version is available at garage and in extras-devel. (ussd-common and ussd-widget are updated, package manager would fetch ussd-comon as dependency).
Now you can create several widgets with different settings and widget can try to reexecute query if it fails. Some regressions fixed too.
I also have written HOWTO, which describes how to write widgets, which support multiple instances:
http://kibergus.su/?q=node/1
Glad to see this widget is in the repository now. Gratz
 
Posts: 19 | Thanked: 2 times | Joined on Jan 2010
#134
Than you, KiberGus. N900 is almost perfect phone now, only videocall is missing.

I suggest adding two fields:
Name – that would be initial text in the widget. It should be restored after restart maybe.
Replace with result – (checkbox, checked by default) indicates that the result should be shown by message box instead of replacing the name if not checked.

As I mentioned earlier I am not using USSD for querying information. I use it to activate service status. Response indicates which status is active. For example I use dual number service. I have two USSD widgets on screen. One activates first number by *200*0# and other activates second number by *200*1# (don’t try, it works only with my mobile operator Elisa if you have ordered this). Now, after testing it, I have two widgets on the desktop, both says „Activated number is …“. It confuses – which?

Or maybe the best solution would be to group USSD widgets and restore others names in this group while using one of those. This means you have to add two more fields – group name and check-box to indicate that only one of them can show the result at the time.
 
Posts: 139 | Thanked: 88 times | Joined on Dec 2009
#135
Also a font size selector might be a very good idea in the widget settings, at the moment it takes quite a bit of space with certain operator replies and it would be nice to be able to reduce the size.
 
Posts: 9 | Thanked: 6 times | Joined on Dec 2009
#136
Originally Posted by adancau View Post
Also a font size selector might be a very good idea in the widget settings, at the moment it takes quite a bit of space with certain operator replies and it would be nice to be able to reduce the size.
use regexp to cut required information from replies.
 
Posts: 139 | Thanked: 88 times | Joined on Dec 2009
#137
Originally Posted by irmin View Post
use regexp to cut required information from replies.
not really an option. basically the reply message lists the remaining minutes under different options, and i'd like to know what each number represents (in short, all of it is required information)

adding a font size selector would allow the user more flexibility.
 
Posts: 254 | Thanked: 122 times | Joined on Nov 2009
#138
Originally Posted by lendurhenry View Post
Than you, KiberGus. N900 is almost perfect phone now, only videocall is missing.

I suggest adding two fields:
Name – that would be initial text in the widget. It should be restored after restart maybe.
Replace with result – (checkbox, checked by default) indicates that the result should be shown by message box instead of replacing the name if not checked.

As I mentioned earlier I am not using USSD for querying information. I use it to activate service status. Response indicates which status is active. For example I use dual number service. I have two USSD widgets on screen. One activates first number by *200*0# and other activates second number by *200*1# (don’t try, it works only with my mobile operator Elisa if you have ordered this). Now, after testing it, I have two widgets on the desktop, both says „Activated number is …“. It confuses – which?

Or maybe the best solution would be to group USSD widgets and restore others names in this group while using one of those. This means you have to add two more fields – group name and check-box to indicate that only one of them can show the result at the time.
Use parser command. For eample using
echo "1st number"
as parser would show "1st number" string on widget.
echo "name:" "%"
would show "name: <operators reply>"
 
Posts: 19 | Thanked: 2 times | Joined on Jan 2010
#139
Originally Posted by KiberGus View Post
Use parser command. For eample using
echo "1st number"
as parser would show "1st number" string on widget.
echo "name:" "%"
would show "name: <operators reply>"
Thank you.That was useful hint. I was trying to write regexpression to replace “Activated number is” with “Activate:“. Now I am wondering is it possible to write several commands like:
alert “%”;
echo “Activate: …”;
 
niqbal's Avatar
Posts: 474 | Thanked: 368 times | Joined on Jan 2010
#140
first of all amazing job as far as widget is concerned. i didnt try pad. i have a question. operator reply is

blah blah blah blah blah blah. Ur account balance; amount.

how can i write an expression to kill everything before account balance sentence.
 
Reply

Tags
dial, dialing, lack of phone features, lack of quality control, sms, telephony, ussd

Thread Tools

 
Forum Jump


All times are GMT. The time now is 15:43.