Home > Archive > Smartphone Developer Forum > January 2005 > Dear Neil Enns, I have Questions About Home Screen Plug Ins & XML
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Dear Neil Enns, I have Questions About Home Screen Plug Ins & XML
|
|
| Brad Hong 2005-01-23, 4:04 pm |
| Dear Neil Enns,
My name is Brad Hong.
I am developing a home screen plugins with Magneto device in S.Korea.
First, I have some limit to write proper English. But, I know you'll understand me.
I am going to ask questions if you don't mind.
I read the document about "Customizing home screen".
THE FIRST QUESTION is "Is it possible insert a image in front of plugin?".
My xml codes is following.("image.bmp" is 16*16 size icon.)
<img path="\image.bmp"/>
<plugin clsid="{44FA0F8C-082F-42b4-BE49-82559F23D5D4}" name="clock" height="40">
<time font-size="30" valign="top" halign="right"/>
<date x="50" font-size="13" mode="short" valign="bottom"/>
</plugin>
I couldn't get a result what I want.
And THE SECOND one is following.
I am developing d-day plug in.
I want to show the memorial day which like exam or wedding anniversary.
For example,
<plugin clsid="{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx}" height="40">
<text><subject/> D-<Dday/></text>
</plugin>
I want it show like following at Home screen,
(assume that <subject/> is "Exam", and <Dday/> is 23)
Exam D-23
I searched "google" site ,other msdn site and any other smartphone site
, but I couldn't find any documents about these questions.
I'll wait your answer.
Thnx.
Best Regards,
Brad Hong in S.Korea
| |
| Neil Enns [MSFT] 2005-01-23, 4:04 pm |
| You can use an image as a background image for most (all?) Microsoft
plug-ins. To do so the XML looks something like this:
<plugin clsid="{44FA0F8C-082F-42b4-BE49-82559F23D5D4}" name="clock"
height="40">
<background image="\image.bmp">
<time font-size="30" valign="top" halign="right"/>
<date x="50" font-size="13" mode="short" valign="bottom"/>
</plugin>
For the plug-in you're trying to write in code you'll have to process the
XML yourself to find those tags, and then replace them with the appropriate
strings that you pull from a database or a file somewhere. There's no helper
routines to do this for you, unfortunately.
--
Neil Enns
Program Manager
Microsoft Visual Studio for Devices
This posting is provided "AS IS" with no warranties, and confers no rights.
"Brad Hong" <breadval@smartwind.com> wrote in message
news:c68cea8d.0501140125.3b96ccf8@posting.google.com...
> Dear Neil Enns,
>
> My name is Brad Hong.
>
> I am developing a home screen plugins with Magneto device in S.Korea.
>
> First, I have some limit to write proper English. But, I know you'll
> understand me.
>
> I am going to ask questions if you don't mind.
>
> I read the document about "Customizing home screen".
>
> THE FIRST QUESTION is "Is it possible insert a image in front of
> plugin?".
>
> My xml codes is following.("image.bmp" is 16*16 size icon.)
>
> <img path="\image.bmp"/>
> <plugin clsid="{44FA0F8C-082F-42b4-BE49-82559F23D5D4}" name="clock"
> height="40">
> <time font-size="30" valign="top" halign="right"/>
> <date x="50" font-size="13" mode="short" valign="bottom"/>
> </plugin>
>
> I couldn't get a result what I want.
>
> And THE SECOND one is following.
>
> I am developing d-day plug in.
>
> I want to show the memorial day which like exam or wedding anniversary.
>
> For example,
>
> <plugin clsid="{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx}" height="40">
> <text><subject/> D-<Dday/></text>
> </plugin>
>
>
> I want it show like following at Home screen,
> (assume that <subject/> is "Exam", and <Dday/> is 23)
>
> Exam D-23
>
> I searched "google" site ,other msdn site and any other smartphone site
> , but I couldn't find any documents about these questions.
>
> I'll wait your answer.
>
> Thnx.
>
> Best Regards,
> Brad Hong in S.Korea
|
|
|
|
|