Source code of apps in windows8 - c#

I want to develop a metro style application using c# and xaml.In windows 8 there are many default apps like maps,weather etc.
Is there any way to get the source code for maps or weather app in windows 8?
Please help me.

All the Windows Store apps are installed to
C:\Program Files\WindowsApps
where you can look at them. The JavaScript apps are readable without problems, you need to decompile the C# apps to get to their source code. You can use tools like JustDecompile from Telerik (free).For more info see this article by Justin Angel http://justinangel.net/ReverseEngineerWin8Apps

I highly recommended you to visit Microsoft Windows Store app site. The site gives plenty of function-by-function examples.
Please download C# 30.9M sample files at below link and it would be good reference for you.
http://code.msdn.microsoft.com/windowsapps/Windows-8-Modern-Style-App-Samples
For more real-life example as you imagine,
The weather app example:
http://www.c-sharpcorner.com/UploadFile/99bb20/consume-web-service-in-metro-style-app/
The map app example:
http://code.msdn.microsoft.com/Bing-Maps-SDK-for-Metro-31b378eb

Related

What is the name of the UWP repository?

Wikipedia states that the
Universal Windows Platform (UWP) is an open source API created by Microsoft
but I had no luck finding it (always landing in the docs or other tutorials). I'd like to take a look at the LockScreen class.
Do you know its location or the name of the repository?
I didn't understand what you were looking for, but this may help you-
UWP sample collection-
Windows Universal Samples
LockScreenApps Repository-
Lock Screen App Sample
Both are hosted in GitHub. (LockScreenApps is a part of UWP sample collection.)

UWP File Picker Contract / Provider

I'm looking for a point in the right direction. We're thinking of building an app in our office, and one of the features we're looking at is to be able to open and save files from our app in other apps and applications.
We came across the File Picker Contract which, with some simple examples, seems to be what we're looking for. But the one thing missing is it only seems to be available in other Universal apps (but it doesn't seem all of them).
Using multiple examples, we were able to see our apps in our other apps, but I'm hoping to take it further. For example, I thought Office 2016 was a Universal app, so shouldn't File Picker Contract apps appear in there as well? And is there a way to add it globally to all File Open / Save Pickers (like from notepad, or the snipping tool)?
This MSDN page (article) seems to suggest the picker uses a single, unified interface. Shouldn't that be the same interface the rest of the operating system uses?
Thanks in advance.
If you have to support Classic Windows apps, filepickercontract is not a right solution. It's only applicable for 'modern'... Win8.1 store or Win10 UWP apps.
And, current office2016(for desktop) is not an UWP app, I believe. UWP ver of Office 2016 is only applicable for Win10 Mobile.
One alternative is make a shell extension. By using this, you can extend the explorer's shell space and add your own items to explorer tree. But shell extension is so complex, old and only applicable for desktop devicefamily. I don't think that now is a nice timing to implement it.
I hope this answer could help you.

Windows 8.1 Universal apps documentation

I am trying to develop universal app for first time. This may be a silly question, but is there any comprehensive documentation for c# developing? I need to partially migrate windows 8 app to universal app, but everything I need to use is different there and nowhere I can find what to use instead. It takes hours to find something useful. Mostly here or at other forums. MSDN is not very helpful in this case. I found that universal apps do not use .net framework or silverlight. Is possible to say that universal apps uses clearly labeled standard, for example .net framework 4.5? In this time it seems to me I have to use something from Windows Runtime apps and something from Windows Store apps APIs.
The MS Virtual Academy offers free courses (mostly jumpstarts) for things you might be interested in.
Below is a link to their jumpstart course:
Developing Universal Windows Apps with HTML and JavaScript Jump Start
http://www.microsoftvirtualacademy.com/training-courses/developing-universal-windows-apps-with-html-and-javascript-jump-start
And a link to their jumpstart course:
Programming in C# Jump Start
http://www.microsoftvirtualacademy.com/training-courses/developer-training-with-programming-in-c
Hopefully, this will get you started.
What I was looking for:
Windows universal apps use Windows Runtime.
Only reliable official "MSDN like" page I found is http://msdn.microsoft.com/en-us/library/windows/apps/br211369.aspx
Good tutorials are at Channel 9.

Developing applications for IE 8

Anyone know of any good references for building applications for IE 8? I found this http://www.apress.com/book/view/1430228539 (but not yet released)
for example: I would like to build a simple toolbar app that records visited websites. That possible?
Or are they other suggestions on how to build this type of application?
http://msdn.microsoft.com/en-us/library/aa753587%28v=VS.85%29.aspx
MSDN seems like the ideal source.

Windows 7 Jump-List (Windows Forms, C#)

Does anybody know how to customize the Windows Jump-List feature related to my own application in C#? I know it can be done, but I cannot find anything C#/Windows7 related on MSDN yet. The only info related to W7 and C# I can find so far is just compatibility junk which I've already read.
Thanks all
Baeltazor
You can do this with the Windows API Code Pack
There is a sample in Samples\Shell\TaskbarDemo\CS which shows you how to customise the Jump List and icon.

Categories