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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T23:21:42+00:00 2026-06-14T23:21:42+00:00

I made an image viewer that has 3 activities: 1) Main: where I search

  • 0

I made an image viewer that has 3 activities:

1) Main: where I search for files using regexp against filenames. The result is an ArrayList called ‘files’ that is sent using Extras to…

2) Thumbs: Through Extras it gets the filenames, and shows a grid with thumbnails (already stored locally). When you click a thumbnail, the position and ‘files’ is sent to…

3) Photo: It shows files(position) fullscreen.

Now, I want to make ‘Photo’ my default image viewer. I know how to call the class from another app. But is is possible to make ‘Photo’ the default viewer just by clicking an image, without calling the whole app?

  • 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-14T23:21:44+00:00Added an answer on June 14, 2026 at 11:21 pm

    In your manifest under your “Photo” image viewer activity add the following intent filter:

    <intent-filter>
        <action android:name="android.intent.action.VIEW" />
        <category android:name="android.intent.category.DEFAULT" />
        <data android:mimeType="image/*" />
    </intent-filter>
    

    You’ll need to get the URI of the image from within the intent to display it.

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

Sidebar

Related Questions

I made an image slider using this plugin http://slidesjs.com/ while ago for a mobile
So I made an image flipbook animation that reacts to mousedrag. It works fine
I've made some image validation. The user has to enter the code from the
So I made a background image to that is just two colored bars to
I made a image thread class that runs the update method in the instance
I have made an image viewer in python. And I want to use it
I'm using the following code (credit to Dolph Larson) to take a pre-made image
For a photography webpage I am implementing an image viewer that allows for selecting
I have made an image processing module that defines a Pixel type as a
I have made a similar kind of image viewer mentioned in below site for

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.