Where to place the C# code for checking internet connection in App.xaml.cs #Windows phone 8.1 Development? [closed] - c#

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I'm a starter in developing windows phone 8.1 apps.
In my app, the first page has to check the internet connection if true it should navigate to next page otherwise app should close.
I'm having troubles with how to add code.
Please help me...!

The Microsoft requirements are that your app starts (leaves the splash screen) within 10 seconds. You should do all the minimal loading your app requires during the start-up process, then do the internet checking after the program has loaded. You can show a spinner or the floating dots image, if you'd like to inform the user that they need to wait for your app to do something.

Related

How do run a task in background and even if app terminated in xamarin forms? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I need to run a task at a specified time even if my app in the background or terminated in Xamarin Forms(Android and iOS). Please suggest me the best way to do it.
If your application is in the background you can run background services and let do whatever whenever,
If your application is totally terminated you cannot do anything.
The only way to do it if your application is terminated by push notification when your application receive the notification you can run your code but the user have to click on the notifications.
TYou can't write, Because each platform has their own way and rules for background services. You have to make services for each platform.
I don't want to be that guy that says "Google it" - but there are a number of tutorials directly from Xamarin that explain backgrounding. Have you looked? Getting your information directly from Xamarin is always the first place to start.
docs - https://learn.microsoft.com/en-us/xamarin/ios/app-fundamentals/backgrounding/
video - https://www.youtube.com/watch?v=Z1YzyreS4-o

Start app when user logs in first time [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
How can i start an app when user logs on first time on a machine? I need to write an app which assists the user for example configuring other software, printer etc. What i need to ensure is, that this app starts when a user first logs into this machine.
How can I achieve this?
(If it helps, I only need to support Windows 10.)
Make an auxiliar process that starts your app when the computer starts. You can refer this one...
How to run a C# application at Windows startup?
then make a value at your db, for example firstLogin and changed to 0 for this user when your app is running.

c# windows 10 permanent notification [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
is it possible to create a permanent notification at the notification bar in Windows 10?
Also it is necessary to do this in a windows form application and not an universal windows app.
Thanks for you help.
To do it in a WinForms app you'll need to use the desktop bridge to create the notifications.
It's not possible to have a toast that can't be dismissed from the action centre (which is what I assume you mean by "notifications area") but you can detect when it's removed and then add another back in. There are already a number of apps which do this as a way of having "permanent notifications".

How to show a WPF Window in front of a UWP app in fullscreen mode? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I'm looking for a way to make a WPF window stay on top of a fullscreen UWP app. I found numerous mentions of Window.Topmost, but it only works with a windowed app.
For a little bit of context, the idea is to create a virtual keyboard that I could launch from the app (with a brokered runtime component). I do know that there are some keyboard implementations, but they don't do the trick since they basically edit the textboxes themselves (and I need it to be able to also interact with WebViews).
Thanks :)

How to prepare a Windows pc to run a Touch screen Kiosk Shopping Mall App [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I want to lock a Windows machine. So the user won't be able to exit the full screen intensionally or by mistake. Also if the application crash, just will display an error page.
Not the default Windows grey popup window with the "OK" button.
What Im thinking is having a process checking the status of my app. And If the app fails sends a email to the administrator and restart 3 times then if no success shutdown.
Go with WPF.
Set the Window:
BorderStyle=None
Topmost=True
For the Application error catching:
Create an DispatcherUnhandledException event on App, that will show another fullscreen window to handle the case of the app failure.
To avoid the user exiting it, you can monitor user KeyDown and set event.Handled=true

Categories