how to list installed applications in windows 8 metroui - c#

I am just curious if there is a way to find installed metro applications within an application. I mean, I like to create an app which also shows my other apps and I want to show them as "Get it from store" or "Launch". Thank you...

No, this is not possible. Windows Store apps are heavily sandboxed, and this is one of the things that is disallowed.

Related

Windows Store 8.1 and System.Windows.Forms

Recently, I tried to make a battery app (C#, store app) for Windows 8.1
(I am using VS2013, tried also VS2012 with the same result).
As it turned out, I need to add a Reference to the project - but I cannot add anything in Reference Manager: it says "All of the Framework assemblies are already referenced". And all what I need is to get System.Windows.Forms - when I search for it, nothing appears.
Any ideas, what can I do?
(Please tell me if I forgot something essential)
Windows Store Apps are build, from scratch, on new technology stack , So Windows Form and WPF are not part of Windows Store apps.
Windows store apps and Windows Forms apps has there different set of
APIs.
Windows store apps are used to known as known as Metro apps and Right now they have been merging the stuff(don't want to go into the details).
This will give a basic knowledge about this new Technology
So, above are the just a small hints about the differences. Actually, It is not possible to explain all the stuff here. Just explore.

How to port existing Windows Store Application to Windows8 Mobile App ?

We have existing Windows Store application which is developed using C# and XAML. We want to port the same to Windows 8 Mobile application. Is there any Guidelines available for this ?
Well at first I would start figuring out the differences
http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj681690%28v=vs.105%29.aspx
http://blog.markedup.com/2013/07/winrt-windows-phone-8-code-sharing-pitfalls/
When I ported two of my (smaller) apps, I put as much in a PCL (portable class library) as I could. All the stuff that remained in the project itself needed to be rewritten. If you have well-maintainable code, there should be only UI (what you have to adapt anyway) and very few platform specific code (like accessing filesystem, camera or whatever) left. This is the part you must redevelop.
Dnt know how you have made these applications well If you have followed MVVM pattern then it is very easy to port windows and windows phone apps from one to other. You just need to take care of new XAML UIs every thing except some platform specific liberalizes will work. While making any of windows store and windows phone application you should use the liberaries that both platforms can consume. For example you can use LEX.db for the database.
here are very good explanations for it.
sharing code between windows phone and windows 8 app -1
sharing code between windows phone and windows 8 app -2
hope this will help
The answers given so far are quite good. One thing to note is that Windows Phone 8.1 is about to be released, which will share many of the WinRT libraries. This will mean that in a few months (as early as May), the shared libraries between the two platforms will greatly increase. You can download the leaked SDK to see what some of the changes will be.
Not that you should wait until then, and creating a PCL is definitely going to help you (especially if you want to later move to iOS, Android as well). It's just something to keep in mind.

Handle multiple "windows" in Windows Store apps in Windows 8.1

Ok, I have a question to which, despite my best efforts, I have not been able to solve. I searched the internet, and this is one of those that is particularly difficult to search for, but it seems that no user of Windows 8.1 nor any developers developing for Windows 8.1 has posted to any website asking how to do this (I could be wrong, of course).
What I am trying to do is make a Windows Store app targeting Windows 8.1, that takes advantage of multiple Windows. To see what I mean, open up metro ie, right click on a tab, and click "open in new window." This is also in the mail app, where you can open a single message in another window, which behaves like a separate app, and can be snapped like so. It's a new feature of the Windows 8.1 OS.
But I can't for the life of me figure out how to do it in C# and XAML. Does anyone know how? Thanks.
Alex
There are new APIs in Windows.UI.ViewManagement, namely the ApplicationViewSwitcher and ProjectionManager classes. The former is for working with multiple independent views that the user can arrange side by side on whatever monitors they have, which is what IE and Mail use; the latter is for working with multiple monitors.
See the Application Views sample along with the Projection sample for working both scenarios in code.
Might be bit late with my answer, nevertheless I had your similar apprehensions about the "Dismal Support Refs" for this subject, when I first began searching the topic. However I have been able to overcome this and use the feature in my apps. There are some good refs available; The Windows Dev Centre has a Quickstart ie "Quiskstart Creating Multiple Windows", a Good guide is the "MultipleViews" Sample, With the following providing additional support.
1) "Be two places at once using multiple windows" at
https://blogs.windows.com/buildingapps/2014/01/09/be-two-places-at-once-using-multiple-windows/#pBHiQtDSPFrCA7Gv.97
2) "MultipleViews for Windows 8.1 apps" (parts 1-3)
http://www.kraigbrockschmidt.com/2013/11/21/multiple-views-creating-view/
BQ at WATERVIEW

Windows 8 live tile from NET 4.5 app

I have create a Windows Store app which successfully updates its tile (live tile). The thing I hate about this now is that it seems there is no way for me to install this app anywhere except either through Windows Store or using another developer account (see this).
Since I am looking to support only desktop PC with this, can I work with live tiles from a generic NET 4.5 application?
Or to put it differently, is there a way to use / control live tiles from apps other than Windows Store apps?
This is still all too new to me... Finding answers on the web and SO revealed nothing.
Live Tiles are part of the Metro Framework, completely seperated from .NET. Your application is sandboxed when you develop for the Windows Store framework. no one can access your application and you can't access anyone else's application. The only way to update the live tile would be for the application to update it's own live tile. It would be a huge security flaw to allow anyone to update any tile.
If you do NOT intend to ever submit your app to the Windows Store for distribution - you can look at this thread, which talks about methods used to communicate between desktop apps and windows store apps.

How do I open up a specific page in the windows help dialogue?

A lot of built in Windows applications will have links to pages in the windows help. Is there any way I can create a linklabel that will open up a Windows Help dialog to a specific page?
===EDIT===
Hmm... well I was hoping on it being for all operating systems, but if I had to choose one over the other it would be Win7.
So: How do I access a specific page in Windows Help in windows 7?
Based on different Windows versions, there are different Windows Help. For example, the help system on Windows 7 behaves very differently than the one on Windows XP.
MSDN offered a primitive starting point http://msdn.microsoft.com/en-us/library/ee663302%28v=VS.85%29.aspx. Maybe you can refine the question a bit more specific to get it resolved more quickly.

Categories