Jump to content

Scrolling appointment plug in


Guest sullivanpt

Recommended Posts

Guest sullivanpt

I've just completed my first Smartphone Plug In. A replacement for the All Day and Calendar Plug Ins. This one occasionally scrolls the entire days' events by on the home screen.

I was getting annoyed that the default all day plug in only showed one event, and particularly frustrated with the priority scheme of the calendar plug in that refused to show "non-busy" appointments when they were near a busy appointment. In my opinion, this is a much better compromise for the small screen.

I say completed because this version is stable and shouldn't crash your phone or slowly eat up your memory. Aside: I am amazed any Plug-Ins ever get written with the amount of bad sample code out there!.

Functionally I know there's much room for improvement and enhancement. And I'm hoping my new friends here at modaco will help provide suggestions and advice.

The link below takes you to the Handango product page, then pick "try" for the free version. (No reason to pay me $ unless you really want to ^_^ )

http://www.handango.com/PlatformProductDet...roductId=143377

(11/22/02: Updated the URL to point to v1.9).

Link to comment
Share on other sites

hi buddy

great plugin, very useful! only one question: can you add an option for costumized font size of the appointment text? i don't want to use 30 or 40 pixel of my screen for the appointments since its getting crowdy on my homescreen with all that great plugins. i usually use a font size of 11 or 12 in my calendar plugin - any chance to implement costume font size option? if so i will quickly remove the fancy stripes the plugin brings when in trial mode ;-)

cheers, lutz

Link to comment
Share on other sites

Guest sullivanpt

Thanks for the positive comments! ^_^

In theory, you can specify customized font size and colors by embedding a format tag within the plug in. I tried to implement all the format tags described in the MSDN home screen article (link below).

The sample XML parsing code was the least polished of everything I worked from. I fixed all the memory leaks I was given and have started cleaning it up so it actually works in all cases :!: If you find a case that doesn't work, post here or e-mail me. I hope to get all the formatting perfect by next week.

http://msdn.microsoft.com/library/default....2homescreen.asp

Link to comment
Share on other sites

thank you for your reply. i wonder why so less people jump on it at the moment since an often asked question is how to get more than one appointment on the homescreen and this is a perfect solution.

i was not able to reduce font size in the classic way but i'll do some reformatting later on and try my luck.

another question: why does it only include today and tomorrow? i would like to see a whole week in it! any option to make it more days in advance?

cheers, lutz

Link to comment
Share on other sites

Guest nickcornaglia

o/ GREAT! Gonna load this as soon as I get home tonight.

Request....

Instead of going to the Calandar app when pressing the action key...could you make it customizable so that I can make it go to PowerCalendar?

Look forward to trying this tonight!

^_^

Link to comment
Share on other sites

good taste encence - i use power calendar too. lets see if this is possible. you will hate the pink stripes in the trial :-)

let me know how much you can costumize it with your own font size, style and colour!

cheers, lutz

Link to comment
Share on other sites

Guest sullivanpt

I don't have power calendar, but I expect making the link customizable will be easy. Also, making it scroll ahead through a customizable number of day should be easy as well. As soon as I master the XML parsing I'll add these features.

(And maybe a brief delay while I make up with the wife, who has been less than pleased that I've been glued to my computer every night for the last week. :wink: )

Thanks for the great suggestions!

Link to comment
Share on other sites

Guest chucky.egg

Hey this sounds cool!

Two questions:

1) When you say it scrolls, does it do that by itself, or do you have to scroll manually? (I'm guessing manually)

2) I've got only a *very* basic idea of how to get this into a homescreen, can anyone post a code snippet so that we can see the formatting options and syntax and so on?

Link to comment
Share on other sites

...its of course scrolling by itself and the xml code sample is included in the zipfile that you can download via handango in the authors first post. there is also a sample homescreen included that gets installed automatically when you install the application and you only need to copy it from the homescreen folder to your pc to check out the plugin code.

