×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Jun 2008
    Location
    India
    Posts
    1,048

    Listening SMS in inbox

    Hi All,

    I want to implement a code snippet to listen any new entry in inbox folder for S60 3rd edition.I have implemented a code from wiki, the link is

    http://wiki.forum.nokia.com/index.ph...g_SMS_messages but encountered some errors.The error is

    undefined reference to `CCoeEnv::Static()' SMSinboxListener line 0 C/C++ Problem


    I want to know can i implement this code in non-GUI application? Actually i implemented this code in console application so is it OK?

    Regards,
    Sumit Rathi

  2. #2
    Super Contributor
    Join Date
    Nov 2004
    Posts
    1,009

    Re: Listening SMS in inbox

    CCoeEnv is not available by default in Non-GUI application , you will have to create it yourself.

    Yeah it is fine to use this code in your non-GUI application.
    Regards,
    Shafali

  3. #3
    Registered User
    Join Date
    Jun 2008
    Location
    India
    Posts
    1,048

    Re: Listening SMS in inbox

    Quote Originally Posted by shafalig82 View Post
    CCoeEnv is not available by default in Non-GUI application , you will have to create it yourself.

    Yeah it is fine to use this code in your non-GUI application.
    Ok its fine .It means i have to create it. so can u tell me the way how to create it or can provide any link so that i can use CCoeEnv in Non Gui Application?

  4. #4
    Super Contributor
    Join Date
    Nov 2004
    Posts
    1,009

    Re: Listening SMS in inbox

    Regards,
    Shafali

  5. #5
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,751

    Re: Listening SMS in inbox

    Although creating a CCoeEnv object is possible, obviously it is not the CCoeEnv what you want to use.
    What you probably want is creating a CRichText object which requires you to pass two arguments. Both CParaFormatLayer and CCharFormatLayer are classes which can be freely instantiated by you.

Similar Threads

  1. Read SMS from INBOx..changed something ??
    By edcruise in forum Mobile Java Networking & Messaging & Security
    Replies: 4
    Last Post: 2009-07-03, 10:37
  2. Replies: 6
    Last Post: 2009-03-24, 14:31
  3. Listening for Inbox SMS
    By nk_user in forum Mobile Java General
    Replies: 1
    Last Post: 2007-10-24, 22:21
  4. SMS Inbox Emulator
    By ViruDoshi in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2005-12-11, 14:13

Posting Permissions

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