Is it posible to implement an Hamburger menu (or similar) in Windows 8.1 and Windows Phone 8.1?
Thanks in advance
Windows 8.1 doesn't support Splitview which is mostly used to create a hamburger menu. You can however code it all, but that will be a big mess. I Suggest you take a look at UWP and the controls inside UWP, to easily create a hamburger menu. There is many tutorials on how to create one in UWP.
A really quick search brings up results like this one:
github.com/FrayxRulez/SplitView
This repository contains a porting of SplitView control available in
Windows 10 for Runtime 8.1 and Silverlight 8.X
Properties are the same, so if in future you want to port your app to
10 you have just to remove the Universal.UI.Xaml.Controls namespace.
Related
I see lot of difference between Win 8.1 and Win 10 Apps. Login used to be in settings in Win 8.1. How to implement custom login in Win 10? Which is the right component or control for it? Also how to implement carousel panel in XAML which is similar to Win 10 Store App?
Thank you !
How to implement custom login in Win 10? Which is the right component or control for it?
See:
Guidelines for login
Authentication and user identity
How to implement carousel panel in XAML which is similar to Win 10
Store App?
There is no carousel control like in Store App right out of the box. However, Pivot control has similar functionality, see Guidelines for tabs and pivots -> The Pivot control -> Carousel section. If you edited the template in Blend For Visual studio it could look just like the carousel in store app although it won't be easy.
Another option is to google for 3rd party control or create your own.
If you are serious about creating apps for windows, you should really read all the guidelines for Universal Windows App design and development.
If you look at what's measued in microsoft exams:
70-354 - UWP – App Architecture and UX/UI
70-355 - UWP – App Data, Services and Coding Patterns
you will have very good overview of what is recommended to know. For each exam there use to be a great book called Exam Prepartion Guide, but since these exams are new and currently still in beta, the books has not been published yet.
I have two simple questions since I'm very new to Windows Phone programming:
1:
How do I cange the root frame, or show a different Page on startup, in a Windows Phone 8.1 Silverlight application? I have a LoginPage and then I want to check if the user is logged in show MainPage as root frame and if the user is not logged in show the LoginPage.
2:
Windows Phone Silverlight applications seems so different to me compared to the Windows Phone WinRT applications, or maybe I'm just not experienced enough. For example I can't put a placeholder/hint text in a textBox in Silverlight but it's super easy in WinRT, why is it like that? Isn't that something very basic that many IDE's implements? Or have I missed something mayor when I'm developing a Silverlight application for Windows Phone?
I know that Windows Phone WinRT is used to create universal apps and Silverlight is used to create only mobile apps for Windows Phone, but why is developing a mobile app in Silverlight so much different (at least to me) compared to build a Windows Phone app i WinRT?
For your first question, use the UriMapper.
The basic principle is that you check if the user is logged in or not and based on that, navigate to the correct view.
The code is not all that complicated, there is a very good tutorial up on Shawn Kendrot his blog here...
For question 2, how to add some sort of hint/watermark can be done in several different ways.
But a very simple version is presented on MSDN here... it uses events to set and clear the watermark.
Point 1
You have to go to Package.appxmanifest and under the tab called Application the second field contains the startup page name. Currently it should be MainPage.xaml, just change it to LoginPage.xaml.
Point 2
I don't quite understand your question. Silverlight and Windows Runtime are two different platforms, they have in fact many different libraries. The goal of Windows Runtime is to run the same application on several different devices, so different hardware requirements and different resolutions. It was a need to organize the environment differently and of course Microsoft added some minor changes such as the hint text (e.g.).
What is so different to you? I did the porting of an app from SL to WinRT but it's not difficult nor tricky at all.
I am developing a Windows Phone 8.1 Silverlight application. Its very similar to a e-commerce app. I need something similar to a ListView. But that is not supported in Silverlight apps due to the missing Windows.UI.Xaml in them. So any suggestions for alternatives and corresponding template???
Thanks in advance.
I'm doing a WP 8.0 compatible app, into that I need to put on a specific page a flyout menu.
Now, the Flyout element is only compatible with WP 8.1, so now I'm asking if there's an alternative compatible with WP8.
Specifically, I want a button which, after the user's Tap, shows off others elements that drop down under the button.
Maybe there's a solution that can be easily found online, but I'm italian and I really don't know how it's called that kind of menu in English.
Thank you.
For Silverlight for Phone, there's the Phone Toolkit (http://phone.codexplex.com or via Nuget) that provides the ContextMenuService.
The base variant only supports Menu-Items in the ContextMenu, but as it is open source, you can extend it to show any Xaml content.
I am working on a Windows Phone 8 app, and have a question about UI design. Please take a look at the image below:
What I am trying to add to my app is something like the above UI under "recent" tab. That is, some kind of live tile style thing with-in the app.
If anyone has experience about how to build such kind of in-app tiles, please share some idea or code sample.
Thank you
The Windows Phone Toolkit provides a Windows Phone HubTile control:
Here is a tutorial on the Nokia Wiki that explains how to use it.
Use HubTile control from Windows Phone Toolkit library.
There are couple tutorials about that control available, e.g.
http://igrali.com/2011/08/19/how-to-use-the-hubtile-control/,
http://www.developer.nokia.com/Community/Wiki/HubTile_in_Windows_Phone