cheers, lutz

Link to comment
Share on other sites

yes you are right i was kind of confused to see it in the homescreen folder too. but hey - tell your wife that you will be a hero for us if you make the plugin even better, sullivanpt! take your time...

cheers, lutz

Link to comment
Share on other sites

Guest sullivanpt

Yes, I apologize for not putting together a Windows desktop installer yet. It is on my list, I'm hoping I can use EZSetup for that, which would show the README before you install -- as I imagine everyone would expect :oops:

As you discovered, the README is currently in the CAB, and is also installed to you application datahome folder, along with the sample XML home screen.

And yes, the plug in supports both manual and automatic scrolling.

Thanks for all the great feedback and questions!

Link to comment
Share on other sites

Guest chucky.egg

The readme being in the CAB is no problem, I just didn't realise it was there!

Can someone help me with this though... I'm no good at homescreen tweaking! :oops:

I'm using Kleinweder's "Beach" homescreen, and I've changed the calendar bit to use your plugin. But when I scroll down to highlight the plugin the text turns white (which makes it hard to read). I want it to stay black, but just go bold.

If I can get the colours sorted it's a winner!

This is my code (with <> replaced with {} so that it will show here):

 {plugin clsid="{1BC4FD2C-5B25-4f34-A4A8-58915667BF3D}" name="appointments" height="15"}

   {background b-border-width="0"}

     {format state="selected" font-weight="normal" bgcolor="transparent" fgcolor="#000000"/}

   {/background}

   {label font-size="12" x="0" y="0" w="176" fgcolor="#000000"}

     {format state="selected" bgcolor="transparent" font-size="12" font-weight="bold" fgcolor="#000000"/}

     {text}{subject/}{/text}

   {/label}

 {/plugin}

Link to comment
Share on other sites

Guest chucky.egg

