178 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
54
views
Using ASP.NET Core's ConfigurationBuilder
Moved from .NET 4.8 to .NET 8. Updated from IHostingEnvironment to IWebHostEnvironment, but it is not adding the correct configuration:
public Startup(IWebHostEnvironment env)
{
var builder = new ...
0
votes
0
answers
32
views
Get Initializer result from Hilt module
Simple question here: is it possible to get an object initilized through app startup Initializer inside a Hilt module?
Let me provide an example. Assume that I've the following Initializer:
class ...
1
vote
1
answer
381
views
Unable to use custom startup for .NET 8 integration project
I have an ASP.NET Core Web API project which I have been upgrading and is now running on .NET 8.
I am planning to have integration test included in the project with xUnit.
Now since I always had a ...
20
votes
4
answers
4k
views
Android app stuck at "Launching on Devices" or 'device 'DEVICEID' not found' error
The app can not be launched. It is stuck for a very long time in "Launching on Devices" (it seems to not stop).
Sometimes instead of beeing stuck it gives the error
'device 'DEVICEID' not ...
1
vote
0
answers
280
views
My macOS app+helper is not in the "System Preferences/Login Item/Allow Background" list
I created a macOS app that can run in foreground (NSApplicationActivationPolicyRegular) and in background (NSApplicationActivationPolicyAccessory) and can be launched by an Helper (Login Item) and run ...
2
votes
2
answers
616
views
How do I save multiple startup projects as a separate start type in a visual studio 2022?
In visual studio there is a way to choose multiple projects for a startup via "Multiple startup projects" in a solution settings. I can even choose an order in which they are going to start ...
0
votes
0
answers
753
views
anndroid test fail java.lang.RuntimeException: Unable to get provider androidx.startup.InitializationProvider
I'm trying to run android tests from the terminal(gradlew connectedAndroidTest), all tests run and pass successfully, but at the end of the i'm filing with an errorTest run failed to complete. ...
0
votes
1
answer
336
views
Stuck on startup page when flutter app reopens
Preface: I am using Flutter to develop an Android app.But I found that when I open the App and then switch to the background, and then reopen the App after a while, the App will be stuck on the ...
0
votes
0
answers
533
views
How to make android boot straight into an app without showing the UI
we're developing an app that runs on android tablets. The app is an DeviceOwner/Admin app (the device can be set up as COSU device if it helps) and runs in LockTaskMode (the full kiosk mode). We want ...
0
votes
0
answers
67
views
.NET 6 startup class - Dynamically update extension methods parameters without restart
Lets say I have a startup.cs class with the following extension method (.AddXYZ) from an internal team.
builder.Services.AddXYZ(builder.Configuration, o =>
{
o.Policy.Add(new ...
0
votes
1
answer
41
views
Change button property during an app startup
I have made a simple UWP app that comunicates with a network device. I have implemented an async method await GetStatus("PW?") which sends particular command and returns the device's status. ...
0
votes
0
answers
106
views
How to go to Launcher screen when home button is clicked in application's white screen?
I have an application where in onCreate() function heavy operation is performed.
Thus when we launched an application, it displays white screen and then display the webview.
Now client pressed the ...
0
votes
1
answer
107
views
Where do I get benefits from usage App Startup library?
Where do I get benefits from usage App Startup library?
The documentation only tells us how to create an object and not how to use it
class MyPreferences : Initializer<SharedPreferences> {
...
2
votes
2
answers
2k
views
Maui Blazor Set Startup Page on Open
Seems a simple enough task, but I'm stymied:
I want to direct the startup page of the app based on a LocalStorage setting.
I'm able to get (and set) LocalStorage without problem, but can't seem to ...
1
vote
0
answers
98
views
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 ...