About 24,500,000 results
Open links in new tab
  1. How to launch an Activity from another Application in Android

    Oct 6, 2010 · It is possible to start an app's activity by using Intent.setClassName according to the docs. An example: val activityName = "com.google.android.apps.muzei.MuzeiActivity" // target activity name val packageName = "net.nurik.roman.muzei" // target package's name val intent = Intent().setClassName(packageName, activityName) startActivity(intent)

  2. First Android Application in Kotlin - GeeksforGeeks

    Apr 8, 2024 · In the Android Studio Kotlin Tutorial, we are using Kotlin language to build the application. In the previous tutorial , we learned how to create a project for Kotlin language but here, we will learn how to run an application using the AVD (Android Virtual Device).

  3. android - How do I programmatically launch a specific application ...

    This is what I use to open apps. private void launchApp(String pack) { Intent launchIntent = new Intent(Intent.ACTION_VIEW); launchIntent.setData(Uri.parse("android-app://".concat(pack))); startActivity(launchIntent); } And this is how to use it. launchApp("your.package.here");

  4. Creating an Android App Launcher - Medium

    Jun 5, 2019 · This article explains how one might create a feature within an Android app that allows the user to launch other apps from their app. The code is written in Kotlin and is an example of MVVM.

  5. kotlin - Opening an Android App from another Android App

    Jul 13, 2023 · If you want to launch the start(activity with the catergory LAUNCHER ) activity of your appA from appB, then it can be done using : val launchIntent = getPackageManager().getLaunchIntentForPackage("com.myapp.demo"); if (launchIntent != null) { startActivity(launchIntent);

  6. Custom Android Launcher with Kotlin and Android Studio

    Jan 1, 2025 · In this tutorial, we will guide you through the process of creating a custom launcher from scratch, covering the technical background, implementation guide, code examples, best practices, testing, and debugging. override fun onCreate(savedInstanceState: Bundle?) super.onCreate(savedInstanceState) setContentView(R.layout.activity_main)

  7. Create your first Android app

    In this codelab, you create your first Android app with a project template provided by Android Studio. You use Kotlin and Jetpack Compose to customize your app. Note that Android Studio gets updated and sometimes the UI changes so it is okay if your Android Studio looks a little different than the screenshots in this codelab.

  8. Launch Application from Another Application on Android

    In android, we can lunch other applications using packing name. This example demonstrate about How to Launch an application from another application on Android. Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.

  9. How to Launch an Application Automatically on System Boot Up in Android ...

    Apr 24, 2025 · Navigate to app > manifests > AndroidManifest.xml and add the piece of code given below to the file. Next, go to the activity_main.xml file, which represents the UI of the project. Below is the code for the activity_main.xml file. Then restart your phone/emulator. It will automatically restart based on how much time your system takes to boot up.

  10. Run your first app on the Android Emulator

    Run your app on the Android Emulator. In this task, you'll use the Device Manager to create an Android Virtual Device (AVD). An AVD is a software version, also called an emulator, of a mobile device that runs on your computer and mimics the configuration of a …

  11. Some results have been removed
Refresh