detect if app is sideloaded in windows runtime - windows

I am working on a windows phone Runtime app
I want to know how can I find if the app is side loaded or it downloaded from Store directly ?
Note : I want to prevent application run when it's sideloaded. I want to prevent crack installation of application

try to Write a file in Installed Directory solved the problem .
Thanks to DJAmol in Xda-Developers.com forum

Related

Flutter GetSystemMetricsForDpi not located

We build a windows desktop application using flutter desktop and want to distribute it. But after distributing exe file, we got error
The procedure entry point GetSystemMetricsForDpi could not be located in the dynamic link library USER32.dll
This error only show in windows 7 and application works properly on windows 10. Please help us to solve this issue.
Thank you
That function is only available in Windows 10, so there's no way to make your application run on Windows 7 as-is. However, than function isn't used in a stock Flutter application, so either:
you added it to your Runner code, in which case the solution is not to do that, and to do whatever you are trying to do in a Windows 7-compatible way, or
you are using a plugin that calls it, in which case you need to either:
stop using that plugin, or
ask the plugin's developer to support Windows 7.

Cannot get windows 10 assigned access work with Electron-Windows-Store

I have created an electron app distributable as Windows Store Application by using electron-windows-store.
After installing the .appx package I'm able to launch it and use it without any problem, but when I try to setup an assigned access for a Standard User with the same App the application fails to startup.
Syntoms are the same that are state in this other StackOverflow question, but the answer does not apply to my case, because the generated package is 64-bit.
I'm not able to find any other clue about the reason why it fails, so I don't know whats wrong.

No windows appears on deployed application on Windows

I have developed an QML application (Mingw). I want to deploy this app to other Windows system. My instructions are:
Building app in Release mode
Run windeployqt.exe for necessery dlls and folders.
Adding missing dll.
Problem is, when I start my app, it seems to work in background and no window appears. I have wasted a lot of time on this.
I know it's an old question. For anyone to get here looking for an anwser, try using:
windeployqt.exe . --qmldir <\project\folder\>

Installation metro style application

I am trying to install my Metro Application.
So, my question is:
Can I move sample pictures for my Application to KnownFolders.Pictures and Videos during installation ?
And, how can I create installation file for my application?
Thank you
With the installation mechanism for Windows Store apps in Windows 8, there is no need to write a setup or installation program. That will all be managed through the Windows Store once your app is published.
Since you can't write a setup program, to accomplish a similar goal, you can put some functionality in the app to execute when it's first run, then save a setting to indicate you've already performed the first run operations.
This would be where you would put your code for moving sample pictures.
However, your app will also need the appropriate permissions to access the KnownFolders location programmatically - check out this article for details. http://msdn.microsoft.com/en-us/library/windows/apps/Hh967755.aspx
It's also a good best practice to ask the user if it's OK to copy sample pictures to their Pictures library.

Detecting and launching an external application from within a Windows Phone 7.1/7.5 application

I need to write an application that can detect if the "Bing - Get me there" application is installed on the current phone and if so, launch it.
Is this possible? The app would need to do this for other external applications as well, so a generic method or interface for this would be helpful.
Applications run in a sandbox on Windows Phone and there is no way to tell if other applications are installed unless you are writing both of them and you use a method to announce to other applications that you are installed and they know how to read that announcement.
2 approaches to such announcements would be:
Have both (all) apps synchronise with a web server and report which devices they have been installed on. The apps can the query which other apps have been installed on that device.
Have all apps write a file to a location where all apps can access. The only place to do this is the PicturesLibrary so you have to embed the identifier in the name of the image or in its contents and be able to query all images to identify the other installed apps. The user could manually delete any images you create in this way though.
Beware, neither method can tell if the other app has subsequently been uninstalled though so this is far from foolproof.
As far as I know, there's no way to do that.
Applications on Windows Phone run in complete isolation, and can not act with other applications, other than some highly specialized apps (i.e. for playing media).

Resources