I am making a Windows 10 hosted Webb app following this. Now when the user press the back button on the phone, it seems that it just quit the app. I want the app just go back to the previous page.How can I do that? I have read this but this is for C#. How about the case for Web App? Thanks!
Since Windows 10 UWP apps are being shipped without any templates, there is a GitHub project which contains many code examples to add to your Windows 10 application. Here's the project which implements a back button and multiple navigation features utilizing controls. It works on both Windows 10 Mobile and Desktop.
Link to project which implements SplitView (Back button and hamburger):
https://onedrive.live.com/redir?resid=A818A6F7EAABB150!451776&authkey=!ABr-Lk3FsiRAelY&ithint=file%2czip
Link to original project (Didn't compile in VS 2015, so I fixed it in the app linked above)
https://github.com/Windows-XAML/201505-MVA/tree/master/SplitView/SplitView/SplitView-Template10
Screenshot:
Related
I have an application written in VB.NET that I want to move to Win10. It will always be a desktop application, however I would like it to have a start icon / tile in Win 10. Looking around I found this exact question which suggests to create a Metro App (now I believe called Windows App) which launches the desktop app. This is also discussed in this thread. So the questions;
These threads are a little old is the best way in Win10 to give a desktop app a Windows App Tile by using a Windows App as the Launcher for the desktop app?
It appears that in Win10 Microsoft has now allowed non-store apps to be installed in Update Security > SideloadApps. This needs to be enabled to install the App, but does this need to be always enabled. For example what happens after install if the user turns it off, will the app then not start?
For example I see in this link that there are 2 Registry keys to change, basically AllowAllTrustedApps and AllowDevelopmentWithoutDevLicense. Is it possible for my desktop installer to change these keys, install the Windows App (and everything else) and then change the keys back again?
Uninstalling? If I created a Windows App which only launched my desktop app then there is a possibility that the user uninstalls or deletes the Windows App, meaning my desktop app would be orphaned and lost. Any suggestion on solving this?
According to your description, I think what you need is Desktop Bridge. There is no need to use a Windows App as the Launcher for the desktop app.
You can try with Desktop App Converter, with this you can bring your existing desktop apps written for .NET 4.6.1 or Win32 to the Universal Windows Platform (UWP).
And after converting, you can replace the Assets generated by Desktop App Converter (DAC) automatically to provide custom Tiles/Icons. For more, you can refer to Manually convert your app to UWP using the Desktop Bridge.
I'm developing an app that uses toast notifications to notify the user. These notifications are raised when the app is running in the background and go to the notification center.
All is well, but on desktop the app icon is missing for the notification group. When testing the app on Windows 10 Mobile the icon is there.
(Note: Shown above is the notification group for an app named "Calendar Activity", not the actual notification.)
Why is the app icon missing in the desktop's action center?
Here are some details about my assets:
I used the UWP Tile Generator to generate every asset you can configure in the app manifests 'Visual Assets' section. The files names look like this:
Toast notifications are generated using the UWP Community Toolkit classes, if that matters. So I'm not constructing the XML myself.
What am I missing? What is different between desktop and mobile regarding the notification group icons? Why is the notification icon missing on desktop?
(Win 10 Anniversary, SDK 10.0.14393.0, latest official update level for desktop and mobile (no Insider))
This is a know issue for desktop:
This is a known bug with the Anniversary Update (Version 1607). It only affects your app when deployed locally from Visual Studio. Your app will work correctly when deployed as a release package (like when installed from the Store). - Source
I have responsive website and wanted to create app for windows phone. So is there any way to make the same? online or by using any other technology (like phone gap or something else). It means my website URL load on click of app icon.
There are different ways to do that. Basically you have three ways (but there are more!) to consider:
Native universal HTML5/JS app: Create a native app using HTML5 and Javascript directly. There is a nice jumpstart available in the Microsoft Virtual Academy (MVA): http://www.microsoftvirtualacademy.com/training-courses/developing-universal-windows-apps-with-html-and-javascript-jump-start
WebView in a C# app: You can also add a WebView to a C# app and run your code inside a browser. This is done quite often - especially if developers want to port a web app very quickly to Windows Phone since all you have to do is to adjust your paths and you're good to go. There's a video on Channel9 by Bob Tabor: http://channel9.msdn.com/Series/Windows-Phone-8-1-Development-for-Absolute-Beginners/Part-13-Working-with-the-Web-View-App-Template (This video is part of another MVA course: WP 8.1 app development for absolute beginners)
3rd party frameworks: You can use third party libraries like PhoneGap / Cordova to run your code. This is very much like 2. as your code is also executed in a browser. The advantage is that you can easily deploy your code on other platforms but you might run into performance issues under certain circumstances.
So if you want to load your page if you click on your app icon (2) might be your best shot.
For Windows 10 Universal Apps you can do that very easily using the Microsoft project Westminster:
https://dev.windows.com/en-us/uwp-bridges/web-apps
Step by step guide is here:
http://microsoftedge.github.io/WebAppsDocs/en-US/win10/CreateHWA.htm
It takes about five minutes to make the app, and then maybe a few hours to polish it, make the right icons from the Windows store etc.
I have a chat application written in VB.net. It uses SetWindowPos function to set the window to top when a new chat message is received. It works fine also.But in windows 8 it will not bring the window to front when windows 8 apps like reader or photo is running.These apps will be running with full screen mode in Windows 8. So my chat application windows is not appearing at the top when popup occurs. So how can i make it to appear even when these windows 8 apps are running in full screen mode.
Applications with 'UIAccess' are allowed to display on top of the full screen apps. Look at the answer to Windows 8 Layered Windows Over Metro Apps. This question is about layered windows, but that makes no difference. Eric's problem was the same as yours, that his window was not displaying on top of the Metro interface.
In short, you need to:
Declare uiAccess="true" in your application's manifest
Your executable needs to be digitally signed with a trusted certificate.
Your application needs to be installed in a trusted location, i.e. Program Files
I have done some project using Sencha Touch -> www.estof.net/sencha (php + sencha). I want to ask you guys some questions:
a) I want to create app using sencha and upload to iPad. My app will work only if i connected to wifi or whatever internet?
b) For example i did some application, draw icon. Can I put it on iPad? Then click on icon and my application will work? (will be nice if app tried even to connect to Internet, but APP ICON will be on iPad)
c) Or sencha using only as a web-site?
Sencha apps can work in offline mode. This is done by using a manifest file to cache the required files. This will explain more about it. This is another tutorial using phone gap.
Yes you can create app icons for your apps. In this link, you can see an attribute named 'icon' which specifies the images to be used as the icon. In safari when you take your site, and press the option button on the bottom, there is an option to 'ADD to Home Screen'. This option will add the icon to the home screen.
If you go to the sencha forums and check their showcase section you can see many apps that are actually sold in the app store.
The upcoming version of Sencha is said to have their own api's to access native feature of a phone os. Its more detailed on their website.