Reply
Thread Tools
Posts: 103 | Thanked: 164 times | Joined on Feb 2010
#1
Simple application fo MeeGo Harmattan to get balance of the mobile account over the USSD requests (often used on prepaid tariffs).
Program queries the balance when user clicks program’s icon, gets the reply, cuts digits and shows them to the user in different ways.

Lite and Pro versions available at Nokia Store.

Screenshots;


Features:
– USSD sending/recieving
– updating balance after Calls/SMS (daemon catching D-BUS messages, can be switched on/off)
– updating balance on time (time can be set in format HH:MM or hh:mm AM/PM etc..) (new in version 0.0.5)
– calculated difference since last update (shown in Notificaton) (new in version 0.0.5)
– calculated call length (shown in Notificaton) (new in version 0.0.6)
– optional delay of auto-update (new in version 0.0.6)
– display balance on standby screen (new in version 0.0.7)
– pop-up window catching and dismissing (in two ways: click emulation or force window closing – see option ”hard-kill”)
– showing balance over the program’s icon
– showing balance through the Notifications (optional)
– native configuration through the control panel (Settings->Applications->USSD balance)
– multilanguage (english, russian)

Pro-version additional features
– user-friendly configuration
– sequence of USSD-queries can be used (example: *100# 1 2 - will query *100#, then will be sent "1", and after that - "2")
– icon's text margins
– up to 3 USSD numbers can be defined and used
– up to 3 values can be sxtracted from each USSD-reply
– different configuration for each SIM-card used (configuration switched on-the-fly every time you change the SIM-card)
up to 4 icons can be configured, enabled or disabled (removed from menu)
– more auto-update options (incoming SMS or calls monitoring, updates by interval)
– up to 3 lines can be drawn at LPM screen
– flexible composition of displayed strings

Download Lite: Nokia Store
Buy Pro: Nokia Store

Last edited by Avis; 2012-11-19 at 08:50.
 

The Following 21 Users Say Thank You to Avis For This Useful Post:
Moderator | Posts: 6,171 | Thanked: 6,115 times | Joined on Nov 2011
#2
Can you disable USSD messages with your app? Maybe intercept the DBus messages so that USSD messages are not displayed?

That way only when a user wants he can use your app or dial manually to check balances etc...
 
Posts: 103 | Thanked: 164 times | Joined on Feb 2010
#3
I haven't found the right way to disable system's catch-and-show of USSD messages. But, there is interesting effect in my app's work: if option "hard-kill" is enabled - the system's pop-up window if forced to close after first USSD-request procesed by app. And after this operation system's USSD window will not be shown at all (from any application) - until reboot.
 

The Following User Says Thank You to Avis For This Useful Post:
Posts: 103 | Thanked: 164 times | Joined on Feb 2010
#4
 

The Following 2 Users Say Thank You to Avis For This Useful Post:
Posts: 174 | Thanked: 225 times | Joined on Mar 2012
#5
Great! One of the features I missed most, finally coming to the N9. Thank you.

My operator replies to *101# as follows:
Code:
Available Balance: R 1.35 .SMS/MMS: 0.Data: 1706.72 MB.
I am only interested in the first and third values, so I tried using this as my regex:
Code:
.*?(\d+\.\d+).*?(\d+).*?(\d+\.\d+)
...and this as my template:
Code:
R%1, %3MB
...but it didn't work. Any suggestions, please?
 
Posts: 103 | Thanked: 164 times | Joined on Feb 2010
#6
Originally Posted by ginggs View Post
...but it didn't work. Any suggestions, please?
Multiple values not supported... yet
 
Posts: 434 | Thanked: 201 times | Joined on May 2010
#7
"dear cutomer, your balance id x.xxx, valid upto dd/mm/yyyy". this is my operator message, please help me setting regex and template
__________________
--------------------------------------------------------------------------------------------------------

Nokia 3310 -> Nokia 6030 -> Nokia N95 -> Nokia X6 -> Nokia N900 -> Nokia N9 -> Nokia Lumia 1520

Last edited by praveenchand; 2012-09-04 at 17:31.
 
Posts: 434 | Thanked: 201 times | Joined on May 2010
#8
never mind.... ".*?(\d+\.\d+)" worked !
__________________
--------------------------------------------------------------------------------------------------------

Nokia 3310 -> Nokia 6030 -> Nokia N95 -> Nokia X6 -> Nokia N900 -> Nokia N9 -> Nokia Lumia 1520
 
Posts: 103 | Thanked: 164 times | Joined on Feb 2010
#9
 

The Following 2 Users Say Thank You to Avis For This Useful Post:
Posts: 434 | Thanked: 201 times | Joined on May 2010
#10
Great & Thanks!
__________________
--------------------------------------------------------------------------------------------------------

Nokia 3310 -> Nokia 6030 -> Nokia N95 -> Nokia X6 -> Nokia N900 -> Nokia N9 -> Nokia Lumia 1520
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 09:13.