Replacing the Today Screen - Windows Mobile Development and Hacking General

Is it possible to replace the todayscreen completely?
I managed to remove the todayscreen setting hklm\software\microsoft\today\enabled to 0 but this resulted in an area below the taskbar that was not updated when the last window was closed.
Background: I want to create a plugin based todayscreen that handles .net cf plugins.
Device: Qtek 9100 (HTC Wizard), wm 5, .net cf 2.0
Andreas

you can disable all todays plugin by code and enable just yours

--was OT, so i removed it--

That whisbar desktop looks awsome, definitly needs to try that one out.
The reason for my original post is to create a today screen replacement that can handle .NET compact framework plugins. The method suggested on MSDN to use htmlhost and generate html from .net cf is not a very good solution to create todayscreen plugins.

if you want create today plugins forget .NET

crino said:
if you want create today plugins forget .NET
Click to expand...
Click to collapse
I want to remove the today screean and create my own, written in .NET.
Not plugins for the existing today screen.

Not sure if this is outside what you're capable of or if it's something that would work for you, but you could just create a standard today plugin that itself has it's own plugin architecture that could load and display plugins written in .net cf. Then just tell you today screen to only load the .net cf loader plugin, then have that plugin load whatever it's setup to do.

If it is possible for a standard today plugin to load a .net cf component, why does all examples on creating a .net cf todayscreen plugin with a host require the .net cf component to output html that is displayed in the actual plugin?
Based on this I just asumed they could not load a .net control/form etc.
Any ideas on the possibility for a .net application to load the native todayscreen plugins in order to preserve functionality of the current todayscreen in my new application.

Related

.NET CF 2.0 slowdowns

I'd like to have a go at developing something for my spanky new phone (HTC Wizard). So once I was able to drag myself out from behind the sofa from looking at the Win32 API, I took a look at .NET CF, screamed a little and eventually got a simple .NET CF 2.0 C# application to run.
However ever since I installed .NET CF 2.0 the phone has slowed down, sometimes does not completely refresh the today screen when unlocking, and otherwise play up, wanting at lest one soft reset a day to play happily. It goes back to normal if I uninstall .NET CF 2.0. I only have three applications installed (.NET CF 2.0, TCPMP and GPRS Monitor Tool), so it appears that it is .NET that is the cause.
It makes no difference if a .NET application is running or not.
Has anyone else experienced such problems with .NET CF 2.0 (both with this phone, and other devices)? And, more developer orientated can you compile .NET CF 1.0 applications with the .NET 2.0 compilers? I have done a small amount of Googling.
Thanks,
Mike
(Sorry if this is the wrong place to post this kind of question...)
Hi,
Does the Win32 API work with Windows Mobile devices? if it does but in a limited fasion do you have a list of the available API?
Thanks
vbJoe said:
Does the Win32 API work with Windows Mobile devices?
Click to expand...
Click to collapse
Aye.
vbJoe said:
if it does but in a limited fasion do you have a list of the available API?
Click to expand...
Click to collapse
The .NET apis are all in one (with remarks like "not in WM"), I think the same was true of the Win32, it might have also came with eVC.
Ah ha ok fair enough, Where can I locate the listing of API's?
With vs6 I used to use an APIguide application but thats not been updated since the whole .NET boom
http://msdn1.microsoft.com/en-us/default.aspx
good place to start looking

Visual Basic Runtime

