Today Screen Plugin

Discussion in 'Questions (Windows Mobile)' started by Mr_Gee, Apr 2, 2008.

  1. Mr_Gee

    Mr_Gee Active Member Licensed User

    I know it is (currently) not possible to create a today plug-in with B4PPC
    But what if someone (with C++ knowledge) would create a plug-in which would read a textile located in a specific directory

    We could then at least create programs which can display things on the today screen.
    Just in case someone wants to attempt this, I was also thinking the plugin could have 2 config files
    one for the plug-in (colors used etc) and another one where the user can specify the directory of the text file,
    maybe the option of having multiple lines in there (when it is done reading the first item in the first dir it goes to the 2nd directory)
    if the text file has multiple lines the plug-in could read each one and display this data (kinda like a ticker)

    :)
     
    Last edited: Apr 2, 2008
  2. Mr_Gee

    Mr_Gee Active Member Licensed User

    I might have found something here :
    Creating a Pocket PC Today Screen Plug-in with the .NET Compact Framework

    I installed VS 2008 and tried to do this myself, unfortunately I don't have enough knowledge and the example is for eVC++ so I gave up for now

    If we could edit the html file using our program we would have (limited) today screen plugin support :-D
     
  3. sahoopes

    sahoopes Member Licensed User

    [BUMP]
    Can anyone help with this? Would be a great addition to the Basic4PPC capabilities.
     
  4. greko

    greko New Member

  5. alfcen

    alfcen Well-Known Member Licensed User

    Hello Greco,

    Nice discovery indeed. Thanks a lot for sharing.
    Attached a simple "Today Message Editor" tested under WM6.

    Copy RegDisplay.dll to \Windows, the rest anywhere in the device.
    Source is included.

    The ticker mode is everything else but smooth. This is inherent
    to the frequency by which RegDisplay.dll fetches its data from the registry.
    Playing with the timer interval may yield some improvement.
    Short messages should be doubled to maintain a ticker feel.

    Cheers
    Robert
     

    Attached Files:

  6. taximania

    taximania Well-Known Member Licensed User

    Not sure if it's just me, but Tenki crashes my mio clone, but displays the NotifyIcon on my new xda orbit, but doesn't show the message.

    Lots of buts ......... ?

    Anyone :confused:
     
  7. alfcen

    alfcen Well-Known Member Licensed User

    It is likely that RegDisp.dll was made for WM5/6 devices only.

    In your XDA Orbit (WM?) you need to add the Display to the Today Screen:
    Start/Settings/Today/Items. There you shoud see an entry labelled "Registry diplay".
     
  8. Mr_Gee

    Mr_Gee Active Member Licensed User

    I does sound like it, I'll give it a whirl

    Thanks :)

    @ alfcen
    Nice Job, and even in B4PPC format, I'll also try this one

    :)
     
  9. Mr_Gee

    Mr_Gee Active Member Licensed User

    I just noticed this page:
    ChrisTec Managed Today Screen Item Framework - Home

    Is it something B4P can use?
    I've already tried his demo files and that works.
    importing the dll into a sbp file also works and I'm able to user the .New1
    I just can't get it to show in the today screen, but that could be a user issue ;-)

    I hope someone with a little more library knowledge will take a look at this,
    creating today items would be a great addition to B4PPC.
     
  10. digitaldon37

    digitaldon37 Active Member Licensed User

    The weather application that Klaus and I did uses this. I would be interested if anyone expanded the capabilities of this plug-in (such as displaying an image or additional lines of text)
     
  11. Mr_Gee

    Mr_Gee Active Member Licensed User

    I don't see why this cannot be done with ChrisTec's framework
     
  12. Cableguy

    Cableguy Expert Licensed User

    From what I could understand, from ChrisTec's framework, a reference is passed from the code in c# to the framwork..
    This reference may be even a complete form, as I understood it...
     
Loading...