Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8637443
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T10:29:02+00:00 2026-06-12T10:29:02+00:00

I want to know if it’s possible to have 2 different actions when starting

  • 0

I want to know if it’s possible to have 2 different actions when starting an app.
Like when you go to all programs and select your app you open the app
and if you open the app from the quick selection(I’m not sure if it’s called this but a screen like this :

enter image description here

then it runs some code and shows me a Toast.

Is this possible?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T10:29:03+00:00Added an answer on June 12, 2026 at 10:29 am

    Yes.

    You register “intent filters” with Android in your manifest.xml. The “main” intent filter is the one that the launcher uses, and the only one the launcher uses, to start your app. So, if you start your app via the launcher, it will always start via the Activity associated with the “main” intent.

    You can also register other intent filters e.g. send email. When a user is using a 3rd party app and selects “Send email”, if Android has exactly one intent registered from an app that says “I can do that”, it is launched via that intent. If more than one app has registered intents for “send email”, Android displays the chooser you have shown in your question. If more than one app has registered intents for “send email”, and the user has set an app to be the default app for the intent (hence the “use by default” checkbox), Android launches that app via the intent.

    Start by reading about intent filters here:

    http://developer.android.com/guide/topics/manifest/manifest-intro.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an android app it displays web view.I want know the app idle
I have video view it playing videos correctly but i want know video starting
I have a field with a datepicker. I want know if it is open.
i want know if is possible, to get a specific element value of a
want to know why String behaves like value type while using ==. String s1
I want know when all thread has been finished in a multithread program without
I'm a bit new to the C#-form app developing and I want know, what's
I want know, what regular expression should I have for my string. My string
Hi friends i want know sectionIndexTitlesForTableView Action is works i have the following code...
I want know if I can or when I can open the website :

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.