USSD codes

Post your questions and help other users.

Moderator: Martin

Post Reply
pablos
Posts: 1
Joined: 23 Oct 2014 18:38

USSD codes

Post by pablos » 23 Oct 2014 18:51

Hi,
I need to get info about my current FUP usage.

When I "call":
*146#
I recieve message via USSD: "You have X.Y MB left..."

But I can't find, how to retrieve this whole message to variable.

Thank You very much for your help.

Pavel

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: USSD codes

Post by Martin » 24 Oct 2014 08:11

Hi,

Depending on the device it's possible to retrieve the text using an action Control UI with function getText. A script like text = getText(500, 900) could work (coordinates will be different on your device).
Unfortunately action Control UI requires that the accessibility service of Automagic is running and that the screen in turned on and unlocked.

Regards,
Martin

Post Reply