Hi all,
does anyone know if there is trick to install Microsoft Visual Basic runtime in my Universal (JasJar) ?
Thanks
nicoska
There is no VB Runtime for Windows Mobile. The closest you can do is installing The .NET Compact Framework, but you will not be able to run VB Scripts or VB applications on a Windows Mobile device. At least not now anyway.
ccisn said:
There is no VB Runtime for Windows Mobile. The closest you can do is installing The .NET Compact Framework, but you will not be able to run VB Scripts or VB applications on a Windows Mobile device. At least not now anyway.
Click to expand...
Click to collapse
I've installed this http://www.funambol.com/opensource/downloads.html
Is a SyncML client for PocketPC and when i tap on it ask me to install Visual Basic Runtime.
It's possible ?
thanks
nicoska
Interesting. I went there and noticed it is for PPC 2003. I tried installing it (but didn't let it go through)
It did look like it was going to install some VB Runtime for PPC. (It showed up on the screen)
Check your add/remove programs and see if it's in there. If it is, then it probably doesn't work with WM 2005.
Good luck
ccisn said:
Interesting. I went there and noticed it is for PPC 2003. I tried installing it (but didn't let it go through)
It did look like it was going to install some VB Runtime for PPC. (It showed up on the screen)
Check your add/remove programs and see if it's in there. If it is, then it probably doesn't work with WM 2005.
Good luck
Click to expand...
Click to collapse
Yes, indeed. This should be a eMbedded VB Runtime, which works with WM 2003.
Visual Studio 2005 should be delivered me in the next days, and for all I read by now this will include a VB environment for WM 2005. Possibly this will be compatible to... oh wait! We're talking about Microsoft, aren't we? So, forget this about compatibility... :roll:
Yeah. I tried to create an app in eMbedded VB and it didn't work out of the box on WM 2005. I have used VS2005 and created a couple apps in VB and they work, but I needed to install the MS CF 2.0 and that was it.
I had assumed that WM 2005 was supposed to have CF 2.0, but mine did not. I also have a Qtek 9100, not a 9000. So the Jasjar's and 9000's may have it already.
thanks a lot.
Please let me know when you get the vb runtime for wm5, so then i can check if sync ml works.
bye
nicoska
ccisn said:
Yeah. I tried to create an app in eMbedded VB and it didn't work out of the box on WM 2005. I have used VS2005 and created a couple apps in VB and they work, but I needed to install the MS CF 2.0 and that was it.
I had assumed that WM 2005 was supposed to have CF 2.0, but mine did not. I also have a Qtek 9100, not a 9000. So the Jasjar's and 9000's may have it already.
Click to expand...
Click to collapse
Can you post the app so i can test it ?
bye
nicoska
nicoska said:
Can you post the app so i can test it ?
bye
nicoska
Click to expand...
Click to collapse
which app? the VS2005 one? Or the eMbedded VB one?
I actually don't have the eMbedded VB one anymore.
I'll attach this simple one created in VB off of VS2005. It just powers off or resets the device. (It is not signed)
Also if you are just curious about the CF runtime you can run \Windows\cgautil.exe and it will pop up with all the versions of the Framework. Mine only has 1.0 by default. After installing 2.0 it shows both.
I was using a bunch of VB apps on my jamin (prophet) without any problem, and all of a sudden when I try to open them i get; "there is no application associated etc."
Anyone has any clue about that? Can I install (or re-install) visual basic on wm5?
Thanks all

Countdown Timer

Is there a Countdown Timer application that doesn't use the .NET COmpact Framework?
.NET slows down my desktop, I don't even want to know what it will do to my 8125.
I'm looking for a Countdown app in which I can put in a specific date and it will tell me how many days, hours, minutes seconds I have. A Countdown, pretty much.
nexess said:
Is there a Countdown Timer application that doesn't use the .NET COmpact Framework?
.NET slows down my desktop, I don't even want to know what it will do to my 8125.
I'm looking for a Countdown app in which I can put in a specific date and it will tell me how many days, hours, minutes seconds I have. A Countdown, pretty much.
Click to expand...
Click to collapse
Try this out for size!!! Just take off the .zip and then run!
Nice program, but too bad it needs .NET
Well, .NET is not "slowing down" your computer! .NET is part of your OS since Windows XP, so, without .NET you wouldn't even have a functioning OS. Even Windows Mobile has the NET COMAPCT FRAMEWORK build in since version 5, so, there is no way around it!
You might wanna try out this one - haven't tried it myself, so, I am not sure if it will work properly: http://www.pocketone-soft.com/stopwatch/2003sevga.php
Yeah, maybe your right, but when I run the application, it asks for a newer version of .NET
.NET is not a native part of Windows XP SP2, it is a separate component.
Any software that requires another piece of software to be installed is called bloatware in my book.
The application you posted is a stopwatch, not a countdown timer
nexess said:
Yeah, maybe your right, but when I run the application, it asks for a newer version of .NET
Click to expand...
Click to collapse
Well, looks to me like the programmer of that software did not use the standard COMPACT FRAMEWORK but the latest (either 2.x or a higher BETA) when he compiled the program! Howeever, .NET will not slow you downit is in fact even increasing the speed of a higher OS, such as XP with latest updates and VISTA.
I had to write an article for it in a local pc magazine - I published it later in a programmer forum - you still can read it here: http://www.codingmonkeys.com/index.php?topic=1014.0
You will have to live with the fact that programmers will start more and more with developing .NET application - there is no way around it!
If you really want to find a 'non' .NET application look for older software (PPC 2003) which is out already for a few years. If it is only a countdown timer you're looking for it can't be too hard to find!

Developing WM6 without CompactFramework??

Hi @ll codejunkies
i want to start developing/programming without the .NET CompactFramework for our WM5/WM6 Devices..
Till now, i used Visual Studio 2005, but i think with .NET the program is only "interpreted". Now i want to compile a program that donĀ“t need the Framework for .NET.
So my question: Which Programming Languages are available to develop this "real" exe-Programs?? and what GUIs and Compilers i can use for it?
thanxx 2 @ll
The only real option without using runtime libraries such as the .NET framework is C++.
Is therefor a SDK?
You use the same SDK you were using all along. Infact, you can even use the same Visual Studio you were using all along. Just select Visual C++ on project type, and select smart device solution, and you're ready to go! . You'll have to have extensive use of the win32 api to get started though. The basics are EXACTLY the same as the desktop version.
on the microsoft Homepage i found out, that the SKD for WM6 only support .NET???
how can i then develop and compile then to native code, without use .NET Framework????
nEuDy said:
on the microsoft Homepage i found out, that the SKD for WM6 only support .NET???
how can i then develop and compile then to native code, without use .NET Framework????
Click to expand...
Click to collapse
The SDK supports C++ as well. Visit the MSDN site for technical documentation.
nuEdy: It`s not true, SDK has tools and documetation for managed and of course native development.
As mentioned above. Embedded C++ version 4.0. Free download from the Microsoft website. Compiles for the WM 2003 SE platform SDK included in this download. Without .NET you will have to use the standard WIN32 application model, responding to WM_XXXXXX messages via WIN32 API calls. If you haven't done this before, you will have a long hard slog to master it, but the results are worth it. Start by looking at the code created by the hello world app until you understand what the hell is going on. Release .EXEs can be run directly under the WM6 SDK as this is a true ARM emulator, not the half way x86 code used by the 2003 SE SDK.
Stick to two menubar items and WM6 will display them either side of the keyboard icon as per WM6 Apps. More than two and the menubar appears in WM2002/3 mode.

Today plugins with Visual Basic?

I have many ideas for the today screen that no other developer is doing anything about, so I decided to start coding my own Windows Mobile applications. I downloaded the SDK and made a few very simple applications using Visual Basic.
My question is, can I develop today plugins using Visual Basic? Is there any example? All the examples in the SDK are written in VC++ and I'm quite rusty in any language but VB.
aydc said:
I have many ideas for the today screen that no other developer is doing anything about, so I decided to start coding my own Windows Mobile applications. I downloaded the SDK and made a few very simple applications using Visual Basic.
My question is, can I develop today plugins using Visual Basic? Is there any example? All the examples in the SDK are written in VC++ and I'm quite rusty in any language but VB.
Click to expand...
Click to collapse
There is a managed today screen framework over at CodePlex that lets you write today plugins in C# or VB.Net.
Get it here: http://www.codeplex.com/ManagedTodayScreen
Nice! Thanx....
is the Chome of 6.1 actually a plugin that manages nested plugins? Or is making a replacement home screen completely different than writing a plugin for Chome

Categories

Resources