Tuesday, August 26, 2008

How to retrieve a list of the languages supported by the phone.

    CPtiEngine* eng = CPtiEngine::NewL( ETrue );
CleanupStack::PushL( eng );
if ( eng->NumberOfLanguages() )
{
RArray<TInt> languages;
CleanupClosePushL( languages );
eng->GetAvailableLanguagesL( languages );
........
CleanupStack::PopAndDestroy( &languages );
}
CleanupStack::Pop (eng);

No comments:

stats counter