This page was last modified 10:20, 7 July 2008.
Phone Client USSD API
From Forum Nokia Wiki
| Note! |
|---|
|
The Phone Client USSD API provides the class CPhClientUSSD to programmatically send USSD messages.
Use cases
This API can be used to send a USSD message programmatically and to check the balance of a prepaid subscription.
Example code
Header file
#include <CPhCltUssd.h> // New header for 3.2
Library
"phoneclient.lib"
// Construct CPhCltUssd and pass ETrue // as parameter (notes are shown on screen) CPhCltUssd* ussdClient = CPhCltUssd::NewL( ETrue ); CleanupStack::PushL( ussdClient ); TBuf<16> aMessage; aMessage.Copy( _L("*101#") ); // USSD code for checking prepaid balance TInt result = ussdClient->SendUssd( aMessage ); ... CleanupStack::PopAndDestroy( ussdClient );
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| New Python version | ueffchen | Mobile Web Server | 6 | 2007-07-18 12:53 |
| how to disable built-in VoIP Client in E61 | mevasudeva | VoIP | 14 | 2008-01-29 05:52 |
| IAS Query Hanging | ticktock | Symbian Networking & Messaging | 0 | 2007-03-05 23:49 |
| Implement OMA IMPS protocol with IM client | wijithapaw | Mobile Java Networking & Messaging & Security | 2 | 2008-05-17 05:48 |
| Streams 程序一问 | kongleng2001 | Symbian | 14 | 2006-03-21 10:54 |
