Sto impazzendo con Symbian DBMS e le features SQL supportate ... cosa è supportato, cosa no? Per mia esperienza, ora:
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 .
void CMyAppView::SignalImageStored()
{
TKeyEvent aKeyEvent;
TEventCode aType;
aKeyEvent.iCode = EKeyMenu;
aKeyEvent.iScanCode = EStdKeyMenu;
aType = EEventKey;
iCoeEnv->SimulateKeyEventL(aKeyEvent, aType);
}
iCoeEnv è un membro di CAknView , questo è utile per aprire il menu automaticamente, ad esempio dopo un ritardo di tempo
... e questo genera solo l'evento menu, e non l'altra eventuale azione associata al tasto quando il menu è visibile, così impostando un timer ed un active object in ascolto che chiama SignalImageStored non può causare l'evento select. Ci possono essere alcuni problemi se la vista in questione non è visibile .. bisognerebbe testare lo stato di activated di this view.
TLex8 lbuf=TLex8(aBuf);
check:
if (crF)
{
if (lbuf.Peek()==Klf)
{
TUint hdridx=iHeadEnd + 1 + lbuf.Offset();
if (iLastHdrIdx +1 == hdridx)
iHdrClosed = ETrue;
iLastHdrIdx = hdridx;
iIdxs->Append(iLastHdrIdx);
iHdrNr++;
}
lbuf.Inc();
crF=EFalse;
}
while (lbuf.Offset() lbuf.Inc();
if (lbuf.Peek()==Kcr) crF=ETrue;
if (lbuf.Offset()==aSize)
goto parsed;
goto check;
parsed:
Prende un intero http response buffer e parsa le linee di header http. iLastIdrIdx è trovato cercando la sequenza \r\n\r\n in aBuf. Questo codice parsa l'header e mette in iIdxs array gli indici degli header. LIT8(Kcr,"\r"); LIT8(Klf,"\n");