Adding item to top menu bar system icons? - Windows Mobile Development and Hacking General

Hi all,
I have just started dabbling in HelloWorld!ing for WM , and i would like to learn on how do I create an icon/graph/text/whatever area, on the system top bar (what's teh proper name?).
So far MSDN reference has baffled me, not to mention that I am not a very skilled C++ programmer... (my background is on web apps)
My intention is to play with apps which enhance this area like the infinite taskmanagers/battery monitors/etc which are already available on gobs as a learning exercise.
Also, if there are good tutorial site references, I'd be glad to know...
BTW, I am using eVC4 to code, (with sp4 for WM5 compatibility) as it's free.

Hello Joe.
Welcome to the wonderful world of windows CE programming
Seriously though, to mess around with the task bar (the one with the start menu on it) you need to create your own window, which will be its child window.
Here is an article on it:
http://www.pocketpcdn.com/articles/taskbar_icon.html
also, look here:
http://www.pocketpcdn.com/articles/remove_x_button.html

To put an icon in the notification area, look in up the SHAddNotification API.

Related

Creating a tabbed interface in WM5\WM6

Hi
I'm trying to create a tabbed dialog for wm5\WM6 (something like BatteryStatus setttings). However I'm quite lost on how to do it. Umpteen searches on google cudnt get me anything specific. I have tried using the "Tab Control" in MFC, but coudnt figure out how to add things to tabs other than the first one..
I'm quite poor in U/I coding, so would appreciate a more wysiwyg kinda solution for adding things (After that I can manipulate them thru code no prob)..And moreover I need a solution in Native C++\MFC...
TIA
Hi shantzg,
I had use "Tab Control" in MFC App long back on PC but not in PPC.
I think it will still be similar.
The "Tab Control" only lets u define no of tabs and will also fire events on the basis of selection.
You hv to programatically show ur UI controls on the basis of these events.
you can look how they handled it in their source
https://sourceforge.net/projects/claunch/
http://www.nakka.com/soft/ptools/
Check out wxwidgets...
you can create the interface using a wysiwyg program like wxformbuilder, and you can try compiling it on windows using something like wxdevcpp. However to make it run on ppc, you'll need to install either .net professional ide, or embedded visual c++. Anyway, you'll have to spend a bit of time going through the wxwidgets wiki to get it working.
Thnx for the replies guys, I'll check out the recommended things and get back to u..
There are quite a few extras in there, but you can check out the code for LVMTime. I used tabbed dialog for its settings (using C++). Basically each tab is a separate dialog with its own handling function and I show the one needed when the parent dialog receives a message from the tab control.
Thnx for that levenum, ill take a look..havent been able to check out any of things suggested so far due to paucity of time..will do so arnd weekend..thnx a lot all u guys..

Getting into WM5/WM6 programming?

I am interested in dabbling a little in programming for my Kaiser. I have programming experience, mainly php / mysql, though I have done some C and lots of scripting in my time. My biggest project so far though was an open source google maps mod to put on your website - thousands of lines of php / js code, mysql backend and AJAX tieing it together, some graphics routines etc, so I am no drooling n00b when it comes to coding.
How easy is it to develop basic stuff in WM?
I have access to MSDN, so I can get Visual Studio (2005 for sure, maybe later versions), so I think I have access to the apps I would need. I just ordered some books to help me along, but was wondering if I would likely face a steep learning curve.
All the stuff I want to do is today screen plugins - was thinking of having a bash at writing my own quick contacts plugin - *very* basic - just a vertically scrolling list of names over a transparent PNG button with maybe photos from the address book - I want it to be able to scroll by vertical gesture within an ultimatelaunch tab - is this likely to be quite easy and quite a good "first app" to program?
I was also looking at writing a lite repacement for phoneweaver as the only feature I use is to turn on BT when it detects power but no activesync (ie auto turn on BlueTooth when I am in the car and the device is cradled) - maybe a hack to force the keyboard backlight on in the same situation.
I have bought:
Microsoft® Visual C#® 2005 Step by Step (Microsoft)
Microsoft® Mobile Development Handbook [Paperback] by A. Wigley; Daniel... (Microsoft)
Comments / suggestions?
I would also be very interested in a thread or good reference on how to start to program app for mobile gadgets. Actually i'm a Delphi coder, and i would like to implement some applications on WM platform, but when i search over internet there's plenty of information, but no usefull information with "real-life" recomendations.
depend on the platform and language one wish to use really
there is c#.net, vb.net c++.net
c++ miniMFC, c++ PureWin32 sdk
oldVB
...
here are some other posts asking pretty much the same thing from the forum
http://forum.xda-developers.com/showthread.php?t=225405&highlight=programming
http://forum.xda-developers.com/showthread.php?t=237932&highlight=programming
http://forum.xda-developers.com/showthread.php?t=241670&highlight=programming
http://forum.xda-developers.com/showthread.php?t=245426&highlight=programming
http://forum.xda-developers.com/showthread.php?t=228043&highlight=programming
http://forum.xda-developers.com/showthread.php?t=317913&highlight=programming
http://forum.xda-developers.com/showthread.php?t=302548&highlight=programming
http://forum.xda-developers.com/showthread.php?t=327164&highlight=programming
http://forum.xda-developers.com/showthread.php?t=305926&highlight=programming
http://forum.xda-developers.com/showthread.php?t=336251&highlight=programming
http://forum.xda-developers.com/showthread.php?t=226412&highlight=programming
codeguru.com got examples of various windows mobile programs too today items and such
about delphi i dont know if anybody got some info i would say borlands site
Thanks rud. I was aware of various other posts, but my question was more of a "How steep is the learning curve?" rather than "How do you do it?".
There was also an element of "How do you do it?" insofar as there seem to be better or worse ways of going about various kinds of app (eg today apps with gesture support) which I am finding a bit of a minefield, but I feel that the new post was valid because I am giving an indication of my experience level and what I am trying to acheive - none of the posts you listed cover the combination of stuff I am trying to do. Reqs like pulling from outlook db and allowing gesture scrolling in a today plugin, I dunno, I may waste ages with C#, for example, only to realise it is a breeze with C++... I also note that a google search for wm programming gesture scroll today screen currently ranks this very thread #5. By tomorrow that'll be a googlewhack then.
Yes, there are various posts about how to get started, but I think maybe a sticky would be in order with a bit of info on the various paths - the vb/c++/c# options are quite bewildering - stuff like
levenum said:
Your question is mainly a matter of personal preference.
Here is my opinion on C++ vs. C#:
C++ advantages:
- Native code is faster than .NET
- Easier access to Win32 APIs
- Ability to write system components like keyboards and today plugins.
C# advantages:
- Saves on coding time
- Allows use of many .NET CF components to quickly accomplish complex tasks.
Please note that I am bias. I hate .NET and want nothing to o with it. Specially on mobile devices that do not have the processing power to spare for the .NET overhead.
Click to expand...
Click to collapse
is really useful, maybe if it were expanded upon, info such as for this route you need visual studio, etc, etc it would make a really good sticky for the dev section.
evilc said:
I am interested in dabbling a little in programming for my Kaiser. I have programming experience, mainly php / mysql, though I have done some C and lots of scripting in my time. My biggest project so far though was an open source google maps mod to put on your website - thousands of lines of php / js code, mysql backend and AJAX tieing it together, some graphics routines etc, so I am no drooling n00b when it comes to coding.
How easy is it to develop basic stuff in WM?
I have access to MSDN, so I can get Visual Studio (2005 for sure, maybe later versions), so I think I have access to the apps I would need. I just ordered some books to help me along, but was wondering if I would likely face a steep learning curve.
All the stuff I want to do is today screen plugins - was thinking of having a bash at writing my own quick contacts plugin - *very* basic - just a vertically scrolling list of names over a transparent PNG button with maybe photos from the address book - I want it to be able to scroll by vertical gesture within an ultimatelaunch tab - is this likely to be quite easy and quite a good "first app" to program?
I was also looking at writing a lite repacement for phoneweaver as the only feature I use is to turn on BT when it detects power but no activesync (ie auto turn on BlueTooth when I am in the car and the device is cradled) - maybe a hack to force the keyboard backlight on in the same situation.
I have bought:
Microsoft® Visual C#® 2005 Step by Step (Microsoft)
Microsoft® Mobile Development Handbook [Paperback] by A. Wigley; Daniel... (Microsoft)
Comments / suggestions?
Click to expand...
Click to collapse
Hey!
Congrats on getting your hands on with Windows Mobile...
The easiest way is to download Visual Studio 2005(2008 You have it on MSDN) - and create a new application with it.
It's sooo easy if you know your object oriented programming, as long as you want to create ordinary "office" applications... But if you want to do more advanced things(like creating a today-plugin) you need to go over to c++(even though you can download a .net home-plugin-container which acts like a "loader" for your plugin written in c++) - and also, if you want to create good GUIs, I think you are better off with c++... But then again, I think you need a bit more effort in learning c++ then using c#...
Hope this helps...
Still slogging my way thru this...
I got hold of an MSDN disc, first off I installed visual studio 6 - bad move.
Had to uninstall before trying to install VS 2005, now I think it has screwed something up, every time I try and create a "Smart Device Win32" project, I get a "Project creation failed" error. I may have to re-GHOST my OS to get rid of it
So much time just finding out what apps I need and what options to choose to start a project...
I found http://channel9.msdn.com/wiki/default.aspx/MobileDeveloper.HomePage which seems helpful
Thanks for responses!
Evilc, you link of msdn is excellent point, many thanks!
I have also just started programming in C++ ..i dnt have any knowledge of any type of codes..i learned every thing frm MSDN libraries ( i have many many of them caz i have VS 2006 VS 2005 and VS 2008 )..i recommend you to work with C++ because it uses less system resources and is fast..hope this helps..check out my Kitchen coded in C++ ( link in signature )
Yeah, I think C++ is definately more what I am looking for from what I have learned thus far.
Re-Ghosted OS - totally fresh XP SP2, installed Visual Studio 2005, still the same error. GRRR!
Visual C++ --> Smart Device --> Win32 Smart Device Project == "Project Creation Failed"
Other Languages --> Visual C# --> Smart Device --> Windows CE 5.0 --> Device Application == Project created OK.
Some posts I have found on the net say it is an IE7 issue, I may try uninstalling that or flashing back to an OS image with IE6 only, but this is really winding me up and taking a *lot* of my time...
I uninstalled IE7 and the problem went away. Woohoo!!
starting programming windows mobile
hello
1. see my web site.
2. see my book recommendations, especially the 'programming windows ce' by douglas boling. It has an example for many things and a today sample too. Most is based on visual c++ 3.0/4.0. Embedded Visual C 4 can be loaded free of charge at ms.
regards
josef
Nice site, thanks.
The windows mobile 6 sdk actually has a today screen sample, along with samples of most of the things I need to do.
neofix said:
It's sooo easy if you know your object oriented programming, as long as you want to create ordinary "office" applications... But if you want to do more advanced things(like creating a today-plugin) you need to go over to c++(even though you can download a .net home-plugin-container which acts like a "loader" for your plugin written in c++) - and also, if you want to create good GUIs, I think you are better off with c++... But then again, I think you need a bit more effort in learning c++ then using c#...
Hope this helps...
Click to expand...
Click to collapse
Are we using the same language?? Cos this (C++ Win32 for Mobile Devices) is by far and above the most difficult programming language to get into that I have ever tried. Yes, worse than ASM.
Trying to code an app that prints "Hello World" has taken me over 5 hours with no success yet - most languages I have a go at it's 5 minutes.
From http://msdn2.microsoft.com/en-us/library/ms901121.aspx :
Code:
int DrawText(
HDC hDC,
LPCTSTR lpString,
int nCount,
LPRECT lpRect,
UNIT uFormat
);
It gives a brief description of what the parameters are, but absolutely no examples and no explanation of what all the parameters do or how to initialize them, so even browsing an example is no use to me.
u can simply try
MessageBox::Show(" your message ");
ather90 said:
u can simply try
MessageBox::Show(" your message ");
Click to expand...
Click to collapse
Isn't that .NET ?
I thought the consensus was that Native Win32 or whatever it is called was the better way to go?
This is part of the problem. I cannot even work out what to put in a search engine to pull out info on the right "flavour" of C and for the pocketpc. It's *so* bewildering.
Hello evilc.
First I noticed you have some trouble with VS 2005. It probably won't be easy now, but if you ever get to format your machine again don't install it (unless you absolutely need some other features).
For C / C++ programming for WM device I strongly recommend eVC 4 as it is much lighter and responds quicker. (It's a free download as well)
Second, though you can program for WM in C# and VB .NET which are both .NET Object based languages and are probably much closer in form to PHP and Java then C, you can not write system components such as today plugins in those languages.
You need native code so C / C++ is the only way to go.
(Actually, there is a trick to combine C# and C++ DLLs to create a today plugin where C# will do the main stuff, but its pretty complicated)
What you need is to learn basic Win32 programming and using the windows API. They are almost identical for Windows Mobile and Desktop windows versions so any book on Win32 should teach you the basics.
(Personally I started with MS book on MFC and studio 6 but I would not recommend it)
Finally:
I would gladly explain the parameters of DrawText but I am not quite clear on how much familiarity you have with the Win32 mechanics, since the languages you are used to obscure them unlike C which gives you extra power but also makes you work much harder to get anything done.
Do you know how to handle messages, and how windows manages all abjects using handles? Any familiarity with GDI?
If not, it will be pretty difficult to explain.
levenum said:
Hello evilc.
Click to expand...
Click to collapse
Hello! <waves>
First I noticed you have some trouble with VS 2005. It probably won't be easy now, but if you ever get to format your machine again don't install it (unless you absolutely need some other features).
Click to expand...
Click to collapse
I tracked down the problem when I got home and installed on my desktop. When doing it on the laptop, whilst installing SP1 for studio 2005, I had hit "Not Now" to a reboot request and it had said installation failed. When I installed SP1 on my desktop and said "Yes" to the reboot request, the problem went away, so I guess it was fixed in SP1 but the installer is a bit picky.
For C / C++ programming for WM device I strongly recommend eVC 4 as it is much lighter and responds quicker. (It's a free download as well)
Click to expand...
Click to collapse
Wish I had that advice before as I wasted a day messing around with an MSDN CD, trying to work out what to install and what not. So does the eVC 4 download include an IDE? If not, what do you use?
Second, though you can program for WM in C# and VB .NET which are both .NET Object based languages and are probably much closer in form to PHP and Java then C, you can not write system components such as today plugins in those languages.
You need native code so C / C++ is the only way to go.
(Actually, there is a trick to combine C# and C++ DLLs to create a today plugin where C# will do the main stuff, but its pretty complicated)
Click to expand...
Click to collapse
You don't have to tell me twice to avoid the bloatware ****e
What you need is to learn basic Win32 programming and using the windows API. They are almost identical for Windows Mobile and Desktop windows versions so any book on Win32 should teach you the basics.
(Personally I started with MS book on MFC and studio 6 but I would not recommend it)
Finally:
I would gladly explain the parameters of DrawText but I am not quite clear on how much familiarity you have with the Win32 mechanics, since the languages you are used to obscure them unlike C which gives you extra power but also makes you work much harder to get anything done.
Do you know how to handle messages, and how windows manages all abjects using handles? Any familiarity with GDI?
If not, it will be pretty difficult to explain.
Click to expand...
Click to collapse
No GDI Experience. I take it this would be the library of choice for drawing the screen of a today screen app? Stuff like the HTC Home clock or the new Face Contacts - they would likely use Native C++ and GDI? Doesnt strike me as something you would do with a form.
Also, anyone got the skinny on vertically scrolling by click-and-drag inside a today screen app? Just a case of enabling a parameter? Has to be coded manually? Best way to do it smoothly? If you have seen the Conduits Pocket Player 3.x browse list - how it "eases in" and "eases out" at the ends of the list, has inertia so you can "flick" down the list, the alphabetical bar instead of the regular scroll bar - is that all coded manually or is there an api or something that can help?
Thanks for the help!
I just noticed your apps in your sig - checked out LVM time - noticed there was source - wooohoo! I generally pick these things up by example.
All that code just for a (configurable) clock on one line - wow. Great though, a really good example of a today app - minimal enough in functions so it is easier to suss how it all slots together, but full featured enough (implimented example of an options screen - yay!) to show how to do various things.
And Gnu as well! Nice, this will be the basis of my first test project too I think - at least now I have a framework to test out what I want to do and how to go about it without having to work out how to code the basis of the application.
I thank you from the bottom of my heart sir.
I tried to build it in VS2005, but I got a
fatal error C1083: Cannot open include file: 'todaycmn.h': No such file or directory
A quick google search showed todaycmn.h was part of the SDK, I found the file, dropped it into the headers section of the project, but no joy. I will probs just try eVC.
Oh, and having developed a today plugin, maybe you can answer this one:
As far as I can tell so far, debugging isn't very easy with a today app - something to do with the fact that the dll is not releasable? Is this an issue I will come up against? I hope its not a case of "reinstalling" the app each time you want to test... I was thinking maybe along the lines of have it as a normal app for debugging, then make it a today plugin when you want to build to use it?
I dunno, probably trying to run before I can walk, my books shoulda been here today, oh well. Sorry for all the questions...
@evilc:
Are you using standard Win32 or MFC?
You may want to try using MFC since you get the flexibility of native development but with some nice class libraries that make your life easier.
As for click and drag behavior, that is usually implemented by handling the WM_LBUTTONDOWN, WM_LBUTTONUP and WM_MOUSEMOVE.
When you get wm_lbuttondown you set a flag that says the user is dragging. You use wm_mousemove to update the stylus position as long as this flag is set, then you unset it on wm_lbuttonup.
That's the basic idea anyway. Someone made a post about gesture recognition in this forum a few weeks ago with sample code. You should see if you can find that.
Managed Today Screen plugins
See:
http://msdn2.microsoft.com/en-us/library/ms839442.aspx
for some background on the concept.
And:
http://www.christec.co.nz/blog/archives/279
Outlines what I think is a very ingenius technique for managed today screen plugins.
For those of you that want an easy way to make a today screen app in c#. Chris did all the C++ work for you.
Also I forgot to mention that the SDK samples cover all most every application type you can think of. Most of the good ones are Win32 though.
Also, keep in mind that you can use P/Invoke from your C# apps to call native APIs. So don't let people tell you you need to use C++ just because you can access more api's. I will say that you should use C++ for games, or other apps that require high speed or advanced GUI's (it is VERY hard to do interesting gui techniques with C# and interop, trust me).
And finally, I would highly recommend using the most recent version of visual studio you can get (especially if you're using vista), unless your machine can't handle a newer version. I say so because visual studio gets more and more powerful as an editor with each new iteration and I personally can't go back after I get used to the new features they introduce. And the new versions are almost necessary if you're going to do .net development.

[APP] [HELP] Advice on writing a touch friendly UI

I am currently writing an application for my WM6.1 device (HTC TouchHD), and wondered if anyone had come across a site, or if someone could point me in the right direction for finding a nice way of writing 'finger friendly' applications. By finger friendly, i mean being able to scroll with my fingers and so on. Or if there are any open source applications that I can use as a reference?
I don't particularly want to say what application I'm writing just in case it falls to pieces, but rest assured once it's written it will be put up on here!
Thanks,
evorgevol
I have just found this page which does me for scrolling parts of my application. The main thing I'm having issues with is that I want the main menu interface to resemble windows 7 media center, see here for a video of what effect I'm trying to achieve.
I know it's quite complicated, and I'm not the best programmer in the world, but hopefully I should be able to do it??
Any help will be appreciated. Thanks,
evorgevol
If I understand, you're trying to create an UI with a scrolling list useable with fingers.
Each item in the list, once selected, let appears different choices about this item (IE : a "Appointment" item in the list, when you select it, you have the next appointment displayed....). It that right ?
Doesn't it look like the new WM6.5 today plugin ? If that's you're idea, I'm 100% on your side to develop a today plugin looking like these menus (WM6.5 / WM7 MC) !
(In fact, I'm already searching if somebody could develop something like this : http://forum.xda-developers.com/showthread.php?p=3375478)
The one I'm doing is not necessarily for a today page, more for my own application, tho it should be able to be easily used in any other application once the code has been written. I just need a push in the right direction for me to be able to write the code in the first place. I'm also deliberating what format to write my application in, and which ones are available. I will only be supporting from WM6 onwards, tho it could potentially be backwards compatible with 5. Ideal would be silverlight being able to be used, but unfortunately that hasnt been released for mobile yet (it would mean that my application should run on any platform that supports Silverlight).
Try iContact. I suppose the code is open. Also try PockeTwit from google code. Install these apps and if that is the effect you want to achieve, I suggest you grab the code and understand it (that's what I would do if I was in your position)

Changes in SDK 1.x -> 2.x

Hi there
not THAT much threads here related to development questions. Now it's absolutly ironic that I ASK this, cause Im no dev and coded the last small tools in C some 10 yrs ago. I'm a complete and definite noob in C++ ... bada SDK is my first contact with C++. I though it's interesting to try some first steps in bada.
Started in SDK 2.0.2. I found out that code examples in Internet relate to bada SDK 1.x and things seem to have changed here and there. After 3 days I was able to understand structurally what I collected together or found in help.
Question: What did you guys face as difference in 2.0 compared to 1.x?
I wasn't able to invoke the app "terminate()" command. What do I need to include/declare? I'm puzzled. this is the most difficult exit function of all languages I know
I had trouble to insert a photo as the splash screen. You guys have difficulties too?
More philosophic question: What do you think of Samsung, that they gave you SDK 2.0 and even started a competition, while there's STILL NO bada 2.0 device ready? So you can only test in Emulator or Remote ... is it normal in this industry that you don't have access to the target platform while creating an app?
Oh, just want to mention: I'm no competition - I'm too uneducated to code - and no time for a serious app.
Ray
Its simple, alot of things gone easier.
CustomList, GroupedList, SllidableList, IconList, ... all collected to two types
ListView and GroupedListView, they both are using SimpleItems (Image, Text, Option) or a CustomItem as we devs them wish. GroupedItems are in GroupedListView and saying itself what they does, both lists have a fast scroll option and automatically relocating on need their items. The best autoscroll for bigger text in elements and of cousre the behind Context menu for each item which can be changed in different ways if user slides left or right and so on. Finally to update the list, only UpdateList() is needet not after every change every item as i used in badaSI before.
Than we have the powerfull Gallery that provides all featuers to show pictures as you all saw it in badas Gallary App.
Then header and footer, very nice, devs can so made a good basci gui that looks good integreted to the os, the best function of them are the back button option with its listener, it reduces a lot of time.
My pesonal favorit is the extension for animation class, there you can make every thinkable animation for forms, panels, controls and other stuff, with some code lines. So the UIx is improved and no extra code is needet.
I would rather say that the 2.0 sdk makes c++ a lot of easier to use also for beginners, the api itself is self explaining for what it stands, so it is not like old c++ stuff bada SDK makes many things alot of easier than people think. And of course it has more oportunities than other ... and so on.
Push Notifications and some old unaccessable System Privilegs are now free to use for every developer. Auto resolution takes a lot of work from us all devs.
PThread is addet so porting applications from other oses like ios are much easier, in my oppinion useless cause i am not porting i am writing from scratch.
In a whole overview of the new sdk, a lot of new stuff that makes everything easier, and the old stuff is still in there to support older applications. so no visible changes are there if you see an custom list or a listview in voluntas as example, but the behind things made it a lot of easier and better for memory.
And so on....................
ah, so push noti was there before, but only to priviledged partner dev's right?
Lari, you list is your favourites? What of them will help most often? Header/Footer? Auto Resolution to unite higher and lower lever Waves? Let's see if there's still two separate bada versions for the 2 familys.
Ray
So finally I got the Terminate() function up and running ...
In the form.cpp I had to add these:
#include "<myappname>.h"
... to get declaration of my app name
using namespace Osp::App;
... to enable the Terminate function (don't know if the include makes this unnecessary now ... in "<myappname>.h the public Osp::App::Application,
is used as class
<myappname>::GetInstance()->Terminate();
... only with this the function worked.
Is this standard in C++? Help didn't show me this way, and it seems quite complicated for me as a former ANSI C amateur
Ray
hello? zehn zoicha kaesdreck!

[SOLVED] Metro Tiles for NON-METRO applications? Edit: YES! :D

PREVIOUS POST:
Hi all!
My post should be in the developer page, but since I have less than 10 posts I'll post it here. Hope someone'll read it, I think it may be useful to everybody. BTW sorry for my poor english.
I am a user of Windows 8 from the developer preview, and I learned to appreciate the new Start Page and get used to.
The only thing that makes it still "just bearable" to me is the poor (more like nonexistent) non-metro applications customization. I understand that Windows wants developers to create Metro Apps, but their usability on a desktop PC does not fully not convince me; for some uses I prefer a thousand times to use the classic applications.
The question is: how to get the tiles to the classic desktop applications more pleasing than a monochromatic square with an icon?
I started to look far and wide on the Internet, finding not that much (really this does not affect anyone?), but I found something, something (even right in this site).
I've thought about three different ways of solving this problem. Since it's a little bit tl;dr i'll organize them under quotes.
1- An app that opens programs
- it is relatively easy to modify images of Metro Tiles for metro applications already installed, just follow this guide.
- For those who have knowledge of programming C + +, Javascript, or, generically, any language to Visual Basic, creating a tile for your application is extremely easy, so easy even I did it (I don't know programming, sadly). Still, nobody yet has thought to create standard desktop applications with these tiles, even Microsoft itself (Visual Studio RC hasn't got it!).
- I know that Metro Apps work a bit like the sandbox, but you can set the permissions to access images, documents and so on, so should not be impossible to make up a "double bounce" (metro app that opens a link in the Documents which opens the user desktop) without slowing down too the opening of the original program. I do not think is too complex, yet I can not do it alone.
- Also, an xda user found a way to bypass the sandbox and HERE someone (looks like the only one on the ENTIRE internet, apart from me) wondered about this problem and tried to solve this by itself.
Click to expand...
Click to collapse
2- The icon, centered and bigger
- a simple and elegant solution: can't we just edit the registry to bring up the icon in the middle of the tiles and change as well as the size of it equal to the tile itself? Then we should just make bigger icons for programs large enough to not be pixelated.
I searched a bit in regedit on:
HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ ImmersiveShell \ Grid
However, I found "only" how to enlarge or shrink the tile itself or the number of these files. There are a lot of other data but does not have competence to understand the setup.
Seems the easiest way.
Click to expand...
Click to collapse
3- Copying from Google
As you surely know Google has launched the Google Chrome metro interface, with some special features:
- The program does not come from the Windows App Store, but can be downloaded from the Chromium Project site, therefore, is installed in the usual place of Chrome (User / AppData / Local) and not in the folder WindowsApps. This is quite unusual, because I thought it was the "exclusive" folder for metro applications;
- From my analysis I understood that the application that starts, both in desktop and Metro look, is always the same, "chrome.exe". To confirm this I noticed that, in fact, the folder "Metro" in "Google Chrome" folder contains only the userdata files and not specific ones for the program, which instead are contained by the classic Chrome folder;
- I'm pretty sure that all Google Chrome files are in this folder, since I found inside the "Manifest" and the images for the tiles. Trying to change the PNG and cleaning the cache also changed the tile in the Start bar.
- The first step, too simple for it to be working ( ) was to copy the manifest and the images folder in the folder of another program (obviously changing the directory on the manifest through Notepad), clearing the cache and restarting the PC. It did not work, of course.
- The next step was to open the folder "C: \ Users \ MYUSERPROFILE \ AppData \ Roaming \ Microsoft \ Windows \ Start Menu \ Programs" and try to understand more of nature of the link to Google Chrome...Only to find out that the link to Chrome was not there! ... Does anyone know where it is?
Click to expand...
Click to collapse
And that's all. There is still nobody in the world that seems to manage a tweak for having tiles in non-metro applications, so if someone here manages to do this he'll be like the first in the ENTIRE WORLD
Hope this motivates you. I hope to read something from you developers!
Click to expand...
Click to collapse
The user Argony-OT has found a solution to add metro tiles in the start page for common legacy application. Link to his thread:
http://forum.xda-developers.com/showthread.php?t=1899865
Otinademoniac said:
Hi all!
My post should be in the developer page, but since I have less than 10 posts I'll post it here. Hope someone'll read it, I think it may be useful to everybody. BTW sorry for my poor english.
I am a user of Windows 8 from the developer preview, and I learned to appreciate the new Start Page and get used to.
The only thing that makes it still "just bearable" to me is the poor (more like nonexistent) non-metro applications customization. I understand that Windows wants developers to create Metro Apps, but their usability on a desktop PC does not fully not convince me; for some uses I prefer a thousand times to use the classic applications.
The question is: how to get the tiles to the classic desktop applications more pleasing than a monochromatic square with an icon?
I started to look far and wide on the Internet, finding not that much (really this does not affect anyone?), but I found something, something (even right in this site).
I've thought about three different ways of solving this problem. Since it's a little bit tl;dr i'll organize them under quotes.
1- An app that opens programs
2- The icon, centered and bigger
3- Copying from Google
And that's all. There is still nobody in the world that seems to manage a tweak for having tiles in non-metro applications, so if someone here manages to do this he'll be like the first in the ENTIRE WORLD
Hope this motivates you. I hope to read something from you developers!
Click to expand...
Click to collapse
I would think that Microsoft would give a way for Google to bypass the restriction on side-loading (for verified developers like Google or the like) if they requested (Of course, they could also have found a way to install Metro Applications without the developers license/enterprise requirement, etc.)
This is probably how it works since the Metro application is not in the usual Installation folder. It is something to wonder about though.
My god! Me and my friend are having this same problem with windows 8! We like the metro menu a lot, but we want to customize non metro program tiles!! We can make some pretty cool images for the tiles, but we just dont know how to change the tiles. I think ur on to something with Google chrome though! I hope some can figure this out! Ur not the only one who wants this!
Sent from my DROID RAZR using Tapatalk 2
bb12489 said:
My god! Me and my friend are having this same problem with windows 8! We like the metro menu a lot, but we want to customize non metro program tiles!! We can make some pretty cool images for the tiles, but we just dont know how to change the tiles. I think ur on to something with Google chrome though! I hope some can figure this out! Ur not the only one who wants this!
Sent from my DROID RAZR using Tapatalk 2
Click to expand...
Click to collapse
The problem is that I haven't got enough knowledge (not as much as my dedication to the cause ) to really do something with this...I am kinda searching for some help from XDA Developers
Same problem here
I'm also having the same problems on Windows 8. I'm also finding a way to change the default traditional app icons to the metro look, like what google do. Hmmmm.... Microsoft should add a feature to change default non-metro icons to non-metro tiles.
What's weird is that, as someone made me notice, if you make Google Chrome (the W8 version) the default browser for Metro instead of Internet Explorer, IE loses it's metro icon and become a normal Windows monocoloured tile. It's weird enough for making me think that the "copy Google" way is a bit harder than expected.
On the other hand, I've got a friend of mine searching in Windows 8 resources for a way to enlarge and center icons in Start Scren. Nowadays all the icons are big and detailed enough to fit inside a tile, and if they don't we can always make our own. I think that this is actually the easiest way.
Anyone have any clue that might help the cause? Also, since I still have less than 10 post, might someone link this thread in the Windows 8 hacking-developer forum?
Otinademoniac said:
What's weird is that, as someone made me notice, if you make Google Chrome (the W8 version) the default browser for Metro instead of Internet Explorer, IE loses it's metro icon and become a normal Windows monocoloured tile. It's weird enough for making me think that the "copy Google" way is a bit harder than expected.
On the other hand, I've got a friend of mine searching in Windows 8 resources for a way to enlarge and center icons in Start Scren. Nowadays all the icons are big and detailed enough to fit inside a tile, and if they don't we can always make our own. I think that this is actually the easiest way.
Anyone have any clue that might help the cause? Also, since I still have less than 10 post, might someone link this thread in the Windows 8 hacking-developer forum?
Click to expand...
Click to collapse
Not sure what might cause it, but I know that it's a behavior that's been there since Developers Preview, after setting Chrome as the default browser it would go away, Even when I set the older chrome versions as default it would do it.
Still nothing...! This is quite frustrating, I'm searching really deeply a way to edit the METRO UI, but nothing yet found. Any help?
The way I think would be easier is to center and make bigger the Icon inside the Metro Tiles. I'm trying to use a Resource Editor in windows, but I haven't found anything yet.
Hi, I'm (obviously) new here.
I actually joined just to try and help figure this very issue out.
1. I actually noticed about an hour ago (when installing Firefox) the change that occurred with the Metro tile for IE, changing to a default tile. Your post made me chuckle, as I had literally just done that very thing. It was as if IE felt unloved. :laugh:
2. I am a designer. The ability to not change these tiles right now is killing me from the inside! I could easily set some color values or make my own icons in Adobe Illustrator and Photoshop and then make new metro-esque tiles the way I want for nearly all my apps in no time.
So, with all of that said... I too shall be looking into how we can manage making our own tiles for non-metro apps.
I wonder (and this is a cheap cheap fix) if one were to design an application icon for say, Firefox, and it would be the actual size & dimension of the pre-fixed metro square...would that icon fill the sqaure and at least give the appearance of being a metro app? It may, but I fear it might just down-size the icon entirely leaving us at square one.
All my design programs are on my OS X hard drives. Later I'll plug them back in, then re-boot my hackintosh and try to make a fill-in metro styled icon for testing purposes.
-TYPØ
Hi TYPOGRAPH1C, sadly changing the icon size won't work, nowadays almost every application icon for Windows have a resolution big enough to fit more than just the METRO tile; sadly, it's still not working.
Also, I've tried (withouth success) another experiment: In the "Users\USERNAME\AppData\Roaming\Microsoft\Windows\Start Menu" folder you can find the links for some of the METRO APP; those icons are from a DLL! I've tried to simply copy one of those in another folder and make a legacy program use it, but it didn't work. I guess is one way less to try
That is unfortunate. And, who knows this may be something we can't fully tackle until the full release of the OS. But, I do know that I went through yesterday and counted 30+ apps that I personally would like to make icons for. Mainly the general stuff I use, but a lot of them are things many people use as well. So between now and the finalized OS release, I should have them all done. And if worst case, we can never set the tiles ourselves... at least I'd rock some custom metro style icons on my taskbar.
But if we do get this working... I was actually thinking last night about this. If we were able to achieve the correct look for the tile icons, I suppose it would be 100% possible to have practically nothing living on the taskbar in Windows 8 (besides the current open desktop application). Everything could be bound to the Start Menu and grouped accordingly in theory.
-TYPØ
I am also looking for a solution. I really want all my programs to have the tile icon.
What i already did is make a white icon for some programs and then specify it as the icon.
Like this you have the icon in the tile (downsized ofc) but the tile itself isn't filled with a background color.
I looks better than the full colored icons from before but i still want the whole metro tile look.
Otinademoniac said:
Hi all!
3- Copying from Google
Click to expand...
Click to collapse
You can read all about "metro enabled desktop browsers" when you get some free time. It's a cool idea, but unfortunately, you can only have one.
Could someone who knows how to make Tiles not make a custom tile app that can then handle custom image and file path, so we just update the details within the app so it points the the right place? So we could install the placeholder with the new set details and pop the icons are Larg and Small and offer booting the exe?
I have NO idea how to make tiles but I just thought maybe that could be a way?
rexzooly said:
Could someone who knows how to make Tiles not make a custom tile app that can then handle custom image and file path, so we just update the details within the app so it points the the right place? So we could install the placeholder with the new set details and pop the icons are Larg and Small and offer booting the exe?
I have NO idea how to make tiles but I just thought maybe that could be a way?
Click to expand...
Click to collapse
Windows Phone has custom tile apps...Wiztiles is one I use. A user can create custom tiles using pictures they have on their phone. These tiles can then be used to link to specific functions. The function I use it for is to point to websites. You can have it open many of the built in apps on WinPhone. It will open email and draft a new email for you with contact, subject and even the body of the mail drafted...all you have o do is hit send, or edit then send. Same with sms. It can be used to dial a contact or perform a search in the marketplace or Bing app. So it doesn't just open an app, it opens and performs an initial action in the app. Not sure how much of a leap it would be to have it point to 3rd party apps, but the basic idea is there.
The website the OP posted which was this http://stackoverflow.com/questions/9527644/launching-a-desktop-application-with-a-metro-style-app actually does have a method on creating an app to launch a desktop app if anyone wants to try it. Me I'm not that great with code.
a tip for hex editors, just DUI hackers: twinui.dll UIFILES.
I think that it's possible, because you can open internet explorer desktop from internet explorer immersive
@Ka-la I've tried some time ago, but twinui.dll get corrupted... (Next time I will retry )
Pasquiindustry said:
I think that it's possible, because you can open internet explorer desktop from internet explorer immersive
@Ka-la I've tried some time ago, but twinui.dll get corrupted... (Next time I will retry )
Click to expand...
Click to collapse
I managed to size content in my tiles in RTM pretty succesfully, not sure why you corrupt it. Im not using Windows 8 at the moment so I cannot really help. I remember there were templates for many variant of tiles (widewithpicture and smallwithpicture and so on). If there is one for that applies to desktop apps, it might be possible to apply a metro one to it
I'll give it a shot once im using Windows 8 but cant promise anything.
Maybe i had wrong edits in wrong place

Categories

Resources