How to set the message type to PIN_MESSAGE?

I made a custom messaging application, while creating / writing a message, by default it is considered Message.EMAIL_MESSAGE. But now, I need to create a Message.PIN_MESSAGE!

Session session = Session.getDefaultInstance();
Store store = session.getStore();
// WHERE TO SAVE THE SEND MESSAGES
Folder[] folders = store.list(Folder.SENT);
Folder sentfolder = folders[0];

net.rim.blackberry.api.mail.Message msg = new net.rim.blackberry.api.mail.Message(sentfolder);

Hello

Maybe you have to add the address as PINAddress and therefor the PIN_MESSAGE indicator is set

by system? Have a try like that...

Kind regards

Jochen

Tags: BlackBerry Developers

Similar Questions

  • How to set the date type date of work

    This is perhaps a silly question, but I can't seem to get the data type date to work for a member account. When I go to the planning application and choose an account I want to put in a date entry account, the web form seems to show that the setting of the date works for the account. I even put my account type to be saved hypothesis. For example, I expect to see the date formatted in 10/20/2009 when I enter this value in the web form under my account "Hire Date". I also checked the display options in the preferences of planning. If anyone knows if this function works even on 9.3 or 11.1?

    Hello

    Looks like you have not defined the order of evaluation of Auditors. Administration > Dimensions > evaluation order > select plan type > moving accounts to another window, apply.
    Try the form again.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • How to set the number of e-mail messages that are stored on my iPhone

    How to set the number of e-mail messages that are stored on my iPhone – so when I don't have a network connection I can see a 'large' number of messages in my Inbox etc.

    This is series is not defined in the world

    You must go to settings-> mail, contacts, and calendars and check the settings of your e-mail provider offers in this area

  • When you type an e-mail, I think I hit the 'Save as draft' button by mistake. Now I can't find how to retrieve the message. Any suggestions?

    I was typing an email and press the 'Save as draft' button by mistake. Now I don't know how to recover the message. Any suggestions for anyone?

    Or in the menu button, there should be an option "folders." Look for the drafts folder.

  • How to set the printer wireless ad Hoc mode to CP1025nw with automatic stop is off? IE never automatic.

    How to set the printer wireless ad Hoc mode to CP1025nw with automatic stop is off? IE never automatic.

    Thank you very much for your help, if necessary.

    Quite a few questions, send, but I will do what I can to answer them.

    I recommend first to buy a router, even if it's one you won't connect to internet and it network with others your PC and printer. This will give you the best features and the results of what you're trying to do.

    In addition, the automatic stop of the printer function can be disabled and is not affected by the type of connection. Usually, you can go through the configuration Menu and select tools to change the options there on the energy saving features.

    Finally, the auto off function on your computer is a Windows question, but one easy answer. If you're on a laptop, you can right click on the battery in the tray (lower right corner) and change the settings for energy conservation.

    You might be better off installing the printer via the USB cord and alternately inspiring when you use it, but which is not optimal if you are printing only a few documents on an irregular basis. A network connection is the easiest to manage across multiple computers, honesty, but you have certain requirements for this connection and limits as well.

    I hope this information is useful!

  • How to set the timeout of read when using channelReader.ReadWaveform?

    I'm using a USB-6210/a. data acquisition, and it works fine until I have to take a longer than 10 s waveform.

    When I take a longer than wave form, I get the error 200284, "some or all of the requested samples are not yet acquired.  To wait for the samples become available use longer read timeout... »

    No problem, I thought, I'll just put a longer period.  I searched through the documentation, and the timeout only I found was the watchdog timeout.  When I wanted a longer value, I get code 200452 State - specific property is not supported by the device or is not applicable to the task.

    I use the code in the example AcqVoltageSamples_IntClk.2008 .net with c# in Visual Studio 2008, .net 3.5 sp1.

    How to set the timeout so that ReadWaveform() is not the time?

    Here is the code:

    privateAnalogMultiChannelReaderchannelReader;

    privateAnalogWaveform awf;

    publicList GetWaveForm()

    {

    Try

    {

    Task getWaveform = newTask();

    getWaveform.AIChannels.CreateVoltageChannel (Channel,"", TerminalConfiguration, RangeMinimum,

    RangeMaximum, AIVoltageUnits.Volts);

    getWaveform.Timing.ConfigureSampleClock ("", SampleRate, SampleClockActiveEdge.Rising,)

    SampleQuantityMode.FiniteSamples, NumSamples);

    getWaveform.Control (TaskAction.Verify);

    channelReader = new AnalogMultiChannelReader (getWaveform.Stream);

    AnalogWaveformdata = channelReader.ReadWaveform (NumSamples);

    AWF = data [0];

    samples As new List();

    for (inti = 0; i)

    returnsamples;

    }

    catch (DaqExceptionexception)

    {

    MessageBox.Show (exception. (Message);

    }

    List of l = newList();

    return l;

    }

    Thank you

    Curt

    Hi Curt,.

    Here is a Knowledge Base that can help you to set the timeout setting in your code:

    The property using Timeout of DAQmx task in Visual Studio

  • How to set the parameter of the BIOS under XP?

    I'm trying to boot into the recovery console windows using a bootable XP Recovery console CD. But I do not know how to set the BIOS to achieve this. Can someone give me instructions step by step? Thanks in advance.

    A quick search on Google for

    For Lenovo 3000 change boot sequence

    .. .finds a message in the forum of the Lenovo users who said you choose Start and adjust it.

    I can't check it works, but maybe someone who knows the Lenovo will verify that or tell you what to do.

    It seems like a simple process, but some of the discussions on how to boot from a CD are ridiculously long and full of trail and error.  When you get your job, let know us the good way that works and I'll put it in my notes!

    Here is a link to the Lenovo's Support Page:

    http://www-307.IBM.com/PC/support/site.WSS/homeLenovo.do?country=us

    Do, or do not. There is no test.

    I need YOUR voice and the points for helpful answers and propose responses. I'm saving for a pony!

  • How to set the time stamp for incoming mail?

    How to set the time stamp for incoming mail?  I have windows vista. I use hotmail/windows live email. My computer has the time is set correctly. My e-mail timestamps incoming messages 7 hours a head of real time. Example: it is now 09:48. A new email is stamped as to settle at 16:48. How can I fix it? Note: the computer is correct.

    Thank you
    Laura
    2.13.2012

    If you mean the customer of email Windows Live Mail, the time stamp on messages is governed by your time zonesystem. Right-click on the clock in the lower right of the screen and select CONFIGURATION... Change your time zone, and then set your clock at the present time.

    If you are talking about the Windows Live Hotmail service, the time zone (s) used are those contained in your account data. Reach
    https://account.live.com/EditProf.aspx
    and change the time zones for the good...

    Windows Live programs and services have their own forums for support at the Windows Live Solution Center. Please address any questions you may have about Windows Live Mail to one of the forums on the right side of this page. For Hotmail, forums and responses are available via this page.

    Noel

  • How to set the color depth

    try to set the color of amd's message color depth less than 24. How to set the highest color depth?

    If your computer allows you to change this setting, it will be located in the "Control Panel > display > resolution > Advanced Settings > Monitor tab > screen colors.

  • How to set the size of the Windows Explorer preview pane so that it will retain the size adjusted?

    All know how to set the size of the Preview windows exployer pane.  I can't remember or 'stick' to the adjusted size.  It always develops a great size, concealing of file information (name, date modified, size, etc...) it's very great pain.

    Help, please!

    Thank you

    * original title - preview pane of Windows Explorer is a pain.*

    Hello

    Try this:

    (a) click the "Hide the preview pane" in the upper right corner (on the left of the help) of Windows Explorer

    (b) to resize the Windows Explorer window for how you want

    (c) click the 'Show preview pane' icon in the upper right corner (on the left of the help) of Windows Explorer

    Navigate to the link below: http://social.technet.microsoft.com/Forums/en/w7itproui/thread/569509ae-a37a-441f-8cc3-95d5231b171b

    Diana

    Microsoft Answers Support Engineer

    Visit our Microsoft answers feedback Forum and let us know what you think, if this post can help solve your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • How to open the message app and past email address to send a new email

    I'm looking for a way how to open the message application to create a new email and the definition of the field emailaddress my application programmatically.

    I think that this should be possible, but it seems that I have did not use keywords to find it on goolge or this forum.

    any ideas?

    http://www.BlackBerry.com/developers/docs/6.0.0api/NET/RIM/BlackBerry/API/invoke/invoke.html#invokeA... net.rim.blackberry.api.invoke.ApplicationArguments)

    with

    http://www.BlackBerry.com/developers/docs/6.0.0api/NET/RIM/BlackBerry/API/invoke/MessageArguments.ht...

    specify what you want to be pre-set in the subject of the message

  • How to set the dependency?

    Hi, I created two projects in the framework still a draft package is based on another medium he uses this project with the class. I am therefore unable to build the project.  In the samples under folder browser 'BrowserFieldDemo' and 'commonlib' of projects with the same addiction they began compiling correctly.  But iam unable to set the dependency it please tell me how to set the dependency.

    My project folder structure:

    com\adea\blackberry

    -Project1

    ------------------------File1

    ------------------------File2

    -project2

    ------------------------File1

    ------------------------File2

    Thanks and greetings

    Sunil.G

    Set the type of project that will be used by another project like 'library '.

    And this library project will be available for you to create dependencies.

    http://picasaweb.Google.com/tbilisoft/BlackberryForum#5275894851814275858

  • How to set the java path on windows 8

    How to set the java path on windows 8

    Original title: Java

    Way easier access and the value of your PATH environment variable is as follows:

    1. Press + W to display the search settings panel
    2. Type "path".
    3. Choose "edit the system environment variables.
  • How to set the banner text in Vcenter?

    Hello

    I'm looking how to set the Banner text in Vcenter not in the ESX Server.

    The banner message should apper when connecting users on the VCenter server.

    Thanks in advance.

    See screenshot:

  • Documaker: How to set the overflow by page 2

    Hi Experts,

    I want to put the overflow of 2 per page.
    Overflow works, but a part of the production is superimposed on 1 page.
    I can't set the overflow by 2 pages?

    1 formA (contains Subform1)
    2 Subform1 (contains Subform2)
    3 Subform2

    Subform2 has 2 pages (pages 1/2).

    Subform1 on proforma is the overflow setting when the trigger by XML.
    Search mask (counter)!: / xxx, data, repetition, repetition

    Subform2 on Subform1 offers which are always repeated 3 times.
    Reference:
    Documaker: How to define repeated 3 times exceeding always.

    For example, there are 2 types (Type 'X', type there "") in "Repeat".
    In the test, sample output is as follows.
    I want 12 pages output, but output data are 11 pages because PAGE 6 superimposes itself on 1 page.
    (1), (2), (3) East County. (Always 3 times a 'Repeat')

    PAGE 1: TypeX (1) - page1
    PAGE 2: TypeX (1) - page 2
    PAGE 3: TypeX (2) - page 1
    PAGE 4: TypeX (2) - page 2
    PAGE 5: TypeX (3) - page 1
    PAGE 6: TypeX (3) - page2 is encroaching TypeY (1) - page1
    PAGE 7: Typical (1) - page 2
    PAGE 8: Typed (2) - page 1
    PAGE 9: Typed (2) - page 2
    PAGE 10: Typed (3) - page 1
    PAGE 11: Typed (3) - page 2

    Please tell us how to set the overflow by page 2.

    Thank you

    It always seems that you have your typed page (1) configured to use an absolute origin and defined on the same page as your another subform.
    If your know you will have to TypeX and typed elements and you want the TypeY to start on a new page, then you must go back to the provision of origin in DMStudio and create a new page and start the subform to TypeY on its own page.
    By definiing two subforms on the same page of the form and each giving origin start to ABS 0, you say that the two elements can co-exist on the same page. That might be true if they are mutually exclusive where you would have only one or the other. But if you can have both, you can't have the second subform have an absolute origin. Otherwise, he will always overlap all that exists on the page where you set trigger.

Maybe you are looking for

  • Loading AOE2, the installation stops at 4%

    Help, please

  • VLC Media File to AVi media

    How can I change a VLC Media file in a file AVi Media with Windows XP

  • replacing motherboard HP pavilion dv6

    I bought the hp pavilion dv6 7040tx recently and few days back my subwofer has stopped working. I installed new drivers but it still doesn't help, so I removed the hard drive cover and I found that the woofer is broken. I don't know what to do now. c

  • Video 9.2.A.1.6 on Xperia M update hangs

    The last update of video application makes the phone hang and the UI system shuts down accidentally while playing movies. The application also makes the phone a lot heat and drains the battery faster in this update from the previous version.

  • I have a problem with the password on the virtual machine.

    Original title: passwords & Windows 7 virtual machines Hello I am running windows 7 pro 32 bit, with a windows XP virtual to develop existing software. The hosts & VM connect to a file on the network server. The file server is running windows XP, the