Ask for a verification after a period of time - xamarin

In my Xamarin Forms app, I want to see if the user is still active. I have a form in my app that shows a random code and asks the user to enter it. How can I show this form every, let's say 10 minutes? This should work if the screen is off and the app is minimized.

Related

xamarin forms UWP tablet app windows 10 clicking on 2nd textbox closes keyboard

We are doing User acceptance testing on a Xamarin Forms UWP app targeting windows 10 tablet. We are finding that when the user clicks on a textbox to enter data the soft keyboard appears as expected. However, when the user then clicks into the next textbox to enter a second required piece of data, the soft keyboard hides/closes. This results in the user having to double hit the second textbox (and any more than might need to be filled). The first click hides the keyboard, the second then causes the keyboard to reappear. To say the least this is not a good user experience. I'm guessing maybe the focus of the second is firing before the lost focus of the first? Has anyone else observed this behavior and is there any easy fix? As may want to target both Android and Windows I'm hoping for a simple solution but maybe UWP just does has some problems?

How to navigate narrator focus to a non-focusable app on Windows 10?

I'm working on the input app, which doesn't have focus when users are typing. And users can't press "Alt" + "Tab" key to select it as it doesn't show in the running app list.
The problem is that I want to show some information to users when there are something happened. As input app doesn't have focus, sightless users can't navigate to input app to let narrator to read the content on input app. What is a good way of doing this?

Detecting when the "Thank you" message has been dismissed after IAP OSX

I am working on a game on OSX with In App Purchases.
I am trying to detect when the Popup that says "Thank You, Your purchase was Successful." At the end of a successful Purchase by the user.
The Problem that I am having is I need to hide the mouse and resume input on the game after this message has been dismissed, but I can't find a suitable place to do this.
How can I find out if the OK button has been pressed on this message box?
Okay, so I found a fix to my problem.
I couldn't find a way to detect when an alert is shown from another Application, as all the the In App Purchase popups come from the App Store.
The fix I used was to make sure that the App Store was open before starting the transaction. This means that OS, whether or not you are in full screen, will automatically take you to the App Store. This causes the Alerts to be shown as sheets inside the App Store rather than in front of your application. Problem solved.
I open the App Store immediately before instigating the transaction by calling this line of code:
[[NSApp mainWindow] makeKeyAndOrderFront:[NSApp mainWindow]];
Then once the transaction finishes I grab focus on my App again.

Prompt a message "Press back button twice to return to app" in wp7

I am working on WP7 app.
In this am launching youtube url in Yotube app.
To return to my app from YouTube user will have to click back button twice, as per my research this is a known issue.
I need to show a message(inside youtube) to user like "Press back button again to return" whenever he presses back button.
How can I achieve this?
Welcome any comment!!
If I understand you correctly, you want to display a popup in another application? In your case a Youtube-app?
Unfortunately, you can not change the behavior of another app. There aren't any hooks in other apps from your own app.
That is not possible.

state management in windows phone 7

I am new to windows phone 7.
I have a .xaml page, in that i have lot of TextBoxes and DatePickers to enter User data, If he Submit form i am inserting User data in to Database. But my problem is, in that form i have Country Button if he clicks on that button i am going to different page, in that page he can select Country then i am returning back to the previous form. While returning to Previous page data entered by user will be gone. But here i need to maintain the State(date entered by user should reappear on Form) in that page.
Ho can i do this in Windows Phone 7?
Consider using the ListPicker from Windows Phone Toolkit for choosing the Country. This will not delete your control states
You will want to store this data in the page state. This way you can reconstruct the page when it is navigated to and also after the application is suspended. Otherwise, after your app is tombstoned you will lose this data and after your app rehydrates the user will have to enter it again. If you save it to the page state, you can restore the page to make it appear as if tombstoning never occurred.
There is a lot of documentation on msdn to help you manage application state.

Resources