html page on today screen ? - Windows Mobile Development and Hacking General

is it possible ?

there's an example on the MSDN how to achieve this.
It's a tutorial to make a Today Screen plugin with the .NETCF Framework. SInce it's impossible to make a TodayScreen with .NET they use a c++ host which enables you to create an HTML container on the Today Screen. I think that's what you want

activetoday?

Interesting, can you point out what is the title of the example?
So I can search in msdn.
Rhapsody said:
there's an example on the MSDN how to achieve this.
It's a tutorial to make a Today Screen plugin with the .NETCF Framework. SInce it's impossible to make a TodayScreen with .NET they use a c++ host which enables you to create an HTML container on the Today Screen. I think that's what you want
Click to expand...
Click to collapse

I had to search for a while but here it is:
http://msdn2.microsoft.com/en-us/library/ms839442.aspx
I tried it a long time ago, but couldn't get it to work. (but I think that's because of me and not because of the article)

Modaco wrote a plugin for Modaco Plus users to do this.
Also the Plugin app SideX does this, probably others to!
Not so hard to write from scratch if you wanted to.
V

vijay555 said:
Modaco wrote a plugin for Modaco Plus users to do this.
Also the Plugin app SideX does this, probably others to!
Not so hard to write from scratch if you wanted to.
V
Click to expand...
Click to collapse
If you're not familiar with C++ it can be hard

Related

today screen Plugin ?

