Autorun desktop app and check if it is running from a Windows 8 App - windows-8.1

I´m developing a Windows 8 App, and it needs a desktop app running on background to work properly.
So i have two questions:
1.- The OS is a Windows 8.1 Industry Embedded. I need to autorun the desktop app and my Windows 8 app at startup.
Here explains how to do so with a Windows 8 App, but not with a desktop app, so i´m using this other solution to add the application to the Windows Startup folder, but i´m not sure if this is the best way.
2.- Then, when my app starts, i should check if the other app is running or not to work in one way or another. How can i check that? I´m developing with HTML and Javascript.
Thanks!

Yes that is the 'proper' solution to starting a desktop app on startup. Otherwise you can look at creating a windows service that manages the app lifecycle.
By design, winRT apps are not supposed to talk to desktop applications, but if you are sideloading the winRT app (i.e., not through the Windows Store), you could run a local server with your desktop app, and then enable local loopback with localhost in your winRT app and communicate that way.

Related

Windows Universal Platform

I am new to WUP and researching on Windows Universal platform, I have following questions for the same:
1)I would like to know if anyone has used it, and if it can be deployed anywhere else other than the windows store. How can we make the app available to the users/client without deploying it on the Windows store. (where else can we deploy the app?)
2) Will the app developed using WUP only works on Windows 10 or previous version of windows as well?
3) Can it be developed using 2015 or 2017 is mandatory?
Thanks in advance
1)How can we make the app available to the users/client without deploying it on the Windows store. (where else can we deploy the app?)
Typically, you download these apps from the Store and that is how they are installed on your device. But you can sideload apps to your device without submitting them to the Store. This lets you install them and test them out using the app package (.appx) that you have created.
For more info, please refer Sideload your app package.
We can also use the App Installer, it is a Universal Windows App that is pre-installed as part of the Windows 10 Anniversary Update. The app enables a user to double-click any .appx or .appxbundle for easy installation, eliminating the need to run PowerShell or specialized scripts.
Please refer the App Installer.
2) Will the app developed using WUP only works on Windows 10 or previous version of windows as well?
Windows 10 apps can only run on Windows 10 (and newer). If you want to target 8.1, you have to build a Windows 8.1 app. A Windows 8.1 app should run on Windows 10 without any problems.
You can refer the Develop apps for the Universal Windows Platform (UWP), it lists the requirements of UWP apps.
3) Can it be developed using 2015 or 2017 is mandatory?
Yes, we can use the VS 2015 or the VS 2017 to develop the UWP apps.
Please refer the document of Build UWP apps with Visual Studio.

Can I embed a windows store app inside a classic windows application?

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! :)

How to launch Azure Remote App client on Windows 7

Hi I am trying out Microsoft Azure Remote App Services.It asks me to download a client to connect to remote app server to run the apps on my local machine. I downloaded the cleint (rdClickOnceLauncher.application), but this doesn't launch and asks for an associated program to open with. I am not sure how to open such programs. Could any one guide me?
OS:Windows 7 Professional Service Pack 1
Thanks
I nailed it. It open with "C:\WINDOWS\system32\dfshim.dll" for 32 bit systems and C:\windows\sysWOW64\dfshim.dll for 64 bit systems clickonce application deployment support library.

Stopping scroll in iOS hybrid app

How do I stop scroll in background which has a overlay/pop up on it? I have disabled the scroll and its working fine on windows and android but the background scrolls in iOS.
No. There's no direct way or a Windows Store app to launch other apps. The only way is to launch files or URIs into the default handlers for those file types and protocols.
If this is a side-loaded enterprise app then it can use a brokered Windows Runtime Component to call desktop code, and that desktop code can then call desktop API to launch other apps. See Brokered Windows Runtime Components for side-loaded Windows Store apps

Can my Azure Mobile Service run locally?

I am new to Azure. I am following this tutorial in setting up my .Net server for azure and ios client.
http://azure.microsoft.com/en-us/documentation/articles/mobile-services-dotnet-backend-ios-get-started/
I am testing my ios client on simulator. Can I run my .NET server on my location machine with put publish it to azure? If yes, how can I figure my client to talks to this location machine?
And in the tutorial, it creates a Database Table. If I run it locally, do I need to setup my location DB server?
Not on a mac (which you need for iOS development). With the .NET backend you can run the service locally on a Windows machine, but it will be running off of localhost.
For iOS development, you have two choices. If you use the JavaScript / node.js backend, where all of your development can be done in the Mac (you can configure the service via Git locally or directly in the portal). If you use the .NET backend (the link you mentioned), then you need the Mac for the client-side development, and a PC (or Windows running in the Mac on an emulator such as parallels) to develop the server (you need Visual Studio for that).
And regarding your question about the table, when you run it locally, it will use Entity Framework Code First (by default), so you don't need to create the table in your (local) database - it will create it automatically for you.

Resources