Page 12 of 13 FirstFirst ... 2345678910111213 LastLast
Results 111 to 120 of 125

Thread: RRCalendar with Google

  1. #111
    Confusion Master
    Auto Apps:loading...
    Enforcer's Avatar
    Join Date
    Sep 2003
    Location
    If you go down to the woods today, You're sure of
    Posts
    14,613
    Quote Originally Posted by Sonicxtacy02 View Post

    I thought it was MENU command, but if its not i'll correct that because thats what i meant for it to be. I'll quick fix it.
    Quote Originally Posted by JohnWPB View Post
    Sounds good, nope, just confirmed to be sure with the skin tool, it is defiantly firing the Load; -vs- Menu' command.

    You could almost have the same command but with an 'm' in front which will then be MENU;, that way the skinner can choose what is best for them.


    It's what I have done with some of my commands, requested by carputer1.

  2. #112
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,119
    Blog Entries
    51
    Quote Originally Posted by Enforcer View Post
    You could almost have the same command but with an 'm' in front which will then be MENU;, that way the skinner can choose what is best for them.


    It's what I have done with some of my commands, requested by carputer1.
    um.... ¿que?
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

  3. #113
    Confusion Master
    Auto Apps:loading...
    Enforcer's Avatar
    Join Date
    Sep 2003
    Location
    If you go down to the woods today, You're sure of
    Posts
    14,613
    Is the RRCALENDAR_TODAYSREMINDER.SKIN loaded by a button or just an internal command witin the plugin?

  4. #114
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,119
    Blog Entries
    51
    the screen is loaded with from within the event timer inside the plugin.
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

  5. #115
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,119
    Blog Entries
    51
    John i've added the HOLD command as parameter to the same command the click works on. So basically instead of RRCALENDAR_ROW1COLUMN1 the hold function will be RRCALENDAR_ROW1COLUMN1;EVENT (for an event add, appointment for appointment add of course). This will bring up the new event screen with the date prepopulated.


    I looked into the api and really want some advice on reoccuring events. Here's basically the code on how to handle it.

    Code:
    EventEntry myEntry = new EventEntry();
    
    String recurData =
      "DTSTART;VALUE=DATE:20070501\r\n" +
      "DTEND;VALUE=DATE:20070502\r\n" +
      "RRULE:FREQ=WEEKLY;BYDAY=Tu;UNTIL=20070904\r\n";
    
    Recurrence recurrence = new Recurrence();
    recurrence.Value = recurData;
    myEntry.Recurrence = recurrence;
    My question is, how elaborate should this be inside or RR? Should I add just frequency and leave out start and end dates, or go all out? And if i should go all out, work me up a method of controlling all of this mess within the RR interface (basically draw it out for me in commands/labels/inds, it'll help me organize it programatically)
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

  6. #116
    Confusion Master
    Auto Apps:loading...
    Enforcer's Avatar
    Join Date
    Sep 2003
    Location
    If you go down to the woods today, You're sure of
    Posts
    14,613
    Quote Originally Posted by Sonicxtacy02 View Post
    the screen is loaded with from within the event timer inside the plugin.

    Oh, OK, then the m won't work.


    Maybe have a setting within the plugin.

  7. #117
    The Curator
    Auto Apps:loading...
    Blue ZX3's Avatar
    Join Date
    Aug 2004
    Location
    Chicago area,IL
    Posts
    5,079
    Or make it a pi fired event and the skin author can use the exectbl to use either the load or menu for the screen. This is what I did with one of the pop ups in dfxvoice, as to keep it flexible
    RideRunner...The #1 FE, PERIOD.

    Current Project: DFXVoice [v1.0 Released]
    Next in line: RRMedia v2.0

    DFX 5.1.1 Skin
    Appstore Link

    My RideRunner Plugins
    RRMedia
    RRExtended
    DFXVoice

    "There are no bugs - only undocumented features."

  8. #118
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,119
    Blog Entries
    51
    Quote Originally Posted by Blue ZX3 View Post
    Or make it a pi fired event and the skin author can use the exectbl to use either the load or menu for the screen. This is what I did with one of the pop ups in dfxvoice, as to keep it flexible
    i actually thought i added an custom event when a reminder occurs but i dont see it. Will add it now.
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

  9. #119
    Super Moderator
    Auto Apps:loading...
    JohnWPB's Avatar
    Join Date
    Sep 2005
    Location
    West Palm Beach, Florida
    Posts
    4,691
    Blog Entries
    1
    Quote Originally Posted by Sonicxtacy02 View Post
    John i've added the HOLD command as parameter to the same command the click works on. So basically instead of RRCALENDAR_ROW1COLUMN1 the hold function will be RRCALENDAR_ROW1COLUMN1;EVENT (for an event add, appointment for appointment add of course). This will bring up the new event screen with the date prepopulated.
    So, to do the skinning, either event OR appointment has to be hard coded in the skin?

    I was thinking along the lines of press and hold the date, and a small pop-up with, say, 3 buttons on it. [Add Event] [Add Appointment] [Cancel]

    The appointment and event command buttons would bring up the correct skin accordingly, as with an "event" no start end end time is needed.


    As for the multi-day events:


    Look for the starting date "DTSTART;VALUE=DATE:20070501\r\n"

    Look for the ending date: "DTEND;VALUE=DATE:20070502\r\n"

    and parse them out:
    BeginningDate = 20070501
    EndingDate = 20070502

    Then you can do a calculation on how many days are between the 2 of them.

    DaysBetween = DateDiff(EndingDate - BeginningDate)
    If DaysBetween >1 then
    For MakeEventCounter = 0 to DaysBetween
    SetDateOnTheCanendar;BeginningDate[MakeEventCounter]
    Next

    Else
    AddToCalendar; BeginningDate
    Copy to EndingDate
    End If

    This is NOT perfect code, just a guideline, as I have no idea the variable names, functions and such you are calling on your code

    I think that would be the easiest, and will show the icons on the calendar, and the same information for each of those days.
    Last edited by JohnWPB; 11-16-2011 at 05:04 PM.
    Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DFX5.1 Skin Available in the Mobile App Mart

    My Fiero Build Thread

  10. #120
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    8,119
    Blog Entries
    51
    Quote Originally Posted by JohnWPB View Post
    So, to do the skinning, either event OR appointment has to be hard coded in the skin?

    I was thinking along the lines of press and hold the date, and a small pop-up with, say, 3 buttons on it. [Add Event] [Add Appointment] [Cancel]

    The appointment and event command buttons would bring up the correct skin accordingly, as with an "event" no start end end time is needed.


    As for the multi-day events:


    Look for the starting date "DTSTART;VALUE=DATE:20070501\r\n"

    Look for the ending date: "DTEND;VALUE=DATE:20070502\r\n"

    and parse them out:
    BeginningDate = 20070501
    EndingDate = 20070502

    Then you can do a calculation on how many days are between the 2 of them.

    DaysBetween = DateDiff(EndingDate - BeginningDate)
    If DaysBetween >1 then
    For MakeEventCounter = 0 to DaysBetween
    SetDateOnTheCanendar;BeginningDate[MakeEventCounter]
    Next

    Else
    AddToCalendar; BeginningDate
    Copy to EndingDate
    End If

    This is NOT perfect code, just a guideline, as I have no idea the variable names, functions and such you are calling on your code

    I think that would be the easiest, and will show the icons on the calendar, and the same information for each of those days.
    You can create the MENU;WHATEVER.skin command as the hold function, and have that skin have the 3 buttons with the new command with parameter and it will work the way you want.
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

Similar Threads

  1. Google plots a course for war with Teleatlas and Navteq . USA is victory#1
    By Fiberoptic in forum Crowdsourced Data Collection, Open Source Mapping And Routing
    Replies: 1
    Last Post: 10-13-2009, 05:44 PM
  2. Cacheing Google Earth Roads
    By Pandaman72 in forum GPS
    Replies: 13
    Last Post: 05-14-2008, 11:19 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •