blackberry 10 - Invoking SMS composition in the simulator -


following blackberry documentation on invocation framework, i'm trying invoke opening contact, , sms , e-mail composing. contact opening works fine, cannot sms , e-mail composition work in simulator. code being executed, nothing happens. ideas can doing wrong?

here's piece of code i'm using:

invokerequest request; request.setaction("bb.action.compose"); request.setmimetype("message/rfc822"); request.settarget("sys.pim.uib.email.hybridcomposer");  qbytearray ba(list.toutf8()); request.setdata(ba); m_invokemanager->invoke(request); 

thanks hints!

i facing issue.

sms , e-mail not working simulator because sms/email app not installed in simulator.

you have test in device.

below code working fine in device me..

send sms:

invokerequest invokerequest; invokerequest.settarget("sys.pim.text_messaging.smsuri"); invokerequest.setaction("bb.action.open"); invokerequest.seturi("sms:4444"); invokerequest.setmimetype("*"); 

send email:

invokerequest invokerequest; invokerequest.settarget("sys.pim.uib.email.hybridcomposer"); invokerequest.setaction("bb.action.compose"); invokerequest.seturi("mailto:info@google.com"); invokerequest.setmimetype("message/rfc822") 

thanks..


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -