Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
382 views
in Technique[技术] by (71.8m points)

android - Passing an image from one activity to other activity

I am trying to pass an image which is from the mobile media. I am able to get the image from the media but I need to send that image to the next activity. How can I send that?

And can anyone give me the sample code to make the image to base64 string and vice versa in android.

Please help me I am stuck with this for two days...

Thanks in advance...

sita.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

for this first u save that image in one file and in other activity take that image from that file


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...