×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Jul 2009
    Posts
    27

    Question How to open S60 native short message inbox?

    hi, all
    I have a problem, how to open the S60 native short message inbox from a Qt GUI program?
    Thanks in advance,

  2. #2
    Nokia Developer Champion
    Join Date
    May 2004
    Posts
    2,267

    Re: How to open S60 native short message inbox?

    Hi,

    I'm afraid you have to use Symbian specific code, see blow (tested on S60 5th Edition emulator).

    // .pro
    Code:
    ...
    symbian: LIBS += -lcone -leikcore -lavkon
    ...
    // .cpp
    Code:
    ...
    #ifdef Q_OS_SYMBIAN
    CAknAppUi* appUi = dynamic_cast<CAknAppUi*> (CEikonEnv::Static()->AppUi());
    TRAPD(error, 
    	if (appUi)
    		{
    		// Activate the inbox view like in normal Symbian OS C++ code
    		const TUid KUidMessagingApp = {0x100058C5};
    		const TUid KUidListView = {0x2};
    		TUid inbox = {0x1002}; // KMsvGlobalInBoxIndexEntryId
    		TVwsViewId id(KUidMessagingApp, KUidListView);
    		appUi->ActivateViewL(id, inbox, KNullDesC8);
    		}
    );
    #endif
    ...
    Regards

    Ziteng Chen

  3. #3
    Registered User
    Join Date
    Jul 2009
    Posts
    27

    Re: How to open S60 native short message inbox?

    thanks for your reply chenziteng, that is what I wanted.

  4. #4
    Regular Contributor
    Join Date
    Oct 2009
    Posts
    60

    Re: How to open S60 native short message inbox?

    I have the same problem. Can I read & write short message inbox with qt, not Symbian native code?

  5. #5
    Super Contributor
    Join Date
    Oct 2008
    Location
    INDIA
    Posts
    2,326

    Re: How to open S60 native short message inbox?

    Hi, haha888999

    Quote Originally Posted by haha888999 View Post
    I have the same problem. Can I read & write short message inbox with qt, not Symbian native code?
    If you want to read the sms from the inbox folder then this article is useful : http://wiki.forum.nokia.com/index.ph...x_folder_in_Qt

    Best regards,
    RaHuL

Similar Threads

  1. Access the Native inbox
    By Pravin008 in forum Mobile Java General
    Replies: 1
    Last Post: 2010-01-12, 05:36
  2. Open some specified SMS/MMS message from inbox to open a thrid-party application
    By Mark070508 in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2009-12-10, 07:46
  3. Switching to native inbox application
    By chintandhruva in forum Symbian
    Replies: 3
    Last Post: 2009-08-06, 05:05
  4. Sending a Loopback SMS to Native Inbox
    By aricent_lbs in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2007-10-17, 14:53
  5. WMA og native OS inbox on 3650
    By ravnskjaer in forum Mobile Java General
    Replies: 5
    Last Post: 2003-10-22, 17:18

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×