As the title indicate, i'm trying to port ExpanderView from windows phone toolkit and use it with windows store universal app ie. WinRT. After re-writing all the necessary classes from Phone:Toolkit into my app, I just founded that the Header of the ExapnderView is neither showing in design mode or in debug mode.
Can't find out what is the problem with this. Is there anyone who tried the same thing and have a solution? I attached the the classes so you can take a look on it, if you can.
Expander RT codeplex
Just found out what the problem was. I missed the style xaml that targets the ExpanderView. If anyone is intresseted in this control for WinRT, both windows 8.1 or windows phone 8.1, please pm me and I will send you the files.
EDIT***
You can find the full Project in codeplex using this link ExpanderRT
Related
Let describe my issue:
I have developed JS app for Windows 10. It works on desktop- background audio, title, album cover- all stuff i need. In VisualStudio- when i deploy app to Mobile Emulator (10.10586)- still- background audio works even if app is gone.
If i deploy my app through Visual Studio to my Mobile Device- everything works great (when it is run/deployed from visual studio). BUT (notice that) - if i open that compile app again from my device (later, i exit visual studio or just close the solution)- backrgound audio: didnt work.
Hope i describe it well- i deploy app, which work great when compile it first time, but lately... didnt.
So, i can provide my code if someone need to check out, but i think is something with platform... and i am not sure how to fix that and how to get help with that :/
Thank you!
After research i made... there is no chance to build and complete that only with javascript. For now... after Anniversary update (2016, August) there is a chance- Microsoft employee confirms that will be possible and we can explorer that with this example they provide: https://github.com/Microsoft/Windows-universal-samples/tree/dev/Samples/BackgroundMediaPlayback ... so... will wait to see :)
I would like to embed a universal windows app into a classic windows application on windows 10. Is this possible?
The short answer is no. However... depending on what you're trying to do, the information below may help you.
If you just want to get the look and feel of a desktop application, you should be aware that Windows 10 apps (unlike Windows 8 apps) run in non-fullscreen mode by default, and can be resized. Desktop apps in Windows 10 have top-right icons (min/max/resize) that look similar to how UWP apps look in the title bar and top-right icons.
If you're creating a UWP app with XAML, you won't be able to embed it in a desktop application. However, if you're building a Windows 10 app using HTML5 and JavaScript, you could repackage it inside a browser control embedded in a desktop application.
If you're creating a game using a 3rd-party tool such as Unity, you can export it as a Windows desktop application just as easily as exporting to a UWP app for Windows 10. Unity can be used for non-game apps as well, so you could export it to a desktop application today, and still have the option of publish a UWP of the same game/app.
If you were thinking of accessing the full Windows SDK from you UWP app, you won't be able to do so, as you will be restricted by the UWP sandbox. But Windows 10 has made many improvements in helping you get access to many advanced features, e.g. accessing certain locations in the file system, so you may be able to get by with all that UWP has to offer.
If you want to avoid the Windows Store, you may sideload your app, as suggested by an earlier comment.
Hope that helps! :)
I have been sent a working project from a coworker to start learning Visual Studio. The project is under version control, however I don't want to have access to final customer product. So when I try to open the solution file I first get a message that the project is under source control:
"Team Foundation Server Version Control
The solution you are opening is bound to source control on the following Team foundation Serer:
http:// . Would you like to contact this server to try to enable source control integration?"
[yes] [no] [help]
I press no, then I get an error:
"The solution appears to be under source control, but its binding information cannot be found. Because it is not possible to recover the missing information automatically, the projects whose bindings are missing will be treated as not under source control."
[ok] [help]
I proceed and press ok, and another message pops up:
"projectname\projectname.tsproj: The application which this project type is based on was not found. Please try this link for further information: http://go.microsoft.com/fwlink/?prd=12395&pver=11&sbp=ProjectTypeDeprecated&plcid=0x409&clcid=0x409&ar=MSDN&sar=ProjectCompatibility&o1=B1E792BE-AA5F-4E3C-8C82-674BF9C0715B"
My coworker tells me he sent the whole project, so I can't figure out why I cant get visual studio to open it. I am new to visual studio, but I have some programming experience.
Any help is much appreciated.
Thank you
It is doubtful that version control has something to do with your problem. There are two possibilities I could think of:
Your coworker uses full version of VS2012 and you are now having problems due to the fact that Visual Studio Express comes in two main flavours - Web and Desktop. It is unable to load Web(or Desktop) project because it just does not have any tools to work with it. Ask your coworker whether they mix web and desktop in their solutions. If it is so you should either use full VS or be given a reduced set of projects.
Nearly the same - your coworker uses some very old or very new version of particular project type (something like ASP.NET MVC that(as I remember) has different project type for each version). Again ask your coworker if it is so. In this case you will just have to install the needed templates and SDKs.
P.S. I was unable to open your link - it opens microsoft.com/default(maybe due to some regional problems). Search by key words brought to me similar problem for VS2010 http://connect.microsoft.com/VisualStudio/feedback/details/728847/could-not-open-vs2010-solution-with-mvc-project - may be it could help you more specifically.
Recently I was developing a Universal app for both the Windows Phone and Windows Store. In that app, I was trying to fix the Orientation of the App to Landscape. But in WinRT based apps of Windows Phone 8.1, I failed to find any Orientation option.
In the Silverlight apps, we can fix the Orientations as we want. But is there any way to fix the Orientation to Landscape mode in the Universal Apps?
It will be very helpful if someone help me in this regard. Thanks in advance. :)
Under WinRT you can have a look at DisplayInformation class, where you will find probably all you need.
You can also declare your supported rotations in Package.appxmanifest file in Supported rotations.
Here you can download an example of an App with three Pages, each with different orientation.
Im not sure if i missed some information or small print somewhere, but i downloaded the Windows Phone 8.1 dev tools from here: https://dev.windowsphone.com/en-us/downloadsdk
And that now gives me the option to right click on the project to convert it to a "Universal App", but when i click the "Add Windows Phone 8.1..." link, it says two new projects will be added etc, so I press ok then i get the following error:
What gives? As it says in the title, this is a Windows Store Javascript/HTML (WinJS) project, so i know this is something new for Windows Phone 8.1, but surely the template should have been added no? i am at a bit of a loss, if anyone could point me in the right direction.
Thanks,
Andy
Be sure you've installed the Update 2 for Visual Studio: http://www.microsoft.com/en-us/download/details.aspx?id=42307 At the time of this post, only the RC version is available (and this link is for VS 2013). You may have already done this, but I mention it since you didn't mention it in your original post.