The Following 2 Users Say Thank You to KiberGus For This Useful Post: | ||
|
2010-01-26
, 19:16
|
Posts: 254 |
Thanked: 122 times |
Joined on Nov 2009
|
#132
|
The Following 4 Users Say Thank You to KiberGus For This Useful Post: | ||
|
2010-01-27
, 03:54
|
Posts: 9 |
Thanked: 6 times |
Joined on Dec 2009
|
#133
|
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
|
2010-01-27
, 07:14
|
Posts: 19 |
Thanked: 2 times |
Joined on Jan 2010
|
#134
|
|
2010-01-27
, 08:11
|
Posts: 139 |
Thanked: 88 times |
Joined on Dec 2009
|
#135
|
|
2010-01-27
, 08:14
|
Posts: 9 |
Thanked: 6 times |
Joined on Dec 2009
|
#136
|
|
2010-01-27
, 08:45
|
Posts: 139 |
Thanked: 88 times |
Joined on Dec 2009
|
#137
|
|
2010-01-27
, 10:06
|
Posts: 254 |
Thanked: 122 times |
Joined on Nov 2009
|
#138
|
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.
|
2010-01-27
, 11:18
|
Posts: 19 |
Thanked: 2 times |
Joined on Jan 2010
|
#139
|
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>"
|
2010-01-27
, 11:53
|
|
Posts: 474 |
Thanked: 368 times |
Joined on Jan 2010
|
#140
|
Tags |
dial, dialing, lack of phone features, lack of quality control, sms, telephony, ussd |
|
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.