I want to know how to select image from camera or gallery programmatically, where image is picked by user in android?
Asked
Active
Viewed 1,827 times
-1
-
Mention the problem you are facing while implementing your code...Don't just ask for code.If you are new to android and want some help regarding where to search the same check this out...http://www.theappguruz.com/blog/android-take-photo-camera-gallery-code-sample – Mar 09 '17 at 07:33
-
You just show your code where you get the problem. And if you are newbie to android then for your question @Mandy8055 answer is correct. This is best link http://www.theappguruz.com/blog/android-take-photo-camera-gallery-code-sample – Nikhil Mar 09 '17 at 11:42
-
Check the above link for my issue and it works for me @Nikhil Thanks a lot. – Khusboo Mar 10 '17 at 06:16
-
Which image library is suitable for retrieving image from server?.. @Nikhil – Khusboo Mar 17 '17 at 12:12
-
There are many libraries which are available to image from server like Picasso, Glide, Universal Image Loader etc. @KhusbooGhaghada – Nikhil Mar 17 '17 at 12:15
-
What is the difference between all these Libraries? @Nikhil – Khusboo Mar 17 '17 at 13:28
-
1.) Picasso has the nicest image API if you are using network. 2.) UrlImageViewHelper + AndroidAsync is the fastest. Playing with these other two great libraries have really highlighted that the image API is quite dated, however. 3.)Android-Universal-Image-Loader is the most popular one out there currently. Highly customizable. 4.) Glide is same as Picasso. I prefer Picasso and Glide in my usage. @Khusboo – Nikhil Mar 17 '17 at 13:29
-
Let me also check Picasso lib in my code. @Nikhil – Khusboo Mar 17 '17 at 13:33
-
Excuse me @Nikhil How much memory does picasso use for caching in memory? – Khusboo Mar 21 '17 at 12:07
-
Picasso doesn't add size or occupies more space to your code. It only uses the memory. It is completely transparent, and don't worry about it. Mostly, apps uses Picasso and it works fine at all. @Khusboo – Nikhil Mar 21 '17 at 12:13
-
You are true about Picasso, it works fine @Nikhil – Khusboo Mar 23 '17 at 11:55
-
Absolutely, it works fine. It works great in my app too. @Khusboo – Nikhil Mar 23 '17 at 12:38
-
Your guidance works for me. @Nikhil – Khusboo Mar 23 '17 at 13:04
-
Stackoverflow is full of knowledge, grab it from everywhere. @Khusboo – Nikhil Mar 23 '17 at 13:11
-
Absolutely right. @Nikhil – Khusboo Mar 24 '17 at 12:35
-
Have a happy coding. @Khusboo – Nikhil Mar 24 '17 at 12:50
-
It's fun to get knowledge from right here. @Nikhil – Khusboo Mar 28 '17 at 05:06
-
There are also other accounts available. Try also others for same. @Khusboo – Nikhil Mar 28 '17 at 05:20
-
Yes, I have a look over other accounts too.@Nikhil – Khusboo Mar 29 '17 at 05:05
-
Explore them. @Khusboo – Nikhil Mar 30 '17 at 05:56
1 Answers
-3
If you are simply using an Android phone or a tablet just get into the gallery long press on the desired photo you need and voila!!! Your picture is selected!!

Eric Aya
- 69,473
- 35
- 181
- 253

Srikanth.K
- 103
- 7