Just trying to apply some logic to this (it's getting late for that!)

In the example homescreen the text is black when NOT highlighted, and white when highlighted. The highlight colour is blue. But on this plugin, when selected the text goes blue (so you can't see it against a blue highlight).

It looks like the text in the plugin is taking on the COLOR_HOMEHIGHLIGHT value, rather than the COLOR_HOMEHIGHLIGHTTEXT value

I've changed the scheme in the homescreen so that COLOR_HOMEHIGHLIGHT is #000000 (black) rather than #D7D7D7 (light grey, not white as I said earlier). Now the highlight on the MRU bar is black, and the text in the plugin stays black even when highlighted.

Does that make any sense?

I've attached the origianl Beach.home.xml, and my modified one Beach.Cal.home.xml so that you can see what I mean

I can live with it like this, but it will probably cause a problem on some homescreens I think... assuming this makes any sense and I'm right in my uneducated guess work!

kl1wdr.Beach.Cal.home.txt

kl1wdr.Beach.home.txt

Link to comment
Share on other sites

Guest sullivanpt

No chucky, you're not going crazy. The XML parsing in the plug in needs more work. I also just discovered a problem with recurring appointments. I'll try to fix all these issues this weekend.

Thanks for all your help locating my mistakes. I will send you a free full version upgrade as soon as I fix your issues. Lutz, I'll send you one too. PM me your e-mail info.

I am really pleased with the positive feedback I've gotten so far. Thanks!

:lol:

Link to comment
Share on other sites

it makes its way around the world and zou really should keep up the good work on it! i just saw it on the german smartphone board...

if i can help anything just let me know! and thanks for your offer, i'll drop you a note!

cheers, lutz

Link to comment
Share on other sites

Yeah, I've having a hard time getting this to work. I using a slighly modified k1wdr Tree home screen with my SMT5600. I replaced the calendar plugin with the appointments plugin. When I refreshed my home screen, I have a box with pink diagonal lines going across. I can't see the appointment text either. If I select the appointments plugin and hit left or right and then unselect it, I can see the appointment for a few minutes. This is probally just a text formatting problem.

Also, as you already know, it doesnt like reoccuring appointments.

Hope to see you update it! Thanks for you hard work!

Link to comment
Share on other sites

...the pink lines are part of the trial limitations and will of course disappear when you give 5 bugs for the software...

regarding formatting and stuff i am sure sullivanpt will come over with a solution as soon as his wife lets him out of her arms :-)

cheers, lutz

Link to comment
Share on other sites

Guest chucky.egg

Hi sullivanpt

Thanks for the confirmation of the problem (and the offer of a freebie!) - i couldn't tell if i was being thick. i really don't know much about homescreens!

One other possible bug:

If you scroll the plugin to a future appointment and then click to open it you get the spinning hour glass thing for a second, but it doesn't move the calendar to the top of the zorder if it's already open. I don't know if its supposed to... just guessing at what the hourglass is for.

very cool plugin. keep up the good work!

Posted from my SmartPhone!

Link to comment
Share on other sites

Guest coolandfast

hi sullivanpt.

i tried to contact you by mail, but all your addresses do not work (at least at the very moment).

i purchased your plugin today and installed it. i am not really an expert with smartphones/homescreens/xml but i believed to be able to install the plugin into my homescreen and get it to work.

there are some problems:

1. the plugin does not show all events of a day, it seems to have problems showing a re-occuring appointment.

today i have 2 appointments (the second one re-occuring every week). the plugin shows me the first appointment, misses the 2nd (re-occuring) appointment and shows me tomorrows all-day entry....

2. is it possible to change the order, how the fields are displayed? now it shows appointment, time. but as you might guess from my englisch, i'm german speaking and our standard to display this would be time, appointment

3. the display of the all-day entry is shown as appointment, date, date (date is displayed twice). could this be changed to date, appointment?

4. i tried to change the format of the plugin-display (fontsize, color) but was not able to do it. i'm not a xml-expert so would it be possible for you to make a example which parameter can be changed and how the syntax has to look?

5. is it possible to change the interval from 20 to e.g. 5 seconds?

many thanks for your support and keep up the good work.

btw: i bought the plugin from handango. if there is a new version, will i receive it and if yes, how?

btw2: in the readme, your website adress is wrong

Link to comment
Share on other sites

Guest chucky.egg
5. is it possible to change the interval from 20 to e.g. 5 seconds?

Yeah, that would be useful for me too

@cool&fast

How do you show the date and time for an appointment? :?:

I've tried , and but none of them make any difference

Link to comment
Share on other sites

Nice plugin mate! :lol: This will be a great addition to the increasing plugin list!

I have installed it on a c500, and it's working pretty much the same as everyone else has mentioned. However, on occassion, I get the eggtimer when I click the plugin, but the calendar does not open at all.

Apart from that it seems to be doing everything I would want it to do, but would definately require all the format & background tags that other plugins have.

Look forward to more developments! :wink:

Link to comment
Share on other sites

Guest chucky.egg

I've just noticed that since all my appointments for today have passed (whoo hoo!) if I now scroll right it starts at the very begining of my calendar (6/10/04), it doesn't start from the current date.

When I put in a dummy appt for later today it now shows the future items again when I scroll, and if I delete that dummy appt it reverts to starting at the 6/10/04

@anyone!

Can anyone give me a clue how to get the date/time of the appts to show with this plugin?

Link to comment
Share on other sites

Guest sullivanpt

cool&fast, my sincere apologies about the e-mail address! My web host installed a SPAM blocker that blocked 'support' style addresses. It's fixed now. When the new version is uploaded to Handango, you will receive a "discount code" via e-mail for a free upgrade to the new version. Thank you for your patronage!

I'm working on as many fixes as I can today. I hope to have everybody's issues resolved and new suggestions implemented by Monday.

I love all this positive feedback. Thanks!

:smile:

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.