×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    Oct 2008
    Posts
    11

    Unhappy Help in SMS sample in Qt...please

    Hi,
    I want to know if there is an API for sms and email in Qt for S60, kindly need your help cause I want to develop an application for S60 that uses sms and email.

    thanks

  2. #2
    Super Contributor
    Join Date
    Oct 2007
    Location
    Deva, Romania
    Posts
    3,471

    Re: Help in SMS sample in Qt...please

    Hi,

    You can use QSMSSender and QSMSMessage for sending SMS. Here's an example from the Qt Extended Phone Library section
    Code:
    QSMSSender sender;
    QSMSMessage msg;
    msg.setRecipient( "1234567" );
    msg.setText( "Hello!" );
    sender.send( msg );

  3. #3
    Registered User
    Join Date
    Oct 2008
    Posts
    11

    Smile Re: Help in SMS sample in Qt...please

    Quote Originally Posted by bogdan.galiceanu View Post
    Hi,

    You can use QSMSSender and QSMSMessage for sending SMS. Here's an example from the Qt Extended Phone Library section
    Code:
    QSMSSender sender;
    QSMSMessage msg;
    msg.setRecipient( "1234567" );
    msg.setText( "Hello!" );
    sender.send( msg );

    Hi Bogdan,

    Is it also applicable with S60?thanks

  4. #4
    Registered User
    Join Date
    Jan 2009
    Posts
    7

    Re: Help in SMS sample in Qt...please

    Quote Originally Posted by aces28 View Post
    Hi Bogdan,

    Is it also applicable with S60?thanks
    As far as I know Qt for S60 supports only main modules and it's not based on QtExtended, so I guess the answer is no. To provide communication services you are confined only to QtNetwork.

  5. #5
    Registered User
    Join Date
    Oct 2008
    Posts
    11

    Wink Re: Help in SMS sample in Qt...please

    Quote Originally Posted by pwnser View Post
    As far as I know Qt for S60 supports only main modules and it's not based on QtExtended, so I guess the answer is no. To provide communication services you are confined only to QtNetwork.
    Hi,

    Thanks pwnser, so how can I create an sms app or email using QtNetwork?Really appreciate it...thanks

  6. #6
    Registered User
    Join Date
    Dec 2006
    Posts
    2,280

    Re: Help in SMS sample in Qt...please

    Hi,

    You can't do SMS via the QtNetwork module. Email would be possible but you'd have to write or port and email client from scratch rather than use the built-in one on the phone.

    Other options for you are:
    1) Use native Symbian C++ APIs for the sending of messages via SMS and email.
    2) Wait for Nokia to provide an easier way to access these services from Qt applications.

    Mark

  7. #7
    Registered User
    Join Date
    Oct 2008
    Posts
    11

    Thumbs up Re: Help in SMS sample in Qt...please

    Quote Originally Posted by Sorcery-ltd View Post
    Hi,

    You can't do SMS via the QtNetwork module. Email would be possible but you'd have to write or port and email client from scratch rather than use the built-in one on the phone.

    Other options for you are:
    1) Use native Symbian C++ APIs for the sending of messages via SMS and email.
    2) Wait for Nokia to provide an easier way to access these services from Qt applications.

    Mark
    Thanks Mark,

    I'll wait for the release of nokia...as now I'll try to figure out on how to do those things, any idea on drag and drop?

    cheers

  8. #8
    Registered User
    Join Date
    Dec 2006
    Posts
    2,280

    Re: Help in SMS sample in Qt...please

    Hi,

    Obviously for touchscreen devices only, but...
    http://doc.trolltech.com/4.4/qdropevent.html

    The Qt documentation is very good, it's not hard to find things.

    Mark

Similar Threads

  1. looking for sample send sms
    By monxxx in forum Symbian Networking & Messaging (Closed)
    Replies: 3
    Last Post: 2006-10-06, 10:30
  2. Build D211 sdk Sms sample problem..Plz help
    By ElvinChong in forum Multimodecards
    Replies: 1
    Last Post: 2003-02-24, 08:54
  3. Can't send SMS using SDK2.1 sample in VC++
    By adayuen in forum PC Suite API and PC Connectivity SDK
    Replies: 1
    Last Post: 2002-09-25, 10:54
  4. Can't send SMS using SDK2.1 sample in VC++
    By adayuen in forum General Messaging
    Replies: 0
    Last Post: 2002-09-25, 02:20
  5. help needed for sample sms applns
    By balajisn in forum General Messaging
    Replies: 2
    Last Post: 2002-07-11, 05:28

Posting Permissions

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