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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T07:32:14+00:00 2026-06-18T07:32:14+00:00

I have two apps: App1 which takes an image and assigns it to an

  • 0

I have two apps: App1 which takes an image and assigns it to an address(where the pic was taken), and another app, App2 which takes image and text(address) from App1. When a user clicks on a button in App1, I must pass this image and the text to App2.

Until now, I am able to successfully send an image to App2 using ACTION_SEND. How shall I also send a text together with image?

I already had a look at this android tutorial: http://developer.android.com/training/sharing/send.html#send-multiple-content

But it talks about sending multiple images, and not sending image and text.

  • 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-18T07:32:15+00:00Added an answer on June 18, 2026 at 7:32 am

    You can try making a Parcelable object to hold text and image and send that.
    For Parcelable take a look at http://developer.android.com/reference/android/os/Parcelable.html

    MyObject obj = new MyObject();
    obj.text = "some text";
    obj.image = imageUri;
    
    Intent shareIntent = new Intent();
    shareIntent.setAction(Intent.ACTION_SEND_MULTIPLE);
    shareIntent.putExtras("MyObj", obj);
    startActivity(Intent.createChooser(shareIntent, "Share images to.."));
    
    public class MyObject implements Parcelable{
    private String image;
    private String text;
    public void setImage(String _image){
    image = _image;
    }
    public void setText(String _text){
    text = _text;
    }
    public String getImage(){
    return image;
    }
    public String getText(){
    return text;
    }
    public MyObject(Parcel in) {
            readFromParcel(in);
        }
    @Override
        public int describeContents() {
            return 0;
        }
    
        @Override
        public void writeToParcel(Parcel dest, int flags) {
    
            dest.writeString(image);
            dest.writeString(text);
        }
    private void readFromParcel(Parcel in) {
    
            image = in.readString();
            text = in.readString();
        }
    public static final Parcelable.Creator CREATOR =
            new Parcelable.Creator() {
                public MyObject createFromParcel(Parcel in) {
                    return new MyObject(in);
                }
    
                public MyObject[] newArray(int size) {
                    return new MyObject[size];
                }
            };
    
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I currently have two apps: app1/ app2/ templates/ app1.html app2.html In app1.html, I'm including
I have two rails apps.Now I want them deployed to app1 / app2 /app2/
I have two apps, running perfectly. Now, I have another new app and I
I have two apps that are in the app store with which a couple
I have two apps and I want one app to change preferences in another
I have two apps, which I will refer to as app A and app
I have two apps, both of which force the user to use the iPhone
I have two QT apps. One app can be considered to hold a big
I have two PHP apps which have twho class with the same name. -
I have two Express.js apps running on my server. A plain vanilla app called

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.