Problem editing start time of recurring events

Hello

I'm working on an application to synchronize our planning with the BlackBerry calendar software.  I have most of the synchronization works in two ways, however when my BlackBerry application tries to update the recurring events monthly and annual departures with changes downloaded directly from my external server application, the start time does not change after that I am committed to the event.  The end time will change and not recurring, weekly and daily event start times change, but not every month or every year.  I use the same code to update all the:

...

Enumeration foundEvents = eventList.items (eventID);

If (foundEvents.hasMoreElements ())

event = (BlackBerryEvent) foundEvents.nextElement ();

on the other

event = (BlackBerryEvent) eventList.createEvent ();

Start long = inStream.readLong ();

If (event.countValues (BlackBerryEvent.START) > 0)

event.setDate (BlackBerryEvent.START, 0, Event.ATTR_NONE, startup);

on the other

event.addDate (BlackBerryEvent.START, Event.ATTR_NONE, start);

long end = inStream.readLong ();

If (event.countValues (BlackBerryEvent.END) > 0)

event.setDate (BlackBerryEvent.END, 0, Event.ATTR_NONE, end);

on the other

event.addDate (BlackBerryEvent.END, Event.ATTR_NONE, end);

...

I have only this linked with the Simulator to date, but all versions of the JDE I tried (4.5, 4.6, 4.6.1, & 4.7) have the same question.  Is this a bug in the Simulator, which is something I am missing or update order problem?

Thank you!

I was able to replicate this as well and made it to our development team.  Please create a topic in Issue Tracker and post the number here if you want to follow the progress of this fix.

https://www.BlackBerry.com/JIRA/secure/dashboard.jspa

Tags: BlackBerry Developers

