NOVA, MD, DC Monthly Meets Here
Ride Runner and Centrafuse 3 plugin creator
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
Is the RRCALENDAR_TODAYSREMINDER.SKIN loaded by a button or just an internal command witin the plugin?
the screen is loaded with from within the event timer inside the plugin.
NOVA, MD, DC Monthly Meets Here
Ride Runner and Centrafuse 3 plugin creator
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
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.
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)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;
NOVA, MD, DC Monthly Meets Here
Ride Runner and Centrafuse 3 plugin creator
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
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."
NOVA, MD, DC Monthly Meets Here
Ride Runner and Centrafuse 3 plugin creator
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
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
NOVA, MD, DC Monthly Meets Here
Ride Runner and Centrafuse 3 plugin creator
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
Bookmarks