If you plan to use the db from two apps/threads, you need to use the shared database model. Use RDbs instead of RFs. See...
Type: Posts; User: anttijuu; Keyword(s):
If you plan to use the db from two apps/threads, you need to use the shared database model. Use RDbs instead of RFs. See...
Don't know but probably there's none. If the system time changes, it changes and therefore all timers are invalid, so.... Maybe the system tick count? Don't remember the API to that, so check the...
http://wiki.forum.nokia.com/index.php/Timers
AFAIK, the timer can fire prematurely due to time change (time updated from operator network). Check out the iStatus of the timer object in RunL. There are also other, more reliable timers in the...
Yes, in a sense that now the code follows the naming conventions.
No, it's supposed to change the behaviour of the programmers.
That is a leaving foo, it just does not show it in the...
One simple way is to use the CFont::TextCount to calculate how many chars fit an area with a given width, then get the text to draw to one line. Then draw the next line, etc. Also you will need...
Yes, by sockets, using address 127.0.0.1 and a suitable port..
void TISO8601DateTimeConverter::FromTimeToISOString(const TTime & aTime, TDes & aString)
{
_LIT(KISODateTimeFormat, "%F%Y-%M-%DT%H:%T:%S");
TLocale locale;
TInt...
If you have a function
void foo()
{
barL();
}
True:
void CGlobalCapturer::StartCapturingL()
{
RFs aFs;
aFs.Connect();
CMyCNotify* notifier=CMyCNotify::NewL(aFs,*this);
Try this: http://lmgtfy.com/?q=xml+validator
Easiest way would be to call DrawNow.
Probably your SQL query has syntax errors. See what you end up having there. And remember that string constants must be enclosed in between ' ':
SELECT * FROM Table WHERE TableColumn='Value'
First, use an XML validator to see if the xml is even valid. Parser will not parse invalid xml (or will report errors which you should handle).
Well that's a bit hard to say, cannot see that far away.
Have you tried a) device debugging b) logging c) drawing debugging code on the app view to see what is actually happening?
Descriptors are not C/C++ strings but classes instantiated as objects, not zero terminated strings like wizard_hu pointed out. So, naturally, you cannot use the %s with nothing but C strings. You...
How long have you waited? GPS fix doesn't happen immediately. Are you using A-GPS, which gets the fix quicker? Are you outside? GPS does not reach inside buildings, unless walls are thin. Does the...
After some learning curve, they actually aren't so difficult. Descriptors are classes, so you shouldn't use them like C char pointers...
TInt E32Main ()
{
TBuf <255> Final_Statement;
...
Have you tried using ClaimPointerGrab(ETrue) and/or SetPointerCapture(ETrue)?
For descriptors, you must use %S, not %s. And %S wants a pointer to the descriptor.
http://descriptors.blogspot.com/
http://descriptor-tips.blogspot.com/
TBuf<255> buf -- this means you have a buffer with max 255 chars, which is now empty.
_LIT(KBuffer, "so many chars...
And processor time. Each time you return objects by value, you call the copy constructor code which creates the new temporary object. Depending on the calling code, you also call the copy constructor...
Example:
_LIT(KCreateSessionTable, "CREATE TABLE Sessions (Id COUNTER, StartDate TIMESTAMP, EndDate TIMESTAMP, UserName CHAR(25), Uuid CHAR(40), HmdbId INTEGER)");
TInt err;
err =...
AFAIK, primary keys are not supported, nor foreign keys. You have to create an unique index.
if (!BaflUtils::FileExists(iFs, aFileName))
{
User::Leave(KErrNotFound);
}
RFile file;
User::LeaveIfError(file.Open(iFs, aFileName, EFileRead));
CleanupClosePushL(file);
TInt size;...