Similar Questions

  • Repeat 6 times for recurring events reminders!

    I get reminders of back to back 6 times for this same date.  I have a calendar that is through Exchange.   When I have a reminder set with periodic meetings, I get the same reminder 6 times! There is no with no repetitive nominations.

    I tried to delete my Exchange Calendar profile and put it back. No help. He starts to drive me crazy.

    Also has anyone seen this problem?

    Any suggestions of a potential solution?

    I did a reset partial of my pre + which was proposed by a team of specialists of Palm.  This seems to have solved my problem.

    I guess that means that my calendar data became corrupted.

  • Problems to start a timer

    Hi all

    I'm having some trouble from a timer, in fact, it does not start.
    I do not understand why, I'm new to timers but the code I write is logical.
    package simpletimer;
    
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.Timer;
    
    public class SimpleTimer {
         
         private Timer timer=null;
         
         public SimpleTimer(){
              
              timer=new Timer(1000,new MyListener());
         }
       public void start(){
            
            timer.start();
       }
       public void stop(){
            
            timer.stop();
       }
          public class MyListener implements ActionListener{
    
              public void actionPerformed(ActionEvent e) {
    
                   System.out.println("Doe whatever");
              }            
          }
    }
    then call the timer like this:
    package simpletimer;
    
    public class SimpleTimerMain {
         
         public static void main(String[] args){
              
              SimpleTimer simple=new SimpleTimer();
              
              simple.start();
              
         }
    
    }
    Start method simply needs to start the countdown, call the ActionPerformed, print the line, but it does not work.
    Any advice?

    Hi enrico,.

    I found the problem in your code during execution. You use

    javax.swing.Timer
    

    in your program. Java provides two types of timers for our utility.
    1 java.util.Timer
    2 javax.swing.Timer

    java.util.Timer can be used as a facility for threads to schedule tasks for future execution in a background thread while
    javax.swing.Timer fires one or more events for action after a specified period of time and these timers are recommended to use for the interface associated with tasks such as animation on the chassis, etc..
    So in your program, you used the javax.swing.Timer without launching the GUI. If your program did not run. so try with the following modified code

     package simpleTimer;
      import javax.swing.JFrame;
    
    public class SimpleTimerMain {
    
         public static void main(String[] args){
    
                    new JFrame().setVisible(true); // This builds a new Frame nothing but a gui
              SimpleTimer simple=new SimpleTimer();
    
              simple.start();
    
         }
    
    }
    

    See the below links for more idea:
    http://Java.Sun.com/docs/books/performance/1st_edition/HTML/JPSwingThreads.FM.html
    http://download.Oracle.com/javase/tutorial/uiswing/Misc/timer.html

    Thank you
    Uday

  • Problems with the start time/Display Tune (r) / Vista Business

    Dear community of Mic,
    I have two problems that slow down my computer.

    (1) start time:
    After my computer starts, it loads quickly in the logon section. However, after I give my login information
    the HP computer HP monitor goes black for about two minutes, then the desktop.

    (2) display tune (r): after the desktop appears, I get an error box saying that "Display Tune (r) failed to load.

    I removed Display Tune (r) in the list of programs using the uninmstall tool in Control Panel.
    I even deleted display Tuner (r) additional files I found during a search.

    However, the error of Display Tune (r) appears after every start.  Even tried to reload the program, but to no avail.

    Any help would be appreciated gratefully.

    Thanks in advance.

    B.B.

    [Moved from comments]

    Hello

    Thanks for posting the request in the Microsoft community forum!
    It seems that the laptop computer goes to black screen after login section and the 'Display Tune (r) failed to load. To get these fixed issue, try the suggestions.

    You did changes to the computer before the show?

    Follow the suggestions listed among the links:

    Method 1:
    If you have any external device connected to the computer, you can try to unplug the external devices except the keyboard and mouse and check if the problem occurs.

    Method 2:
    Step 1: Try to start in safe mode and check is that the computer goes to black screen.

    Start your computer in safe mode

    http://Windows.Microsoft.com/en-us/Windows-Vista/start-your-computer-in-safe-mode

    Step 2: If the problem does not occur in safe mode then you can perform a clean boot and check.
    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
    http://support.Microsoft.com/kb/929135
    Note: After the adventures of shooting set the computer to start as usual by performing step 3 above to the Knowledge Base article.

    Method 3:
    If the problem persists, you can update all divers latest including the BIOS on the manufacturer's Web site and check if it helps.


     

    http://Windows.Microsoft.com/en-us/Windows-Vista/update-a-driver-for-hardware-that-isn ' t-work correctly

    Note:

    BIOS change / semiconductor (CMOS) to complementary metal oxide settings can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the configuration of the BIOS/CMOS settings can be solved. Changes to settings are at your own risk.

    Please post if the problem persists, we will be happy to help.

  • I get a message saying Lightroom met an erorr when reading the preview cache and need to stop smoking. Then told that Lightroom will try to resolve thei problem the next time it starts. Never does. Tried to uninstall and reinstall but no good.

    I get a message saying Lightroom met an erorr when reading the preview cache and need to stop smoking. Then told that Lightroom will try to solve the problem the next time it starts. Never tried to uninstall and reinstall but no good.

    Sound familiar to anyone?

    Hello

    Please go to the save location of the Lightroom Catalog and here please delete the Lightroom Catalog Previews.lrdata folder.

    Now please open Lightroom and check if it works.

    Please let us know if it helps.

    Kind regards

    Tanuj Sandal

  • trouble with recurring events

    My recurring events on my calendar on my iphone 6 Plus are a mess.  I realized the birthdays and other appointments are going the next day.  When I try to delete the end date, it adds another element on my calendar.  I like six birthdays on the same day on my phone that I can't get off, they start one day and move on to the next. I tried to remove the end date and that does not work either.  I've tried everything for them down but nothing works.  I use the application calendar Calvetica.  I've used for years and never had any problems with my iPhone, but now it's a mess.  Please notify all solutions as I live by this calendar and right now it's usless

    parameters for each birthday:

    all day = all day

    starts and ends = same date

    Repeat = year

    repetition of end = choose (I have 'never')

    calendar = choose the calendar

    Alert = choose

    See the = choose.

    Click on 'fact' when finished.

  • CalenderService - why are-recurring events not stored as a single event, but as many events as there are has recurrences?

    So I created a monthly recurring event and I did it happen again for 5 times. After saying he event, I went to retrieve a list of events using CalendarService::events() with the necessary parameters.

    I counted the amount of present events, there were 5 events in total.

    I saved them to their own iCalender files, all 5 have exactly the same data, the start date for all 5 was for the first reccurance. Is this a bug? If 1 event that repeats 5 times is stored in 5 separate but exactly the same events, I don't see the point of the recurrence in the CalendarEvent object parameter can

    Oh well I just went full delay, I forgot to setExpand false

  • How can I enter a recurring event?

    For the purposes of schedule on OS X, how can I enter a recurring event?

    What works for me, under the Mavericks, is to click with the right button on the day I want.  The pop-up, I put in the name of the event (and sometimes the location).  In the block that speaks of time and alarm, click 'Repeat' and then chose how I want it repeated.

    Good luck

    SRB

  • Google Calendar becomes inactive in Firefox. Reset Firefox solves the problem for some time (sometimes minutes), then it becomes inactive.

    Google Calendar becomes inactive in Firefox. Can not navigate, cannot change the appointments, can only view an appointment, then freezes and nothing is more possible.
    Reset Firefox solves the problem for some time (sometimes minutes), then it becomes inactive.
    Firefox 28.0, Windows 7.
    Google Calendar is OK in Android and syncs with my PC OK.
    Works fine in Internet Explorer.
    Please notify.

    The extension Freeven pro is probably the problem. Only that disable and check again.

    If you have the same problem after having disabled the extension pro Freeven then, disable graphics hardware acceleration.

    You will have to perhaps restart Firefox for it to take effect, so save any work first (e.g. you compose mail, documents online that you are editing, etc.).

    Then perform the following steps:

    • Click on the orange top left Firefox button, then select the 'Options' button, or, if there is no Firefox button at the top, go to tools > Options.
    • In the Firefox options window, click the Advanced tab, and then select 'General '.
    • You will find in the list of parameters, the checkbox use hardware acceleration when available . Clear this check box.
    • Now restart Firefox and see if the problems persist.

    In addition, please check the updates for your graphics driver by following the steps in the following knowledge base articles:

    In safe mode hardware, acceleration is disable by default.

    Thank you.

  • Time after the event, without blocking the user

    Hi, I am creating a software to control a power supply. One feature that I have bad to add is a timer.

    I have a structure for the event that fires when the user clicks on the buttons, which most slowly increases the current for a period defined by the user. I want the timer to count so far defined by the user of time (in seconds) after the event fires. One thing, however, is that I need to be free to trigger another event (which stops the power supply in an emergency) so I can't have this synchronization process lock me up for snap buttons.

    I was experimenting with the millisecond timer, as well as with a loop that goes through with a defined time interval, but it is not quite give me the functionality I want. (I've been placing these loops of timing outside the structure of the event to other events run yet, but I want the timer to only is triggered after an event is triggered, is it still possible?)

    If you need more information, just ask, thanks!

    Thnigs to do to dramatically improve your code:

    You need not separate loop.  Put your code from timer inside the structure of the case of timeout event.  Set the time-out to 50 instead of 500 to match what is in your separate loop.  You can get rid of the becaue of queue, it is no longer necessary.  Create registry to offset on the main loop.  When the event occurs to start timer, pass the time for the shift on the right side register.  Wire the shift register on the left side in the event of timeout to use its value.  BTW, the shift in your separate loop register is used to nothing because you do not change the value on the wire.  Don't put all the loop in the case of timeout, get rid of the loop and just put the code of the loop, with the exception of the EndTime variable that can be removed and 50mS delay, which can be removed.

    Put the Boolean value of early Inc. inside the case to start Inc. value change event.  Same for all Boolean values.  Put them in their cases of particular event.

    Get rid of local variables now.  You'll race conditions if you do not, you doing wrong in that you don't need especially now.  Look at the current limit control.  Add a wire from the control of the current limit to where feeds the local variable of the current limit.  Delete the local section.

    Move all the controls from the inside of the structure of the event outside the structure of the event, but still within the main loop.  Wire controls where they are going.  Now you can eliminate all local variables of thos and just wire from control where they are needed.

    All outputs error.  One is enough.  Create an error in your front panel.  On the block-diagram wire the error in the first function of Sorrensen before the loop.  Where the error from the Sorrensen hit the loop function, change the terminal on a shift register (right click and select replace with shift register).  Move the error Out 2 to out of the loop on the right side.  Error 2 wire the register shift on the right side.  Everywhere, you need a mistake in, branch off the error in the thread because it is in the loop.  Wire all your outs of the error in the case of the event and the last Sorrensen function to a function of merge error.  Wire of this error on the shift register.  All your errors are combined in a single indicator.

    That should do for now.

  • My win xp sp3 displays this error 0X000000F4 (0 x 00000003, 0X80ED4020, 0X80ED4194, 0X805D2970) in the start time menu some time pc works without error after 2 or 3 p.m. shows this message what solution help me please

    My win xp sp3 displays this error 0X000000F4 (0 x 00000003, 0X80ED4020, 0X80ED4194, 0X805D2970) in the start time menu some time pc works without error after 2 or 3 p.m. shows this message what solution help me please

    This problem is solved replaced smps problem is resolved. Maybe the smps is not given the correct voltage

  • After the last updates of windows have problems with start up and now drivers

    Hello

    After the last updates of windows have problems with start up and now drivers. I get an error code 21 when I try to install the drivers AMD apparently missing.

    May 14, last night I had several (automatically) downloaded windows update

    Today, I was unable to boot my computer with Windows - tried the disk check, start checks etc, and eventually had to use System Restore (for help before the critical update to restore).

    Perfection, everything works, but knowing that windows will attempt to redo an automatic update, tried to check online - no one seemed to have a problem and (naivly) thinking I could always do another restore of the system, I rebooted again.

    Same thing worse. Could not do a sys restore either just before restarting or last night. Chose a date earlier (last week) but then lost the USB drivers and pilots display. Downloaded updated but refuses to let my AMD driver install Windows I have a very unpleasant screen... and I must now stop the installation of this update "critical."

    Would appreciate advice how do my installed display driver or whether anyone else has problems following this update

    Thank you

    Hi Jane,

    You have a disk to install Windows 7 with you?

    I suggest you to check the event viewer for error details report.

    Open event viewer.

    http://Windows.Microsoft.com/en-us/Windows7/open-Event-Viewer

  • BlackBerry Smartphones calendar appointment start times

    This is the first time I use the BlackBerry forum in the hope that someone can solve a problem I have.  I am a user of storm and have not been able to find a way to get new appointments in the calendar set up for the actual start time, rather than the 15-minute interval that seems to be the only option.

    Does anyone know if it is possible on the 9530 Storm to set up meetings with an actual start time instead of just a quarter of an hour the closest?  Have not been able to find this solution everywhere.  Thank you.

    Hi and welcome to the Forums!

    You can override the increments... instead click on the top and down arrows, just enter the numbers you want (you may have to show the keyboard if it is not already displayed).

  • Detect if a HD stream live has a start time

    Hi all

    I use the OSMF framework to play an active stream of Akamai HD DVR. Everything works fine but the question is: what happens if the stream has not yet started? Can you OSMF show a start time and give the user a date with a logo/image on it or something?  It can be easy to answer, but I don't really see anything out there specifically addressing this.

    Yes, hypothesis: a user comes to the site to see an event, the event has not started streaming yet, we want to present the user with some news or whatever saying at the start of the event.

    Possible?

    Thank you

    Corey

    I had good results in using something like:

    mediaPlayer.addEventListener (MediaErrorEvent.MEDIA_ERROR, onMediaError);

  • Bug in the Edit Capture time function?

    I have problems with the feature 'Edit Capture time' in LR3. I'm curious to know if others have a similar experience and you have a few suggestions.

    I have lots of old jpg files that have been scanned and stored on my computer over the years. The actual creation date is not correct on most of them. As I was their import in LR3, I tried to change the date and I've been to unexpected behavior when trying to resolve several images at the same time. What I noticed is that LR3 will correctly assign the new time of capture on some images. The rest, he attributes a time completely random capture that could be earlier or later than what I selected years. I have to repeat the process several times on the images with the wrong date before ultimately bringing all to have time to capture that I want.

    To clarify what I mean by several images, I would say that it could be as little as 2, and other times, it's as much as 100 + images. I use the stamp of time in my naming convention for my file names are unique, so I like it to be as accurate as I can get it for stuff I shot with film. I'm running the 64 bit version of LR3 with the latest updates on a computer that is running the 64 bit version of Windows 7. I have 8 GB of memory in my machine. More than enough free disk space. Does anyone have ideas on this?

    Another thing that I will mention, that may just be me not understanding how the feature is supposed to work. I put a time to capture the 25/05/2000 12:00:00 AM for 33 images. After several attempts to get all 33 of them to make the change, I have them sorted by capture time and noticed that after 10 images from the time of 12:00 to 12:00:01. Then it changed to 12:00:02 after another8 images until I finally touched all the images of 33. I thought it was supposed to put them all to the same date and time? Here, because I do not remember the time I took these pictures in 2000, the only reason why it is important is so that the images appear in the correct order when I sort by capture time.

    I didn't know what it is about that online, but I thought I could put it out there and see if I get anything back

    Let me first explain how the "time capture Edit" is supposed to work in LR (the UI is a bit missleading here), and maybe that will shed light on what you are seing:

    • If you have a picture selected and choose "Adjust at a date and time", the time of Imaging is set to the date / time specified.
    • If you have more than one selected image and choose "Adjust to a date and time", time of creation of the most selected image is set to the date / the specified time and time of creation of all other selected images are adjusted by the same amount of time, because the image chosen was to be adjusted to the date / time specified.

    Example:

    Image Date/time before
    Time after
    Change
    Header 4
    More selected 2010-08-01 15:00 2010-08-03 17:00 + 2 days + 2 hours
    2nd selected 2009-01-15 01:25:13 2009-01-17 03:25:13 + 2 days + 2 hours
    3rd selected 2003-12-31 23:00 2004-01-03 01:00 + 2 days + 2 hours

    I guess that what you are writing is based on different (perhaps with 1 second interval) original date/time on your images.

    Gossweiler beat

    Switzerland

Maybe you are looking for