Jump to content
cagatay

How to Autorun an App at Startup

Recommended Posts

Hi,

We have developed a game with Unity 3D, and put into Tinker board 2/4G that runs Android 11 and we would like to make our game automatically run at startup. We could not find out how to make it autorun. In application settings / all permissions window, I see a permission called "Run at Startup", but there is no switch to make it on/off. How can we put an app on startup in Android 11?

Best regards

Cagatay Undeger

Share this post


Link to post
Share on other sites

Hi,

This is a simple step to resolve you solution which i read from apkstates.com, so 1st of all you Press Windows logo key + R, type shell:startup, and then click OK while the file location is open. The Startup folder is now visible. The shortcut to the app should be copied and pasted into the Startup folder from the file location.

Edited by jamesbro

Share this post


Link to post
Share on other sites

In my case I created a launcher app in AndroidStudio and replaced it,  and called it in onPostCreate() as follows to call a target app at startup.

private void launchApp() {
     String packageName = "com.mycompany.title";
     String className = "com.unity3d.player.UnityPlayerActivity";
     Intent intent = new Intent();
     intent.setAction(Intent.ACTION_VIEW);
     intent.setClassName(packageName, className);
     startActivity(intent);
}

Share this post


Link to post
Share on other sites

Autorunning an app at startup means configuring your computer to automatically launch an application when it starts up. This can be helpful for programs that you use frequently and want to start without having to manually launch them every time you turn on your computer. Here are the steps to autorun an app at startup on a Windows computer:

  • Press the Windows key + R to open the Run dialog box.
  • Type "shell:startup" (without quotes) and press Enter. This will open the Startup folder.
  • Find the shortcut to the app you want to autorun at startup.
  • Right-click on the shortcut and select "Copy".
  • Right-click on an empty area within the Startup folder and select "Paste". This will create a copy of the shortcut in the Startup folder.
  • Restart your computer to confirm that the app launches automatically at startup.

Note that not all apps may have an option to autorun at startup, and some apps may have their own settings to enable or disable this feature. Additionally, autorunning too many apps at startup can slow down your computer's boot time, so be mindful of the apps you choose to autorun.

If you want to know about mod games/apps, then visit https://modrar.com/

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...