Archive for the 'Symbian' Category

Series 60 3rd edition: application shell status pane

Monday, March 30th, 2009

To use little status pane like the one in application browser use:

StatusPane()->SwitchLayoutL( R_AVKON_STATUS_PANE_LAYOUT_USUAL_FLAT );

title pane and navi pane could not be used at the same time

EXmlJunkAfterDocElement in CParser

Wednesday, May 21st, 2008

returned in consecutive call of CParser::ParseL()

solved calling CParser::ParseEndL() at every end of document parsing

Simulate user input

Wednesday, August 22nd, 2007
void CMyAppView::SignalImageStored()
{
TKeyEvent aKeyEvent;
TEventCode aType;
aKeyEvent.iCode = EKeyMenu;
aKeyEvent.iScanCode = EStdKeyMenu;
aType = EEventKey;
iCoeEnv->SimulateKeyEventL(aKeyEvent, aType);
}

iCoeEnv is a member of CAknView class, this is useful to open menu automatically, maybe after a laps of time.

… and this cause only menu event, not the corresponding key be pressed when menu is visible, so setting a timer event that cause SignalImageStored be called (i.e. from a CActive derived class) could not cause select action. There can be some problem if the view is no more visible/activated … (to be added a test on active state of this view.

Symbian DBMS .. what damn does it supported?

Wednesday, August 22nd, 2007

I am going mad for Symbian DBMS and SQL supported features … what is supported what not? My experience right now:

SELECT C1 FROM T1 WHERE C2=0

Not supported: C2 must be in the set of column selected

SELECT C1, C2 FROM T1 WHERE C1=C2

Not supported: C1 = C2 clause is not accepted (!!!)

…. what kind of story are you telling me?

Supported Symbian SQL Subset .. and no, no update for Symbian OS 9.1 .