In Blackberry Cascades 10 (C++, Qt, QML), how I call a customer to e-mail with the fields filled

Orry, I forgot the code... :-)

QString chartFilename = QString(QUrl(QDir::homePath() + "/pm.png").toEncoded());

QVariantMap data;
data["subject"] = "Your Subject";
data["body"] = "Your body meesage";
data["attachment"] = (QVariantList() << chartFilename);

QVariantMap moreData;
moreData["data"] = data;

InvokeRequest request;
request.setTarget("sys.pim.uib.email.hybridcomposer");
request.setAction("bb.action.COMPOSE");
request.setMimeType("application/text_messaging");
request.setFileTransferMode(FileTransferMode::Preserve);

bool ok;
request.setData(bb::PpsObject::encode(moreData, &ok));

InvokeManager invokeManager;
InvokeTargetReply *reply = invokeManager.invoke(request);

Tags: BlackBerry Developers

Similar Questions

  • How to send a file by e-mail with the Director

    It is even possible to have a button in a stand-alone projector that would send a file by e-mail or open an e-mail program and the file attached and addressed? Or is it possible to put a file on a server? Of course, these two methods could draw the attention of the user and ask for their permission.

    Just open the user's email program, you can use the standard jargon:

    goToNetPage (mailto:[email protected])

    This approach is kind of annoying because it actually opens a vacuum
    the browser window then the user's e-mail program. I don't think that you can use
    This approach however send attachments.

    A much better way is the fabulous of DirectXtras DirectEmail xtra.
    Visit their site:
    http://www.directxtras.com/demail_home.asp?UUID=1217348

    DirectEmail can do everything you ask (and more). It's
    cross-platform, shockwave safe, can manage text or HTML email, can do
    Spare part, can use a mail server or not and is really easy to use.

    The same company makes DirectFTP you can get:
    http://www.directxtras.com/DFTP_home.asp?UUID=1217348

    DirectFTP can put files on an FTP site with a minimum of fuss. I have
    repeatedly used both and they rock. You can actually
    write an e-mail or ftp full program with these xtras and Director.

  • How to set up a mail with the IOM Server

    Experts,

    Any idea/links/Docs on how to configure a server to e-mail with the IOM and to send e-mail notifications to someone.

    Forgive me if my questions seem incomplete.

    Thank you
    Suren

    . Create a resource of Type e-mail server. Give name as "Email Server.Now fill in the values for the all parameter for example server, user name, password and authentication type.»
    . Go to the System Configuration and the Email Server property value gives the name of the resource that you created in step 1, so the name will be "mail server".

    http://forums.Oracle.com/forums/MessageView.jspa?MessageID=3867506&STQC=true

  • How to read/write tdms 2.0 files with the TDM C DLL?

    Hello

    How to read/write tdms 2.0 files with the TDM C DLL?

    How consequently the datas in interlaced with the TDM C DLL mode?

    Thank you

    Confirmation: TDM C DLL always wrote the file in TDMS version 2.0.

  • How is it possible to specific your own, with the constant help of string to locate a directory where the NEW

    How is it possible to specific your own, with the constant help of string to locate a directory where the NEW
    created the folder to save?


  • How can I remove addys unused e-mail, under the sign in space?

    How can I remove addys unused e-mail, under the sign in space? In Hotmail.

    After all the Hotmail issues in the appropriate forum found here:
    http://windowslivehelp.com/

  • How to pass a string of e-mail with attachments?

    How to pass a string of e-mail with attachments? I received an email and had answers in both directions. I try now to send the original of the attachments on the first 2 emails. How do I do that? My receiptiant says that he gets the e-mail message but has no attachments?

    You don't mention what you use for e-mail.
     
    You can either transfer the messages all attachments, or save attachments and then attach them to a new message.
  • How to write a query to return rows with the varchar column that contains even a single occurrence of the characters, such as Ÿ and

    How to write a query to return rows with the varchar column that contains even a single occurrence of the characters, such as Ÿ and

    I have a table whose columns with values such as

    MINNEAŸPOLIS and ¿VV ¿A

    Only the characters that are allowed in this column are alphabets, numbers, spaces, points and supports.

    Please help to write a SQL SELECT with Regexp_like query or any other option.

    Thanks to you all! Under query worked for me. Thank you Frank to explain the concept of hooks inside regexp_like.

    SELECT * FROM testspecial, WHERE REGEXP_LIKE (sampletext, "[^] ^ A - Z ^ a - z ^ 0-9 ^ [^.]") ^ {^} ^]') ;

  • Hello, I accidentally opened an old file Ircat... and now can't figure out how to return to my only current.  With the help of Mac Yosemite, Lightroom CC

    Hello, I accidentally opened an old file Ircat... and now can't figure out how to return to my only current.  With the help of Mac Yosemite, Lightroom CC

    Thank you!

    File-> open recent. Lists the catalogs you have opened and will allow you to choose one of the previous catalogues.

  • How to invite people to an event calendar with the new iOS 10?

    Before I updated to iOS of 10, I was able to create a calendar event with the apple iPhone built-in calendar and there is an option to 'invite' contacts him so they could add to their calendar. I can't find this option now after the new update. Where and how can I do this?

    Invite others to an event. You can invite people to an event, even if you're not the one who, on demand with Exchange and some other servers. Press an event, press on modify, then on the guests. Type the names, or tap to select the people to contact. If you don't want to be notified when someone refuses a meeting, go to settings > calendar, then disable view guest declines.

  • How many quadrature encoders may be read together with the cDAQ-9188 chassis?

    We will record position periodically 8 engines (at the same time as we are to the corresponding samples entered analog).  It seems that the 4 built-in counters limited chassis to 4 encoders.  Is this correct?  I am familiar with modules of counter PLC which manage high-speed counting, and then the CPU posts periodically to update the total values.  This is how the NI 9401 card would work?

    Hi jtrout,

    You are right the 4 built-in counters than the cDAQ-9188 chassis 4 encoders.  The following article deals with the use of the NI 9401 card for encoder measures: http://www.ni.com/tutorial/7109/en/.

  • How to remove an old version of MSN (with the butterfly) and messages inside?

    I always use an msn address.  My desk top still shows an older version (with the butterfly) and when you click on this old old messages are there.  How to remove this version and messages.

    Hello

    Please refer to this article.

    How to uninstall the MSN Explorer software for my computer?

    http://answers.MSN.com/solution.aspx?SolutionID=115dc6c5-4ae7-4e38-8e0b-3eac07d020fa

    If you still have any questions, then contact msn support

    How to contact MSN customer service

    http://support.Microsoft.com/kb/940784

    I hope this helps.

  • I would like to know how to re - install windows on a laptop with the product key on the back of the laptop.

    install windows with the product key

    someone I gifted an old laptop with a lot of things about what I don't want and stuff I want is missing. I would like to know how to re - install windows on the laptop with the product key on the back of my laptop.

    or, even better, if someone could find me a way to get a disk to restore to factory without purchasing information, which would be awsome.

    I thank you for your time and have a good day.

    If the laptop is one of the well known brands, he may well have a restore partition.  If you do not have a manual to the user of this computer, then go to the manufacturers website and look for the documentation.  At the very least, you should be able to find information about how to restore the laptop from the recovery partition.

    If the restore partition has been decimated, the manufacturer may still have available for a nominal cost of installation diskettes.

  • How to select anything to delete e-mails in the file from the Recycle Bin

    In outlook express to remove all the files deleted permanently, I could simply select all and remove the hit. I can't find how "select all" in the new e-mail program

    You can do this in three different ways:

    1. Click on deleted items, and then choose "empty deleted items folder.
    2. Using the mouse, select the first mail in the list, and then hold down the SHIFT key and select the last one in the list, right-click and choose Remove.
    3. Select (click) on the first mail from the list, and then press CTRL + A, and then press the DEL (delete) key.
  • How can I transfer my windows live mail FRO the old computer to the new?

    Original title: Live Mail

    I just bought a new computer, but I'm still using Windows 7. How can I transfer my old computer to the new Windows Live Mail?

    How import and export emails, contacts and calendars with Windows Live Mail?
    http://Windows.Microsoft.com/en-us/Windows-Live/Mail-import-backup-restore

Maybe you are looking for

  • Add the second monitor to envy23 touchmart do27c

    Hello I recently bought a PC HP TouchSmart of Envy23 of do27c at Costco. I also bought an HP LV2311 monitor to add as a secondary monitor. I need help to know how I can connect them because on envy, I can not find the connection for the cable I have

  • chkdisk-type of file system is NTFS, the volume is dirty, what it means

    When I turn on my computer, I see the following: file system to check on C: the type of the file system is NTFS, the volume is dirty.  What does that mean?

  • My xperia z3 turns is not on

    Hi guys,.When I try to repair my compact z3 xperia xperia companion it says - software software repair failed an error accourred by repairing your device please try again.if the problem persists please contact sony support.Error code: UEUpdateFailedU

  • Image Windows 10 request activation

    I just built our 10 windows image pro for use in deployments. The computer that I built the image active very well. But whenever we like other computers, activation fails. I think it's using the same product key that I have built the image on. These

  • Error on blackBerry Smartphones I'd: 30702

    Will have connection problem BB application world or download any application. usually get a msg: "there is an isue with the current session. Please sign in to continue (error 30702)