Can't remove custom splash screen - android

I made a splash screen for my android app - therefore I followed the 3 steps described here https://stackoverflow.com/a/15832037/7589266
As I didn't like the result, I directly reversed the 3 steps. But the splash screen still showed up. Furthermore, I deleted the app from my smartphone, cleaned the project and rebuilt it. If I run the code now on the emulator, there doesn't show up a splash screen, but it still does on my physical device.
Does anyone have an idea how to fix this?

Related

Android Unity build crashes during the spash screen, upon the re-entry of the application

After building the game and sending it to my phone as an apk and then installing it. Then I launch the game and it works.
But, after exiting the game, the second time it's launched, it seems to freeze at the splash screen. After the unity logo disappears, it looks like the screen is resizing itself, as the background image of the splash screen which seems to be frozen gets a little bigger on a side of the screen (when landscaping)
So far I have attempted:
Modifying the manifest, I got nothing.
Changing Unity versions, I got nothing. The only version that seems stable and runs properly it's 2019.2.21f1, I am using this version because of my hardware limitations. I am also using 2019.4, but it's not a big difference, and I get the same problem.
Disabling Optimised Frame Pacing but nothing.
I also tried different API levels, Gradle versions, and JDKs. All that can be updated and downgraded but still nothing.

Setup Android emulator for tablet

I'm developing an Android app on a tablet. I was trying to use the emulator for development. But, the orientation, when the app is running on a tablet, is not fixed.
For example: when a button is attached to the bottom of a screen layout (let's say MainActivity), and I'm trying to press on it, the press will be affect the center of the screen (vertically).
Therefore, I can't test any button pressed or other views. Does anyone knows how to fix that? Can't find any useful reference online.

flutter splash screen not working after update

I am facing a strange problem. I had a splash screen to my app ex. black in the background. But I change to a new splash screen to a white background.
I changed all images in android/app/res folder.
Now the problem is the first slash screen still appear for a moment and after that second white screen will display.
I tried flutter clean.
deleting an app from mobile
trying to run on different devices
checked complete project folder for old splash screen it's not there.
Thanks for any help

Meteor white screen instead of splash screen

I've created a new app with Meteor (1.2.1). If I start it once I get a splash screen. Then I stop my app with
navigator.app.exitApp();
and if I start it again, there is a white screen instead of the splash screen.
The Problem should be reproducible for anyone. Create a new blank meteor app and run it on your android device. If you start it the first time you will see the meteor splash screen and if you close the app (with the back button on your device) and start it a second time you will get a white screen instead.
In older versions of meteor (1.1.0.2) I had no such problem.
Have anyone a solution how I can get the splash screen every single time.
(I've tested it with Samsung S4 Mini and HTC Evo 3d)
I've found a workaround for my problem.
I've added an older release of cordova-plugin-splashscreen to my project. From https://github.com/apache/cordova-plugin-splashscreen/releases
# version 2.0 (current version is 2.1)
meteor add cordova:cordova-plugin-splashscreen#https://github.com/apache/cordova-plugin-splashscreen/tarball/d23ea4e01162a78f692bb246776f2a5b3a1da14b
I run into the same issue, after look at the PhoneGap document, I found it's a default behaviour for phonegap splash screen plugin. You can see it here
"SplashShowOnlyFirstTime" preference is also optional and defaults to true. When set to true splash screen will only appear on application launch. However, if you plan to use navigator.app.exitApp() to close application and force splash screen appear on next launch, you should set this property to false (this also applies to closing the App with Back button).
So all you need to do is add this into your mobile-config file
App.setPreference('SplashShowOnlyFirstTime', 'false');

Sencha app with cordova shows black screen on launch

I have created few Sencha touch 2.3 apps and packaged them for Android and iOS using Cordova.
One issue that I have not been able to resolve is, when you launch the app, you will see a black screen after which your Splash screen appears. Has anyone managed to solve this issue? I would like to directly show the splash screen without the black screen in between. This happens on Android.
Also, even if you create a starter app using sencha app generate... If you try to package that app, it takes minimum of 4 seconds before your view is loaded and displayed. Is there any way to speed up this? When the skeleton app takes 4 seconds to load, you can imagine other real apps that are bigger in size, they take 6-8+ seconds to load !
Use the splashscreen plugin from Cordova and hide it after 250ms of the launch of your app.
basically inside the app.js - launch:
var browserEnv = Ext.browser.is;
if (browserEnv.WebView && browserEnv.Cordova) {
Ext.defer(function () {
Ext.device.Splashscreen.hide();
}, 250);
}
Your problem with start time of the app:
I do not have this, as my empty apps start within 2 seconds therefore you might want to check on the size of your app and resources.
What is the size of your apk. If it is larger than 0.45 MB for an empty you definately want to look into it.

Categories

Resources