@rahulvala
check the third link [http://wiki.forum.nokia.com/index.ph...ng_with_AppTRK], but I have a different version of Qt Creator [] and I have some lines that appear on the page, I have for example that of 'Qt version S60 5th edition. "
however, added a version of Qt for Symbian in the project settings and managed to create the sis file.



---------------------
@savaj
I have the sis file and I run on device, I modified my code for show a QMessageBox when the msg is sent:
Code:
void firstApp::enviarSms()
{
if(ui->txtMsg->toPlainText() == ""){
QMessageBox::warning(0, tr("Ingrese el mensaje"), tr("Debe escribir un mensaje"));
}else if(ui->txtNum->text() == ""){
QMessageBox::warning(0, tr("Ingrese un numero"), tr("Debe escribir un destinatario"));
}else{
if(sendSms(ui->txtMsg->toPlainText(), ui->txtNum->text())){
QMessageBox::information(0, tr("Success"), tr("Message sent successfully"));
}else{
QMessageBox::warning(0, tr("Failed"), tr("Unable to send message"));
}
}
}
bool firstApp::sendSms(QString bodyMsg, QString phoneNum)
{
if(!m_service)
m_service = new QMessageService(this);
QMessage smsMsg;
smsMsg.setType(QMessage::Sms);
smsMsg.setParentAccountId(QMessageAccount::defaultAccount(QMessage::Sms));
smsMsg.setTo(QMessageAddress(QMessageAddress::Phone, phoneNum));
smsMsg.setBody(bodyMsg);
return m_service->send(smsMsg);
}
always show me the messagebox but never send the sms

can u help me???