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 9193851
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T21:15:51+00:00 2026-06-17T21:15:51+00:00

i am using intent-filter to share images to my application. the uploading Activity is

  • 0

i am using intent-filter to share images to my application.
the uploading Activity is (B) and the main Activity in my app is (A).
so the images sent from filemanger/gallery to Activity (B) then the user click upload and i kill the (B) Activity with

    finish();

and i am using

    onActivityResult()

method to check if the user came from the uploading Activity and end the main Activity (A) with the finish() function.
now i killed my app but the system take the user to the home or the apps list.
i want the system take the user back to the filemanger or the gallery to share more photos.

  • 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-17T21:15:51+00:00Added an answer on June 17, 2026 at 9:15 pm

    i had to add a attribute to the Activity in the manifest file
    you have to change the way of lunching the Activity
    add this code in the Activity tag

            android:launchMode="singleTask"
    

    more info : http://developer.android.com/guide/topics/manifest/activity-element.html#lmode

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

Sidebar

Related Questions

In my application user can share information with different apps using: shareIntent.putExtra(Intent.EXTRA_SUBJECT, Link from
I currently have an Android application that has an intent-filter to receive images from
I can hook my app into the Share page feature using the following intent-filter:
After using a intent to cause my app to launch from the email application,
How would you open your application directly using an intent filter when using the
I download the *.ics file successfully from the mail attachment by using intent-filter. I
I'm trying to achieve this using the following code: <activity android:name=.MainActivity android:label=@string/title_activity_main > <intent-filter>
I am using ACTION_SEND Intent to share an android market app url link via
The app has an intent filter to allow it to appear in the share
I'm using an Intent Filter in my activity to retrive an url clicked on

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.