Questions tagged [app-startup]

Concerns that are a focus of application startup include configuration, startup time optimization, locking/threading/race conditions, preconditions, and configuration changes.

Application startup concerns include:

  • Configuration (e.g., database connection strings, SMTP server names, etc.)
  • Startup time optimization
  • Locking/threading/race conditions
  • Checking preconditions (e.g., presence of required folders / files, security checks)
  • Handling of configuration changes (i.e., whether the application has to be redeployed / recompiled / restarted)
176 questions
2
votes
1 answer

Windows service fails start , Mixed Mode Assembly issue

I have a unique case here . After lots of trials and enough of googling , i am yet not able to resolve this problem. I have an set of libraries (third party) with runtime version 'v2.0.50727', which i have to use within my WINDOWS SERVICE…
B Bhatnagar
  • 1,706
  • 4
  • 22
  • 35
2
votes
1 answer

detect when Application.Current.RootVisual is set (Silverlight)

Assume I am making an assembly (WindowsPhoneClassLibrary or PortableClassLibrary) for a Windows Phone Application (Silverlight). Is there a way for me to automatically detect/register/subscribe for the moment where Application.Current.RootVisual…
Cœur
  • 37,241
  • 25
  • 195
  • 267
2
votes
4 answers

Cannot set visibility or call Show, ShowDialog or EnsureHandle after a window has been closed

This is my App constructor for my WPF application: public partial class App { public App() { Run(new Login(false)); } } And this is my Login constructor: public Login(bool ignoreSettings) { InitializeComponent(); …
Nzall
  • 3,439
  • 5
  • 29
  • 59
2
votes
2 answers

Checking by code whether android app is foreground or background on device

I wants to determine whether my app is in foreground or background on device. In my app, When i get push notification on device then it is require to me that identify 1. whether app is in background or foreground? 2. What is/was the current/last…
Sangam_cs
  • 199
  • 2
  • 11
2
votes
3 answers

Neo4j 2.0.1 failing to start

I'm an undergrad and I'm using Neo4j for my senior thesis project. I'm running it on a Mac and a few days ago my laptop locked up and I had to shut it down improperly. I'm not sure if this caused my current issues but since then I have been unable…
Otto Borden
  • 133
  • 3
  • 15
2
votes
4 answers

Start Android App on same activity every time

I'm working on an Android app that will show college fitness professors how their students are doing in their classes. Since this data is fairly sensitive (biometrics are shown, including weight, something many college students are self-conscious…
2
votes
2 answers

vim: Making tabbed behaviour default

TIL that vim 7 has the ability to work with tabs which is cool. Is there a way to tell vim through .vimrc that whenever I open multiple files, open them in tabs [instead of having to use -p always]
radiantRazor
  • 477
  • 3
  • 13
2
votes
3 answers

Starting a .NET Application From CD?

we're trying to figure out a way to build a .NET application that can run entirely self contained from a CD. Basically user pops in a CD, boots to an operating system on the CD and a barebones .NET Framework starts up with the application. We've…
tekiegreg
  • 1,667
  • 6
  • 25
  • 41
1
vote
0 answers

Slow start onResume the application from the navigation button on real device?

While testing my application on a real device, it works fine onStart, but onPause application to open another one, the application doesn't react well on click to resume the application again, in the screenshot below . It is late for 1 second and…
1
vote
1 answer

How to disable WebViewChromium from initializing

I'm working on improving the cold start time of several apps. One of the apps has a process that occurs during the bindApplication phase of startup, called "WebViewChromium.init. Our other application doesn't have this, and I can't figure out where…
ConcernedHobbit
  • 764
  • 1
  • 8
  • 17
1
vote
1 answer

How to create/update the database when starting an ASP NET MVC 6 application

I have the application developed in ASPNET MVC 6, I used the entity framework, I already have the migration created which is already prepared to introduce values ​​in the database. What I intend is that when starting the application it does the…
1
vote
2 answers

Async OnStartup in a WPF application

I have a WPF application. If it is started with some command line parameter, it should only do some database operations and then close itself. This is done in the App.xaml.cs: public partial class App : Application { protected override async void…
SomeBody
  • 7,515
  • 2
  • 17
  • 33
1
vote
1 answer

MySQL Trigger for database or user event

I'm looking for a way to run a MySQL procedure at database startup. I can only see sql triggers for MySQL. No database and user event triggers Are there other ways of doing this please? Thanks
1
vote
0 answers

Exception when running instrumented tests with Hilt and App Startup

I am starting to setup some instrumented tests on my project, but when I run them, I get the following exception on logcat: 2022-04-11 10:41:09.352 24409-24409/com.example.appstartupinstrumentationtest E/AndroidRuntime: FATAL EXCEPTION: main …
amp
  • 11,754
  • 18
  • 77
  • 133
1
vote
0 answers

How to lazily initialise FirebaseInAppMessagingDisplay

I have noticed FirebaseInAppMessagingDisplay is taking 500ms to load. I am trying to initialize it lazily. Below are the steps i did: implementation "androidx.startup:startup-runtime:1.1.1" Added startup library in gradle. class…
Aayush Singh
  • 288
  • 2
  • 14