maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   [Announce] USSD Balance for Harmattan (https://talk.maemo.org/showthread.php?t=86563)

Avis 2013-10-23 08:49

Re: [Announce] USSD Balance for Harmattan
 
Quote:

Originally Posted by kingstu (Post 1381924)
Is there a way to add display of a date along with the balance. It is part of the USSD reply at the end in the format "Expiry 12Nov15:03"

Please, give me more details:
1. Example of full USSD-reply
2. Example of the phrase you want to see as a result
3. Where will this phrase be displayed? (lock screen? notification? icon?)

kingstu 2013-10-23 09:00

Re: [Announce] USSD Balance for Harmattan
 
Here is the complete response:
23Oct 16:57
AIRTIME
Load Balance:P40.50
Load Expiry:27Dec03:16

I would like the Load Expiry Date/Time in the lock screen (I use billboard) and I guess it could be in the notification. I get the balance just fine

Avis 2013-10-23 10:33

Re: [Announce] USSD Balance for Harmattan
 
Oh, you can get it in at least 2 ways:
Code:

RegExp: ((\d+\.\d+)|(\w+\:\d+\D+\d+\:\d+))
LockScreen str: %1.1 %1.2

or
Code:

RegExp: ((\d+\.\d+)|(\d+\D+\d+\:\d+))
LockScreen str: %1.2 Expiry on %1.3


kingstu 2013-10-23 12:42

Re: [Announce] USSD Balance for Harmattan
 
thanks so much.

BeLeL 2015-01-31 20:43

Re: [Announce] USSD Balance for Harmattan
 
i install this app but unable to call *xxx#

coderus 2015-01-31 23:06

Re: [Announce] USSD Balance for Harmattan
 
Quote:

Originally Posted by BeLeL (Post 1459118)
i install this app but unable to call *xxx#

http://talk.maemo.org/showthread.php...33#post1260333

BeLeL 2015-02-01 04:11

Re: [Announce] USSD Balance for Harmattan
 
Quote:

Originally Posted by coderus (Post 1459141)

im sorry i forgot to elaborate more :D
i mean unable call *xxx# from dialler not from app

coderus 2015-02-01 05:20

Re: [Announce] USSD Balance for Harmattan
 
Quote:

Originally Posted by BeLeL (Post 1459154)
im sorry i forgot to elaborate more :D
i mean unable call *xxx# from dialler not from app

http://talk.maemo.org/showthread.php...33#post1260333


All times are GMT. The time now is 10:44.

vBulletin® Version 3.8.8