Multiple CommandBars in single Page winrt WP 8.1 - windows-runtime

I have currently one BottomPage CommandBar and i was wandering if it is possible to change that command bar via similar mechanic to the one described here : This is tut for WP 7 and 8 ?

Related

Publish WinUI 3 app in Microsoft Store (Windows 11)

I started developing a WinUI 3 application from scratch to Windows 11 to publish to the Microsoft Store but i can't find any option in Visual Studio to create the package and upload. I developed several UWP applications for Windows 10 and never had any problems. In WinUI 3 is different? Can someone help me? please
Thank you!
I had the same problem too. On creating your project you have to choose the template that says "Blank App, Packaged with Windows Application Packaging Project (WinUI 3 in Desktop)". Then you should see the store options again.
I first tried "Blank App, Packaged (WinUI 3 in Desktop)", did not seem to give me the option even though it seems to mention the Microsoft store in the description.
Edit:
The other thing I didn't mention is you have to do the publish from the package project not from the main one.
Select the "Package and Publish" option further down the pop-up

Can I share code between a Windows 8.1 Universal app and a Windows 10 Universal Windows App

I have an existing universal app targeting Windows 8.1 and Windows Phone 8.1.
I now want to create a Windows 10 version of the app. But I still want to maintain the existing Windows 8.1 and Windows Phone apps.
Can I share code between the (old) universal 8.1 app and the Windows Universal App?
I imagine a project structure like this:
Currently I have:
App.Windows
App.WindowsPhone
App.Shared
I would like to add another project for Windows 10:
App.Windows10
With a reference to the existing Shared project.
Is that a feasible approach? Or what would be a better approach?
Yes, you can do that. Add the Universal Windows project to your existing solution, select Add References... from either the Project menu or by right clicking on the Project's References folder in the Solution Explorer, then add App.Shared from the Reference Manager's Shared Projects section.
You'll need to make sure that the shared files are all valid in both contexts or use conditional compilation to separate out the differences.

Any code changes needed to get WP8 app to run on Surface Tablet?

So, our Windows Phone developer left recently, and I primarily do Android development.
We had a question from a client about the possibility of installing our Windows Phone 8 app on a Surface Tablet. Namely, is it possible to do? As it stands, our WP8 app was not written with tablets in mind, so my question is:
Is there anything I need to do to the WP8 app to get it to install on a tablet, (should it work as-is (like Android apps do), is there some sort of flag I have to enable and then rebuild, etc.?)
As #AMR mentions, the biggest challenge will be the UI; however, depending on the device functionality being used, the "backend" may or may not be a challenge as well.
There is great guidance on the Windows Phone Dev Center about practices and techniques for building for both platforms, so depending on when the phone app was built and your former developer's awareness of the overlapping platforms, you could be in great shape or just so-so shape.
Additionally, the following resources may be of help in mapping from what you have already coded in Windows Phone 8 to what you'd do in Windows 8:
XAML controls comparison between Windows Phone 8 and Windows 8
(much will be relevant to Windows Phone 7 too)
Windows Phone 8 and Windows 8 platform comparison (shows common
APIs, storage, networking, etc.)
Lastly, the Windows Phone Runtime API documentation gives a listing
of APIs only on Phone 8 vs. APIs adopted from Windows 8.
Okay well first off yes, there will be a few things that change but nothing to serious.
HOPFULLY you have a good MVVM model. If this is the case then you should be able to just copy and paste 99.999% of your backend code right into your tablet app. There are a few things that are different but its just namespace stuff. Nothing too serious.
The Major change is going to be your UI layout and UI controls. Depending on what libs you are using you will probably have a lot of conflicts.
Your best bet is to just copy and paste your backend code in and then creating a new UI. I have tried to merge phone UIs in the paste into the tablet and its rediculous at times. I found it takes less time to just recreate it.
If you need any help you can hit me up at www.AnthonyRussell.info Maybe I can help with your transfer. Just make sure to leave your contact info.

VS 2012 HTML5 JS project in Windows 7

I have a new dilemma. I have been tasked with looking into moving our Silverlight project into an HTML5 project. Nice!
Well, I downloaded the sample solution from the link below and tried to load it into VS 2012. The Services project loaded fine, but the DataBinding project (a JS project I believe) did not load. The reason stated I need Windows 8 or higher. I currently have Windows 7 SP 1 (64 bit).
Is there a setting or configuration I need to modify to allow this type of project to load? I appreciate any and all input on this. Thanks!
http://code.msdn.microsoft.com/windowsapps/Accessing-WCF-in-HTML5-and-0d247ef8
The project is using WinJS which makes calls into Windows 8.
https://stackoverflow.com/a/7437563/2249535
You can always open up the files individually and replace WinJS calls with jQuery calls but would still need to use a different project type to open in Visual Studio

Separate projects for desktop/tablets and WP8? [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
What is the compatibility between a WinRT class library and Windows Phone 8?
I'm designing a windows store app for desktop/tablets and WP8. The app interface will be the same for desktop/tablets, but different for WP8. Would you suggest I separate this into two projects or do everything in a single windows store app project?
You need to separate. A Windows store app don't work on windows phone 8. You can share parts of code between win8 & wp8 using portable class libraries and winrt components, but need to do a project for windows store app and other for windows phone app.