Coding help - copy the date and the subject of the e-mail

If I wanted to create a menu button that allows you to copy the object (and possibly date) of the email message that is highlighted, it is extremely difficult to achieve? I was told that the BIS, it is very delicate.

Thanks for any help

If you have no experience of java, then you should probably start learning java. Get a java book and work through the sample code provided with Eclipse everything first.

There are a few books entry on Blackberry Java development - start here. The books of J2SE will confuse you by introducing libraries that are not part of Java fo distribution the BB.

You can also take a look at Peter tutorials (search the Forum - Peter Strange)

Tags: BlackBerry Developers

Similar Questions

  • EXTRACT DATES WITH THE HELP OF TWO DATES AND THE BOX

    Hello

    I HAVE 2 DATE PICKER ITEMS
    : P1_ARRIVAL_DATE AND: P1_DEPARTURE_DATE

    AND I HAVE 7 ITEMS in BOXES DAY it return values are 'Y '.

    : P1_MON
    : P1_TUE
    : P1_WED
    : P1_THU
    : P1_FRI
    : P1_SAT
    : P1_SUN

    as I choose date: P1_ARRIVAL_DATE AND: P1_DEPARTURE_DATE
    AND THE DAY, AS: P1_MON, ONLY THE DATES HAVE TO RETURN WHO HAVE MONDAY AS DAY BETWEEN: P1_ARRIVAL_DATE AND: P1_DEPARTURE_DATE.


    FOR EXAMPLE IF I CHOOSE THE DATE: P1_ARRIVAL_DATE AS 07_NOV_2011 AND: P1_DEPARTUE_DATE AS: P22_NOV_2011 AND IT HAS 3 MONDAY BETWEEN THESE DATES
    RESULT SHOULD BE DISPLAY AS
    ======================================
     ARRIVAL DATE-------ARRIVAL DATE+6
    ============================
     07_NOV_2011 ---     13_NOV_2011       // THESE ARE MONDAY DATES
    14_NOV_2011 ---     20_NOV_2011     
    21_NOV_2011 --      28_NOV_2011 
    CAN I CHOOSE MORE THAN ONE CHECK BOX AT THE SAME TIME
    FOR EXAMPLE IF I CHOOSE: P1_MON AND: P1_TUE, THE RESULT SHOULD BE

    ARRIVAL DATE-------ARRIVAL DATE+6
    ============================
     07_NOV_2011 ---     13_NOV_2011   
     08_NOV_2011 ---     14_NOV_2011      
    14_NOV_2011 ---     20_NOV_2011      // MONDAY AND TUESDAY DATES
    15_NOV_2011 ---     21_NOV_2011  
    21_NOV_2011 --      27_NOV_2011
    22_NOV_2011 ---     28_NOV_2011 
    HOW CAN I DO THIS? PLEASE HELP SOLVE THE PROBLEM.



    THANKS and GREETINGS
    CORINE

    X the problem you see is a misunderstanding on my part about what is the date of arrival date of departure... it's inverse reasoning: at your arrival is before departure (and I got it on the other hand, the departure before arrival (:-))

    But there is also a flaw in the code (instead of the Date of arrival by using the select sysdate).

    Please run the code like this:

    with dates as
    (select to_date(:P1_ARRIVAL_DATE,'DD-MON-YYYY')+level-1 as day from dual
     connect by level <= to_date(:P1_DEPARTURE_DATE,'DD-MON-YYYY') - to_date(:P1_ARRIVAL_DATE,'DD-MON-YYYY')  +1
     )
    select day, to_char(day,'Dy') from dates
    where to_char(day,'Dy') = 'Mon' and :P1_MON = 'Y'
    union
    select day, to_char(day,'Dy') from dates
    where to_char(day,'Dy') = 'Tue' and :P1_TUE = 'Y'
    union
    select day, to_char(day,'Dy') from dates
    where to_char(day,'Dy') = 'Wed' and :P1_WED = 'Y'
    union
    select day, to_char(day,'Dy') from dates
    where to_char(day,'Dy') = 'Thu' and :P1_THU = 'Y'
    union
    select day, to_char(day,'Dy') from dates
    where to_char(day,'Dy') = 'Fri' and :P1_FRI = 'Y'
    union
    select day, to_char(day,'Dy') from dates
    where to_char(day,'Dy') = 'Sat' and :P1_SAT = 'Y'
    union
    select day, to_char(day,'Dy') from dates
    where to_char(day,'Dy') = 'Sun' and :P1_SUN = 'Y'
    

    for the period from 01 to 15 November 2011, with P1_TUE and P1_FRI, flag in there, I got this result:

    DAY      TO_CHAR(DAY,'DY')
    11/01/2011     Tue
    11/04/2011     Fri
    11/08/2011     Tue
    11/11/2011     Fri
    11/15/2011     Tue
    

    To simplify (can only test inside the apex report, could not run code in SQL Wkshop):

    with dates as
    (select to_date(:P1_ARRIVAL_DATE,'DD-MON-YYYY')+level-1 as day from dual
     connect by level <= to_date(:P1_DEPARTURE_DATE,'DD-MON-YYYY') - to_date(:P1_ARRIVAL_DATE,'DD-MON-YYYY') +1
     )
    select day, to_char(day,'Dy') from dates
    where v('P1_'||to_char(day,'DY')) = 'Y'
    

    Published by: Kléber M on November 14, 2011 05:06

  • BlackBerry Q10 how to copy the e-mail address of a sender in another email to send to another person?

    With a Q10 how to copy an email address (without contact) recipients e-mail received in the body of another email? With my Torch 9800 I could click on the name of the person who sent me the email and select "Show email address" and then click on copy. I can't understand how to do this with a Q10.

    With the Q10 when I open an email that I can see the senders email address when I type the blue header to pass,

    Name

    Date/time of receipt

    See

    Name

    email address

    I need to copy this address into another email as simply transfer it to another person does not display email address.

    Thanks for any help,

    Kind regards

    Brian

    Try this Brian... Once you open the e-mail, type the name of the sender, it will then show the email account and to which it is sent in an expanded view. Now tap and hold on the sender name again, the right vertical bar should now appear, select copy name. Head to the new body of the e-mail, press and hold in the body of the email right vertical bar appears, select Paste. Note that it will also stick the name next to the email address, so you can delete if you do not need.

    This is how I do it, found nothing as fast as this so far. Hope that helps.

  • Help for a date and time string in the format of get-date

    When you take a date / time string of an object:

    The format of the entry is a string and get-date doesn't seem to be able to convert to the

    a System.DateTime.

    I want to compare this value to 30 days so there are get-date ((get-date).adddays(-30))

    When I try the following, it seems to work then import it:

    (get-date - UFormat "%d/%m/%Y %T" ("2010-06-30 00:00:00" ""))

    If I add the following:

    "[datetime]" (get-date - UFormat "%d/%m/%Y %T" ("2010-06-30 00:00:00" ""))

    He can't convert it.

    Without the datetime component, when I try a superior test uses only the date

    the part as well:

    $Test = '2009-10-06 00:00:00.

    If ($Test - gt (get-date - UFormat "%T"("06/05/2010 00:00:00") %d/%m/%Y ""))

    {

    $Tested = 'Yes '.

    }

    On the other

    {

    $Tested = 'no '.

    }

    $tested

    Results in a Yes tentatives being earlier.

    In the script it returns all records where the date is after

    as 05 and ignore the year, month, and time.

    Any help with this would be greatly appreciated.

    Thank you

    This has to do with the 'culture' that you use in your PowerShell session.

    You can use the Get-Culture cmdlet to see that one you use.

    If you try

    [datetime](get-date -UFormat "%m/%d/%Y %T"("30/06/2010 00:00:00"))
    

    The parameter - UFormat produces a string and

    the cast is expected default mm/dd/yyyy format, for the part of the date.

    So, by reversing the month and day of your UFormat string - that has been corrected.

    BTW, I have attached the line because the SW forum do not have hooks.

    ____________

    Blog: LucD notes

    Twitter: lucd22

  • copy the e-mail addresses and send to others

    How e-mail details of the groups of contacts or distribution lists to my address book outlook 2007 to someone else?

    To export the address book :

    1. Select "file > export > address book...". "in the main menu

       
    2. Select "text (comma-separated values) file.
       
    3. Click on "export".
       
    4. Type a file name in the input box "Save exported file as".
       
       
    5. Click "next".
       
    6. Optionally, select the fields you want to export and click "Finish".
       
    7. Click on 'Close' once the export is complete

    Then comes an attachment that you want to send the address to. And ask them to import it like this:

    1. Select "file > import > address book...". "in the main menu

       
    2. Select "Microsoft Exchange personal address book"
       
    3. Click on 'Import' and click on 'Close' once the import is complete

    Good luck! Please rate me upward if you find my post helpful. Thank you!

  • Copy the data from USB key for comments

    Dear all

    How can I put a USB and copy some data and programs from other PC to a guest VMS on ESX 3.5?

    You can also buy USB hubs attached ethernet. With these, install you an agent on the virtual machine and she moved the USB stick as if it was connected directly to the virtual machine.

    See:

    AnywhereUSB

    http://www.Digi.com/

    Belkin network USB hub

    http://gadgets.fosfor.se/Belkin-network-USB-hub

    http://reviews.CNET.com/networking-and-Wi-Fi/Belkin-network-USB-hub/4505-3243_7-32467513.html

  • Set up the date and time on a HP Officejet Pro 8600 more

    How do you set up the date and time on an Officejet Pro 8600 more?

    I'm going to fax setting, and then there is a dispute of options:

    Resolutions

    Lighter or darker

    Send the original documents by fax

    Set as new default values

    Fax set up but nothing on the date and time.

    Please e-mail me step by step instructions

    Note: The user manual has no instructions for this date and time to set up

    Thank you

    Go to the printer settings. Go to your preferences. There is an option DATE and HOUR.

  • I need to copy a document from my printer and then send it by e-mail and I need help do this.

    I copied a document and must send it by e-mail to the German Consulate in Chicago, Illinois. I have a copier that I can scan a copy, but then I'm lost as to how to send properly.

    Here's how to do it in OUTLOOK: -.

    http://Office.Microsoft.com/en-GB/novice/lets-attach-files-to-an-outgoing-email-HA010376900.aspx?CTT=1

    If you are using one system other than OUTLOOK for e-mail, it will probably work in a similar way to what is in the link above.

  • I get the message "there is no set application to open the URL mail:sots@bbc.co.uk.

    I copied the e-mail address specified in the heading above the BBC site and then tried to paste into a new message in Mail, but without success. Since I get popup messages as shown in the title which precedes but does not know how to stop them. I tried searching the forum but without success. Can anyone help please?

    It is a tag HTML of a web page, in a Web form page well this tag will open an email client to send an e-mail message.

    You can not copy and expect it to work in an e-mail.

  • Display of blackBerry Smartphones 'sent' date and time, not "received".

    The problem:

    When I got my BB 8830 leave for some time (for example during a flight) or been out of coverage, messages accumulate on the server. When I log back, it retrieves all the (I'm mostly concerned about e-mail via BIS) and they all have the date & time that my BlackBerry has come online. In addition, the chronological order is not preserved, (esp. with multiple e-mail accounts). This makes it very difficult to scan my Inbox and understand what I missed and when. It is ridiculous to have 20 messages all with exactly the same date and time.

    The Question:

    Can I have my inbox show is the "sent" date and time or (even better) the data and time, were received by my mail server? Would it not different with BES?

    Thanks in advance,

    Ian

    It only shows the date and time when the message received on the device, this is normal. You can check that your messages the individual icons for your BIS BIS accounts e-mail.

  • Copy the FTP files according to date and time

    Hi all

    I'm creating an application where I need to copy the last file created from a remote FTP site only. Thus, for example, if my remote/ftp location contains some folders and some files, it would list only the file that has been changed recently.

    Right now, NLST and LIST of commands give me the complete list of files and folders directly, but I don't need the file that has been recently modified.

    Can someone help me?

    Hello

    Unfortunately the LIST or the commands do not return good usable change dates and times.

    But there is an FTP task 'MDTM' command to get the date of the change of a specified file.

    You must run this command for each file individually.

    You use the FTP functions from the Internet Toolbox? Then you can do it like this:

    In the response string, you will get the response code (250 for successful operation) and the date of change.

    I think you need to find the last file with little code on the host based on the modification dates.

    Hope this helps

  • Need help with the data storage store, local array and network connections

    Need help with my ESXi 4.1 installation

    My hardware:

    I built a server with an Asus P6T whitebox, i7 920, 12 Gig RAM, NIC, Intel Pro1000 PT Quad, 3ware 9650SE-12ML with 8 1.5 TB SATA green in a raid 6 array gives me about 8 + TB with a spare drive all housed within a NORCO RPC-4220 4U Rackmount Server chassis.  I also have a 500 GB SATA drive which will hold the ESXi and virtual machines.

    The network includes a firewall, Netgear Prosafe FVS336G, GS724Tv of Netgear ProSafe 24 port Gigabit Managed Switch on a dhcp cable modem internet service provider.

    I also have 2 old NetGear SC101T NAS disks (4to) I want to connect to the system how some - at a later date have... data on them and want to transfer to the new storage array. I always looking into the question of whether they will work with ESXi 4.1, or I might have to only access it through Windows XP.

    My Situation:

    I have already installed ESXi 4.1 and vsphere client with no problems and it is connected to a dhcp cable internet service.  I've set up host via a dynamic DNS service name give me a static hostname on the internet.  I installed three machines to virtual OS successfully at the moment and now want to first start by creating a multimedia storage server which will use some of this new 8 TB array, then separate data storage for use with a web server small overhead storage and a backup.  It is a domestic installation.

    Help with the data store and network:

    I was doing some reading, because I'm new to this, and it looks like I'll probably want to set up my table via ESXi as a nfs disk format.  Now, the data store is usually in another physical box from what I understand, but I put my readers and ESXi all in the same box.  I'm not sure that the best way to put in place with grouped network cards, but I want to make this work.

    I understand that in ESXi 4.1 using iSCSi LUN must be less than 2 TB, but nfs - I should be able to add a bigger partition then 2 TB (for my multimedia) in nfs, right? or should I still add it separately as a separate 2 TB drives and then extend them to get the biggest space.

    Any suggestions or direct resources showing examples on how to actually add some parts of the table as data warehouses separate nfs.  I know that to go to the configuration tab, and then select Add to storage, and then select nfs. I have not my picture, but it's here that I don't know what to do because ESXi 4.1 system already has an address, should I put the same thing to the new data store array also (will it work?), and what should I use for the name of the folder and the store of data... just do something to the top.  I thought to later install Openfiler (for a multimedia storage using this table server) as a virtual machine, use the table with esxi so that I can access the same storage space with widows and linux-based systems.

    I also know I have to find a way to better use my quad nic card... put in place of virtual switches, grouping, etc HELP?

    Any direction, assistance, similar facilities to sample, suggestions or resources that would help would be great. I did a lot of hunting, but still a little confused on how to best to put in place.

    You must think of VMDK files of large databases with records of random size guest go read some data (a DLL or an INI file), maybe write some data back, then go read other data. Some files are tiny, but certain DLLs are several megabytes. It's random i/o all and heavy on the search time. IO Opsys is small random operations that are often sequential (go read data, write data, go read other data,...) so that deadlines are critical to the overall performance. That's why people say OPS are / s of reference and forget the MBs flow. The only time where you bulk transfers are when you read media (ISO files).

    Well, now forget all this. Actually the disk activity will depend on the specific applications (database? mail server? machines compiler?), but the above is true for boots, and whenever applications are idle. You should see the profile to know.

    RAID 10 is faster (and often more reliable) than RAID 5 or RAID-6 except in certain specific cases. In General RAID 10 is ideal for many random writes, since the calculation of parity for RAID-5 and - 6 adds to the overall latency between command and response - latency is cumulative if a little slow here and a little slow it adds up to a lot of overall slow synchronous especially with e/s on a network. OTOH RAID-5 and -6 can produce faster readings due to the number of heads, so you can use it for virtual machines that transfer bulk. Test. You may find that you need several different types subdashboards for best results.

    You said 3ware, they have some good grades on their site, but don't believe it. With my 9650 that I found myself with only a couple of their recommendations-, I put the (simple) table for allocation size 256 k, nr_requests at 2 x the queue_depth and use the planner date limit. I had the habit for the Ext4 file system formatted with stride and stripe-width synced to the table and used the options large_files with fewer inodes (do not use the huge_files option unless you plan to have single VMDK files in the terabyte range). Use a cache of great reading in advance.

    Virtual machines use VMDK files in all cases except raw iSCSI LUN that they treat native disks. VMDK is easier to manage - you can make a backup by copying the file, you can move it to a PC and load it into another flavour of VMware, etc. There could be some features iSCSI to your San as a transparent migration but nothing for me. NFS has less chatter of Protocol if latency lower times to complete an operation. NFS is good to read and write a block of data, that's all it boils down to.

    UPS is good, but it won't help if something inside the machine explodes (UPS does nothing if the PC power supply goes down). If the RAID card has an option for a battery backup module, so it can contain some writings in memory and may end up the disk i/o after replacing the power supply. 3ware also limits the types of caching available if help is not installed, and you get just the right numbers with the module.

  • Copy the table with data and constraints

    Hi all

    I need to create a stored procedure that creates a table and copy a table with its data and constraints. We use it for backups. Y at - it all stored procedures out there who can do it, im pretty new to this and I need to create a stored procedure that can achieve this.

    any help will be much appreciated

    Thank you
    K

    Hello

    The procedure that you created is invalid

    Recompile it, and then type

    show error
    

    Rectivy the error until the procedure becomes valid.

    Concerning
    Anurag

  • When I click on a link in a new tab is no longer open in Firefox. Now, I have to copy the link, manually open a tab and then paste the link. Simply, this started happening a few days ago and I haven't changed anything in my settings. Can anyone help?

    When I click on a link in a new tab is no longer open in Firefox. Now, I have to copy the link, manually open a tab and then paste the link. Simply, this started happening a few days ago and I haven't changed anything in my settings. Can anyone help? Thank you

    This problem may be caused by an extension that is not working properly.

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions of the origin of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).

  • How to view the monthly/annual statistics in terms of time past/calories burned, broken down by each individual activity such as run elliptical/outside etc. Y at - it a third party application that can help me to collect and display these data?

    How to view the monthly/annual statistics in terms of time past/calories burned, broken down by each individual activity such as run elliptical/outside etc. Y at - it a third party application that can help me to collect and display these data?

    Hello

    It is not currently possible to review the data the application integrated in activity or training on this basis. If you want Apple to consider adding this feature, you can suggest here:

    https://www.Apple.com/feedback/watch.html

    However, health and fitness data from other sources, iPhone, and Apple Watch are registered and grouped within the health on iPhone app. These data can be exported, which you may find useful to track the cumulative progress and/or analyze your activity more in detail.

    IPhone app activity also has a button for sharing (top right of the screen) that allows to share data - including social media, Messages, Mail, Notes, and a printer.

    Include third-party applications that can be useful, for example:

    Access to QS

    -"Access your HealthKit data in a table so you can Explorer using numbers, Excel, R, or any other tool compatible CSV."

    - https://itunes.apple.com/gb/app/qs-access/id920297614?mt=8

    SpectaRun workouts

    -"View from the workouts of your Apple Watch on your iPhone and to export these workouts so you can download them to your favorite online running community."

    - https://itunes.apple.com/gb/app/spectarun-workouts/id991723862?mt=8

    Data can also be exported directly from the application of the health (Health Data > All - Share at the top button on the right).

    Check the descriptions and support resources for third party applications for supported details of import and data analysis features.

    More information:

    Use the activity on your Apple Watch - Apple Support

    Use of the workout on your Apple Watch - Apple Support

    http://www.Apple.com/watch/health-and-fitness/

Maybe you are looking for