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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T16:41:17+00:00 2026-06-13T16:41:17+00:00

I have a customized Dialog. In this Dialog, there’s one Button and one TextView.

  • 0

I have a customized Dialog. In this Dialog, there’s one Button and one TextView. When I click the button, I open a new activity. This activity is a kind of file explorer written by myself. I use a ListView to show the file name. I want to close this activity when I click item of the ListView and return to the dialog. I also want to write the item’s title to the TextView in the Dialog.

Now I just don’t know how to return to the Dialog? I only know how to return to a new activity.

Thanks.

  • 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-13T16:41:19+00:00Added an answer on June 13, 2026 at 4:41 pm

    Open startActivityForResult to start the filemanager activity. After the user has chosen the file set a result with setResult. This allows you to fill a data bundle that is returned to the activity that startet the filemanager. Now finish the filemanager activity.

    The activity that created the dialog will get the data bundle in onActivityResult.

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

Sidebar

Related Questions

I have listview having customized some textview and one imageview. When I long click
Possible Duplicate: Dismiss a custom dialog? I have a customized dialog, the layout file
I have customized UITableViewCell (Static Content Loaded from nib). This cell contains one UILable
I have a customized Dialog. Inside the dialog, there's an EditText. When I touch
i want to build a customized dialog just like the one shown in image:
in my activity when the user clicks a textview a custom dialog box is
I have customized one of my forms and now it does not pass the
I came across this application, that appeared to have customized the UI Picker. I
I have customized a canvas to support the zooming. I am doing this by
I want to have an Android dialog using Fragments that is fully customized: none

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.