Adobe AIR desktop application: How to delete cache? - caching

We are developing an Adobe AIR desktop application. There are login and logout buttons. Here we login to a remote server through opensso and after finishing all the operations we logout. But if we don't close the application, and in the same window if we login again as a different user, we are observing some anomalies. Some features of the previous user is retained in the application. But if we totally close the app, launch it again and then login as a different user, it's working properly.
So we are thinking of clearing the cache during logout. Can you please show me how to delete the cache of the Adobe Air application? It should work in all the windows versions, like Windows 7, Windows 10.
Thanks
Nirmalya

Related

Windows 11 IoT in Kiosk mode FORCE allow web cam access

We have a Kiosk machine configured with Windows 11 IoT Enterprise running in Kiosk mode and everything is good. Windows creates specific Kiosk user to run in Kiosk mode which will start Edge browser and load our app. The app needs access to the webcam attached to the Kiosk so that it can do QR code scanning and face recognition.
The issue we are having is that every time the app needs access to the webcam it asks the users permission if they would like to Allow access to webcam (through a small pop-up on the top left hand side corner of the browser). The user can either 'Allow' or 'Deny' access.
Ideally, we don't want our end users to see this pop-up as we would like to 'force' allow the app access to the web cam without keep asking permission from the end users (it just does not add up to a great user experience in a Kiosk mode).
We have searched and tried few ideas we found online about changing REG keys and Local Policy settings but non of them seem to work when Windows starts in 'Kiosk' mode. They work for normal Windows users (like local users or admin users) but not for the Kiosk user.
Any help, suggestions, recommendations would be appreciated.
Found the solution. I hope this will help anyone else facing the same issue.
I had to create new key in the Windows 11 IoT registry under the following structure:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge\VideoCatpureAllowedUrls
After you create the key above, I then added new String value of '1' so the Reg path looks like this"
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge\VideoCatpureAllowedUrls\1
Then I double clicked on the 1 and added the value of my app URL which needs access to the web cam. For example:
https://www.myapp.com/
Restart my Windows 11 IoT which booted in Kiosk mode and I was able to access the web cam via my web app without getting the popup asking me to 'Allow' or 'Deny' access.
this site helped me alot

How and where to store user session information in a GTK application on Gnome environment?

I want to make a GTK application, plus sockets and DB. My system is Debian 11, Gnome environment. But before starting building it, I could not answer or find an answer to the question of user authentication with further access to the client part of the application.
For instance, login window appears, user wants to sign up and proceeds to fill the necessary entries. Then, when validation succeeds, main window pops up, but all the changes and activity in the app since then will pertain only to that specific user. And if a user wants to open the app again (I guess, there will be a session time limit, after which login window will appear again - but that is another question, let's forget it), everything will be restored and displayed as it was since the last time that user was logged in.
I only found, that all those user changes and information should be saved as a cache on client machine, with only little part in DB. Unfortunately, I am new to desktop application development on Gnome and desktop application development in general.
So, how to store that information/client app state, where and just how it works on Gnome specifically?

Outlook Web Add In can't open links in web browser

I have developed a very basic Outlook Web Add In, with the purpose of loading a Power Apps app by using an iframe object with a URL pointing to the app, all this from Office 365 on desktop devices.
It works as intended and, when loading, Power Apps asks the user to login first, this isn't the app itself asking to login, but Power Apps asking the user to identify first and then loading the app. This also works, at least on some devices.
It has come to my attention that some users can't make it past the login request, as instead of opening a browser tab and showing the login form, the iframe in the Add In, shows this message, which, obviously, makes users think the app isn't working:
This app isn't working. Refresh your browser or try again later
Apparently this message is not that uncommon and at least from what I've read it isn't clear enough either.
Besides that, Windows is displaying this message:
You'll need a new app to open this about link
I'm not even sure what it means, but it shows a list with zero apps that can open this "about link", and the option to go the Windows Store.
What should happen (and happens on some devices):
User is shown login request (by Power Apps)
User logs in
App is loaded and shown to the user
What happens (only on some devices):
User is shown login request (by Power Apps)
Windows can't open a web browser, so the user can't log in
Message saying app isn't working appears, because app was never loaded.
As I don't quite understand why this only happens on some cases, I have been testing the issue, and I have found that when the Power Apps login button is clicked, a file called ielowutil.exe, which apparently stands for Internet Low MIC Utility Tool, is executed before the web browser is shown with the login screen, and this only happens on the devices that can eventually load the app, the ones that fail never run this program.
From what I understand this file is related to Internet Explorer.
The Outlook Web Add In is already working within a web browser, according to Microsoft the browser is chosen automatically (Browsers used by Office Add-ins), so if it's already opened then I don't quite understand why it can't open a new tab/window.
The combination of system requirements for Office Add-ins and Power Apps may be the cause of the error here. While some combinations of platforms and Office versions still support IE 11 for add-ins and may default to opening URLs in IE per Browsers used by Office Add-ins and Support Internet Explorer 11, it looks like IE is no longer supported by Power Apps (see Supported browsers for running Power Apps).
For users who experience the issue you mentioned because of IE, you may need to add an alternate experience for the add-in to gracefully fail (see Determine at runtime if the add-in is running in Internet Explorer) or consider a different solution for hosting the Power Apps app.

Popup application under citrix

We are planning to develop an application that will run as a windows service that reads a DB for entries on a timer interval basis. whenever an entry is found the service opens shows a popup in the system try, something like lync or ocs.
My question is whether it is possible to deploy the windows service and the popup application under citrix xen app?
Man thanks
Yes you can do that, but you need to keep in mind how those popups will be consumed by a XenApp user. In particular how is the popup app going to get started?
If your users are using published desktops then you can put your popup app in the startup folder of your users so it will always launch and be running and everything will work fine. However if your users are running published apps then you should have the popup app published and get your users to run this published app.

launch an app from a URL on Windows Phone 7

I know that on the iPhone you can register a URL prefix such as myapp://blah which, when opened in safari, will open up your application.
Is there anything like this for Windows Phone 7?
Unfortunately not, applications can only be launched by the user from the application list or home screen. I suspect that the hooks are there in the operating system because the YouTube application is launched when attempting to view a video on the YouTube website from the browser and the user is prompted to install the app if they haven't already got it installed. But unfortunately, this approach isn't publicly available.
You may give Receive Push Notifications in an Application for Windows Phone http://msdn.microsoft.com/en-us/library/ff402556%28v=VS.92%29.aspx a try.

Resources