Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User elgringo640's Avatar
    Join Date
    Feb 2009
    Posts
    27
    Hi all,
    i'm a newbie in symbian world. I'm looking at VRex example source code for video streaming.
    To understand better how it works, I'd like to use outputs on the carbide's console. I've previous experiences in Eclipse (for J2ME), and there to obtain the output on the console just used something like

    System.out.println("Hello");

    the code prompt on the console the message Hello.

    Now,how can i do this while developing a Symbian UI App??

    Thanks and Regards

    Brizio

  2. #2
    Super Contributor kishore84's Avatar
    Join Date
    Jul 2007
    Posts
    596
    check CConsoleBase class(there is a printf() func). Also u can debug the exp on emulator it is a gui aplication.

  3. #3
    Registered User elgringo640's Avatar
    Join Date
    Feb 2009
    Posts
    27
    Quote Originally Posted by kishore84 View Post
    Also u can debug the exp on emulator it is a gui aplication.
    I'm not sure to understand what u say..Actually I'm using the emulator to run the app..

    Thanks!

  4. #4
    Nokia Developer Champion savaj's Avatar
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034
    As said by kishore, CConsoleBase is right class to print on console. check CConsoleBase::Write() method in SDK.

    If you just want to see the message then you can also use information note, like.

    CAknInformationNote* pInformationNote;
    pInformationNote->ExecuteLD(_L("Hello"));

  5. #5
    Registered User elgringo640's Avatar
    Join Date
    Feb 2009
    Posts
    27
    Seems not working...

    #include <aknnotewrappers.h>

    ....
    ...

    CAknInformationNote* pInformationNote;
    pInformationNote = new (ELeave) CAknInformationNote;
    pInformationNote->ExecuteLD(_L("Hello"));


    no output on emulator output and even on emulation program output...
    Last edited by elgringo640; 2009-05-26 at 22:29.

  6. #6
    Nokia Developer Moderator skumar_rao's Avatar
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968
    I'd like to use outputs on the carbide's console.
    CAknInformationNote not the way you wanted to go then. you might want to use RDebug http://wiki.forum.nokia.com/index.php/How_to_use_RDebug

  7. #7
    Registered User elgringo640's Avatar
    Join Date
    Feb 2009
    Posts
    27
    thanks skumar_rao,
    it works!!

    Thanks a lot

Similar Threads

  1. [moved] Carbide Profiler 2.0
    By op84 in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 3
    Last Post: 2010-06-18, 09:39
  2. Converting Carbide 1.3 gui to Carbide 2.0
    By sathiyapriyanm in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 11
    Last Post: 2009-04-09, 05:51
  3. Carbide 2.0 upgrade problem
    By swapnil_mahajan in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 2
    Last Post: 2009-04-01, 19:03
  4. TRK 3 on device debugging and Carbide 2.0
    By ilancopelyn in forum Tools and SDK Feedback (Closed)
    Replies: 2
    Last Post: 2009-03-11, 06:47
  5. RVCT and Carbide c++ 2.0 problem
    By sevdwal in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 0
    Last Post: 2009-02-27, 11:00

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
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