Archive for 06月, 2008
When using a setting list, if you change to small font, the text will be displayed incorrectly! (Menu -> Tools -> Settings -> General -> Personalization -> Display -> Font size ).
This problem appears only on the Numbered Style Setting list, (EAknSettingItemNumberedStyle). The only way to make it look right should be not using this style…

Popularity: 24% [?]
Tags: landscape, setting list, small font, Symbian
06月 25th, 2008
Normally you should write a server to run in the background.
Anyway, with a normal app, you can do this by adding one line to your <appname>_reg.rss file.
RESOURCE APP_REGISTRATION_INFO
{
app_file=”hello_0xE67432E1″;
localisable_resource_file = qtn_loc_resource_file_1;
localisable_resource_id = R_LOCALISABLE_APP_INFO;
embeddability=KAppNotEmbeddable;
newfile=KAppDoesNotSupportNewFile;
hidden=KAppIsHidden;
}
Popularity: 24% [?]
Tags: app icon, hide, menu, Symbian
06月 15th, 2008
Got the following code snippet from forum nokia wiki , one thing to take care of is that you need the SwEvent capability when there is a browser already running!
void CBrowserAppUi::LaunchBrowserL(const TDesC& aUrl)
{
const TInt KBrowserUid = 0×10008D39;
TUid id( TUid::Uid( KBrowserUid ) );
TApaTaskList taskList( CEikonEnv::Static()->WsSession() );
TApaTask task = taskList.FindApp( id );
if ( task.Exists() )
{
HBufC8* param = HBufC8::NewLC( aUrl.Length() + 2);
param->Des().Append(_L(“4 “));
param->Des().Append(aUrl);
//Need the WsEvent Capability
task.SendMessage( TUid::Uid( 0 ), *param ); // Uid is not used
CleanupStack::PopAndDestroy(param);
}
else
{
HBufC16* param = HBufC16::NewLC( aUrl.Length() + 2);
param->Des().Append(_L(“4 “));
param->Des().Append(aUrl);
RApaLsSession appArcSession;
User::LeaveIfError(appArcSession.Connect());
TThreadId id;
appArcSession.StartDocument( *param, TUid::Uid( KBrowserUid), id );
appArcSession.Close();
CleanupStack::PopAndDestroy(param);
}
}
Popularity: 22% [?]
Tags: api, browser, SwEvent, Symbian
06月 14th, 2008
主题是创新应用,非常荣幸,欢迎大家访问!
http://blogs.s60.com/app/

Popularity: 18% [?]
Tags: blog, offical, S60
06月 3rd, 2008