hi
any one know how to code my own Today Screen Plugin?
i m a programmer.
i want to create my own usefull Today Screen Plugin like Clock.
short cuts. and timer..
i can only develop application for O2, but i dont know how to make
Today Screen
Hi tinkyawoo!
I assume you program in c++?
Today plug-in is basically a DLL that exports two functions with fixed ordinals.
InitCustomItem - the important one, and another (don't remember the name) for options dialog (if you want one).
There is an article on this at www.pocketpcdn.com.
You can also use my code published here for reference:
http://forum.xda-developers.com/viewtopic.php?t=45084
Good luck!
thanks. i will check it
tinkyawoo: if you're a programmer, I suggest checking out the SDK; it has a good example framework for a plugin, although watch out for the repainting bug in the sample.
Otherwise, read levenum's source code as well. It's excellent. You can learn a lot.
V
Would it not be possible....
Would it not be possible to write a small dll which can be controlled from VB.NET or C#.net to display certain things?
If this was released (under BSD or another permissive licence) then we could all use it to develop stuff, which would help those of us who's first language is Basic
Today Plugin
Unfortunately you can't write today screen DLLs in .Net.
There is a lot of info on the microsoft web site - if u care to search.
They do - however - give you a means of writing a EVC DLL that calls a .net application for the today screen info , but I haven't tried it.
Charlie Grillo
Re: Would it not be possible....
What do you mean by "controlled from". Do you want a .NET app to be able to effect the plug in somehow? If so, it is possible...since .NET is managed code and the plug-in is a native dll, the simplest way to have the two communicate is via windows messages.
You can do the following:
-Register a custom Message that your .NET app will broadcast to your plug-in(s)
-in your DLL WndProc procedure, listen for that message and act accordingly
Alternatively, you can have the dll do the same thing, but ofcourse, your .net app would have to be running to recieve that message (unless you have the dll launch it directly).
JonTheNiceGuy said:
Would it not be possible to write a small dll which can be controlled from VB.NET or C#.net to display certain things?
If this was released (under BSD or another permissive licence) then we could all use it to develop stuff, which would help those of us who's first language is Basic
Click to expand...
Click to collapse

How does one create a Today Plug-in?

I have a program called Weather Watcher Mobile. It's a great program that I would love to see a Today Plugin incorporated. I have seen some developers on these forums who have made Today screen plug-ins. How would one create a Today Plugin for an established program? Thanks.
Here is an excellent article that helped me wright my plugin:
http://www.microsoft.com/mspress/books/sampchap/5461a.aspx#100
The problem is from what I can see on the developers site (is this the one you are talking about http://www.singerscreations.com/RSS/Posts/339.asp)
he programs in .NET
There is no way to create a plugin using .NET languages, only using C / C++.
In any case I believe it would be best if you referred this developer directly to the forum so he can ask the specific questions he has himself.
levenum said:
There is no way to create a plugin using .NET languages, only using C / C++.
Click to expand...
Click to collapse
Sure? http://msdn2.microsoft.com/en-us/library/ms839442.aspx
Ok, my mistake, I should have said There is no way to create a plugin using only .NET languages."
I forgot I read about something similar briefly - using a .NET dll and a C++ dll together.
Thanks. I'll direct him to this thread.
Is it possible to write a today plugin, the text on which can be controlled through command line or any other way ?
Plugins do not except command line - they are dll not exe files, but there are plenty of other ways to control plugin text.
For example I am going to release a plugin soon that takes a string from registry, displays it and checks for changes couple of times per second.
levenum said:
Plugins do not except command line - they are dll not exe files, but there are plenty of other ways to control plugin text.
For example I am going to release a plugin soon that takes a string from registry, displays it and checks for changes couple of times per second.
Click to expand...
Click to collapse
When...when...when....????
I am planing a very nice plugin but it is really difficult to make one. All examples on the net are for evc++, I did not find a single sample for Visual Studio 2005.
If u are making something like this, it will really save a lot of my time.
Soon I hope, but it will be evc++ as well. I hate VS 2005, its fat, slow and costs a lot.
But if you are using c++ (there are samples on MSDN for c#) it doesn't matter what compiler the project is for, just use the source files.
See the links in previous posts for detailed explanations.

Developing Today screen plugins (Noob)

Hi all,
I'm pretty new to HTC and this forum and i cant seem to find what need. (i guess i'm not down with the lingo yet )
I want to build a today screen plugin for a HTC Touch and i was wondering if there were any good development kits or tutorials which provide a getting started guide to building apps and interfaces.
Search this forum with "Today plugin".
http://forum.xda-developers.com/showthread.php?t=237932
my links
As I just posted five seconds ago in another post, forget anything else than C++, and that means Visual Studio.
Rudegar links are usefull, but this are even better
http://www.codeproject.com/ce/CTodayWindow.asp
and here
http://www.codeproject.com/ce/CTodayOptionsDialog.asp
Here is an excellent article that got me started.
Also check the link in my signature to the RegDisplay. That thread has a source for a "skeleton" plugin you can use as a base (to save some standard writing).
If you aren't adept in C++ or hard coding, a GREAT compromise is using RLToday.
With RLToday the custom "skins" you can create, are all done in XML. You can use custom graphics, icons, and even fonts (if you install them to your ppc). The forum on the RLToday site has tons of users' skins posted and you can find one that has some elements you like and work off of that XML file. And with RLtoday you can call up registry keys and other stuff too with EASE!
Hope this helps.
Oh the rltoday site is http://www.rotlaus-software.de/
I have a few RLToday skins posted at my site.
http://mobile.meangmedia.com
Also check out the MortScript section of treocentral. Zbop wrote a billboard plugin that allows the use of MortScript to create Today screen plugins. I've created several with it and it works great.

[Required]Gif non-mfc class

Hi guys,
I need a vs2005 compilable version of c++ unmanaged code to use on a today plugin.
I have a few classes that I found somewhere but they're quite heavy on the dll...
Problem is I only find mfc classes and since today plugins are a mfc "no go" i'm left empty handed...
Thanks
philocritus said:
Hi guys,
I need a vs2005 compilable version of c++ unmanaged code to use on a today plugin.
I have a few classes that I found somewhere but they're quite heavy on the dll...
Problem is I only find mfc classes and since today plugins are a mfc "no go" i'm left empty handed...
Thanks
Click to expand...
Click to collapse
Check here:
http://www.xdp.it/cximage.htm
It's a wide imaging API in aC++ (look for the PocketPC port in downloads section). There will be a lot of things that you may not use... but it includes gif support may be you can extract it from there....
Hope this helps.
APBilbo said:
Check here:
http://www.xdp.it/cximage.htm
It's a wide imaging API in aC++ (look for the PocketPC port in downloads section). There will be a lot of things that you may not use... but it includes gif support may be you can extract it from there....
Hope this helps.
Click to expand...
Click to collapse
Thanks for the quick reply apbilbo!
I'm using that one for now. Yesterday I ripped the code down to gif-bmp support only, but still the final dll was about 400kb... too large!
I'll still be trying to rip extra-funtions since i ripped only the classes and includes for now..
Do you use it on throttle?
philocritus said:
Thanks for the quick reply apbilbo!
I'm using that one for now. Yesterday I ripped the code down to gif-bmp support only, but still the final dll was about 400kb... too large!
I'll still be trying to rip extra-funtions since i ripped only the classes and includes for now..
Do you use it on throttle?
Click to expand...
Click to collapse
Throttle code is MFC . Also it doesn't have gif support (other than the one provided by the IImagin api).... for now .
APBilbo said:
Throttle code is MFC . Also it doesn't have gif support (other than the one provided by the IImagin api).... for now .
Click to expand...
Click to collapse
your right... should have remembered that when I saw the .exe on the today plugin version..
Do you happen to know a sweet simple template for .net today plugin programming?
the one on the msdn site is pretty crappy :S
philocritus said:
your right... should have remembered that when I saw the .exe on the today plugin version..
Do you happen to know a sweet simple template for .net today plugin programming?
the one on the msdn site is pretty crappy :S
Click to expand...
Click to collapse
nope sorry... that's the only one I know

Need info on making "today plugin" for my app.

Hi,
I'm developing a simple application for my winmobile phone,
the application is to controll (for now) winamp with the phone.
(Also gonna add support for other apps).
I got tired of not being able to controll it from anywhere in my appartment,
so i started developing this solution.
Now i search some info on how to make a simple Today plugin for my app,
so that you don't have to have the full gui open all the time..
Anyone who has some good links for some tutorials?
(I code in c#)
Screenshots is attached.
If people here want's the apps, then let me know..
Look at this thread: http://forum.xda-developers.com/showthread.php?t=445396
Lots of links for information on how to do things.
hedphelym said:
Hi,
I'm developing a simple application for my winmobile phone,
the application is to controll (for now) winamp with the phone.
(Also gonna add support for other apps).
I got tired of not being able to controll it from anywhere in my appartment,
so i started developing this solution.
Now i search some info on how to make a simple Today plugin for my app,
so that you don't have to have the full gui open all the time..
Anyone who has some good links for some tutorials?
(I code in c#)
Screenshots is attached.
If people here want's the apps, then let me know..
Click to expand...
Click to collapse
Today screen plugins can only be done in native code, so c++. But there is a wrapper for .net. Kinda old though.
http://msdn.microsoft.com/en-us/library/ms839442.aspx
There is this http://msdn.microsoft.com/en-us/library/ms879585.aspx for info too. In some of their examples they have a today screen plugin. here
Also here is a bunch of info
http://www.pocketpcdn.com/sections/today.html
hedphelym said:
Hi,
I'm developing a simple application for my winmobile phone,
the application is to controll (for now) winamp with the phone.
(Also gonna add support for other apps).
I got tired of not being able to controll it from anywhere in my appartment,
so i started developing this solution.
Now i search some info on how to make a simple Today plugin for my app,
so that you don't have to have the full gui open all the time..
Anyone who has some good links for some tutorials?
(I code in c#)
Screenshots is attached.
If people here want's the apps, then let me know..
Click to expand...
Click to collapse
try this ManagedTodayScreen

Categories

Resources