Discussion Board

Search:

Type: Posts; User: anttijuu; Keyword(s):

Page 1 of 6 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    5
    Views
    1,590

    Re: Get DBMS-2 Panic!

    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...
  2. Replies
    32
    Views
    5,179

    Re: Exceptions in Symbian C++

    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...
  3. Replies
    32
    Views
    5,179

    Re: Exceptions in Symbian C++

    http://wiki.forum.nokia.com/index.php/Timers
  4. Replies
    32
    Views
    5,179

    Re: Exceptions in Symbian C++

    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...
  5. Replies
    17
    Views
    3,627

    Re: Strange warning for GPS sample code

    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...
  6. Re: How to break text automatically without creating seperate _LIT?

    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...
  7. Replies
    1
    Views
    2,952

    Re: Symbian C++ and J2ME interworking

    Yes, by sockets, using address 127.0.0.1 and a suitable port..
  8. Replies
    3
    Views
    3,256

    Re: Append TTime to descriptor in ISO8601

    void TISO8601DateTimeConverter::FromTimeToISOString(const TTime & aTime, TDes & aString)
    {
    _LIT(KISODateTimeFormat, "%F%Y-%M-%DT%H:%T:%S");
    TLocale locale;
    TInt...
  9. Replies
    17
    Views
    3,627

    Re: Strange warning for GPS sample code

    If you have a function



    void foo()
    {
    barL();

    }
  10. Replies
    5
    Views
    3,070

    Re: two active objects

    True:




    void CGlobalCapturer::StartCapturingL()
    {
    RFs aFs;
    aFs.Connect();
    CMyCNotify* notifier=CMyCNotify::NewL(aFs,*this);
  11. Re: retrieving large amount of data from a XML file

    Try this: http://lmgtfy.com/?q=xml+validator
  12. Re: calling Draw() of container explicitly on EKeyDownArrow

    Easiest way would be to call DrawNow.
  13. Replies
    2
    Views
    2,208

    Re: how to update table ?

    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'
  14. Re: retrieving large amount of data from a XML file

    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).
  15. Replies
    24
    Views
    7,302

    Re: Gps Capability issue

    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?
  16. Replies
    11
    Views
    3,692

    Re: Forever doomed to use AppendNum and Append ?

    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...
  17. Replies
    24
    Views
    7,302

    Re: Gps Capability issue

    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...
  18. Replies
    11
    Views
    3,692

    Re: Forever doomed to use AppendNum and Append ?

    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;
    ...
  19. Re: How to detect when EDrag out of window area?

    Have you tried using ClaimPointerGrab(ETrue) and/or SetPointerCapture(ETrue)?
  20. Replies
    11
    Views
    3,692

    Re: Forever doomed to use AppendNum and Append ?

    For descriptors, you must use %S, not %s. And %S wants a pointer to the descriptor.
  21. Re: TBuf requires Buffer information yet _LIT doesn't, why ?

    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...
  22. Replies
    21
    Views
    2,998

    Re: Returning TBuf by value

    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...
  23. Re: primary key declaration error while creating table

    Example:



    _LIT(KCreateSessionTable, "CREATE TABLE Sessions (Id COUNTER, StartDate TIMESTAMP, EndDate TIMESTAMP, UserName CHAR(25), Uuid CHAR(40), HmdbId INTEGER)");
    TInt err;
    err =...
  24. Re: primary key declaration error while creating table

    AFAIK, primary keys are not supported, nor foreign keys. You have to create an unique index.
  25. Replies
    2
    Views
    3,362

    Re: How to read the file content using HBufC

    if (!BaflUtils::FileExists(iFs, aFileName))
    {
    User::Leave(KErrNotFound);
    }

    RFile file;
    User::LeaveIfError(file.Open(iFs, aFileName, EFileRead));
    CleanupClosePushL(file);
    TInt size;...
Results 1 to 25 of 147
Page 1 of 6 1 2 3 4
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved