КОМЕНТАРІ •

  • @abdullahzafar4401
    @abdullahzafar4401 4 роки тому +8

    This is the most clear explanation I've found so fan and I've searched ALOT , Thanks man 👍 .

  • @sshbk5878
    @sshbk5878 2 роки тому +1

    Thank you, Atif. برك الله فيك

  • @roshansebastian1862
    @roshansebastian1862 5 років тому +6

    Thank you... It was a good tutorial... Everything was clear even if there was no sound.

  • @juancarlosgaravitohiguera6151
    @juancarlosgaravitohiguera6151 2 роки тому +1

    THANK YOU SO MUCH!!!! ITS THE ONLY VIDEO THAT HAS WORKED FOR ME

  • @avinashchinna8231
    @avinashchinna8231 2 роки тому +1

    Simply and Awesome video bro., 100% working perfectly. THankyou alot bro. It helped me lot.❤

    • @AtifSayings
      @AtifSayings 2 роки тому

      You're welcome
      Best of luck

  • @margaritas.2630
    @margaritas.2630 3 роки тому +1

    at the onActivityResult() I can't delete the super call, it is forcing me to add the super call. It's not working for me please help

    • @AtifSayings
      @AtifSayings 3 роки тому

      There shouldn't be issue due to adding super call

  • @ansharakhan1171
    @ansharakhan1171 3 роки тому +1

    I am getting deprecated text for startactivityforresult... can you suggestions me some alternative ???

  • @gianfrancodagostino3938
    @gianfrancodagostino3938 5 років тому +5

    There is wisdom in the simplicity.

  • @shamoycreary9361
    @shamoycreary9361 3 роки тому +2

    startActivityForResult is now deprecated.. how do i go about this?

  • @visitor5914
    @visitor5914 3 роки тому +2

    keep up the good work!
    thank you for sharing your knowledge^^

  • @quanganhnguyen1812
    @quanganhnguyen1812 3 роки тому +1

    You're the best

  • @DeepuMathewgoldeneye
    @DeepuMathewgoldeneye 8 місяців тому

    how can we display the image of particular folder not the entire gallery

  • @perakamshashidhar1205
    @perakamshashidhar1205 4 роки тому +1

    The code is good but when the app is closed and again it is opened the image is empty to solve this problem i used shared preference method but i am not able to store image it is showing blank could you please help me to solve this problem

  • @nortonlifelock8385
    @nortonlifelock8385 4 роки тому +1

    at 10:21 what did you do or press to have that come up?

    • @AtifSayings
      @AtifSayings 4 роки тому

      If you're talking about "Move" popup/dialog box, then it was unintentionally opened and i pressed cancelled button there was nonuse of that

  • @Thomas-uk9cg
    @Thomas-uk9cg 4 роки тому

    Hello do you know how to modify an app to make this function "pick image from gallery" working on an app that let's you only take pictures from camera even if I installed gallerycam or other similar app.. ?
    Thx

  • @ruphaeldereuck921
    @ruphaeldereuck921 3 роки тому +1

    hmm, after giving permission to use the external storage, my app keeps restarting, any idea on what is the cause?

    • @AtifSayings
      @AtifSayings 3 роки тому

      i think your app is crashing so check logcat/run for crash reason

    • @ruphaeldereuck921
      @ruphaeldereuck921 3 роки тому

      @@AtifSayings thanks i already fixed it, just forgot to update :) was a syntax error

    • @shamoycreary9361
      @shamoycreary9361 3 роки тому

      @@ruphaeldereuck921 did any of your methods say that they are deprecated?

  • @techsandbulls1869
    @techsandbulls1869 4 роки тому +1

    i want to how to make an app which helps to open more than 1 photos
    my be to convert as pdf
    please tell how

    • @AtifSayings
      @AtifSayings 4 роки тому

      ua-cam.com/video/zhhhc1o2opE/v-deo.html

  • @chegevarra1036
    @chegevarra1036 3 роки тому +3

    Thanks from Ukraine, subscribe.

  • @Videoman2102
    @Videoman2102 2 роки тому +1

    why is startActivityForResult crossed in my project? :(

    • @AtifSayings
      @AtifSayings 2 роки тому

      It is deprecated from some time, you may use the following updated method to handle intent results
      ua-cam.com/video/tUCfIK908i8/v-deo.html

  • @Alaa-cl2ui
    @Alaa-cl2ui 4 роки тому

    how we can throw exception for big size of image?
    i found problem with big size

  • @Real_Germany
    @Real_Germany 4 роки тому

    Bhai Mera gallery ka option dikha he hi reha h drive,WhatsApp,Instagram & SIM tool . Surf ye 4 option dikha reha h or next pic choose krte he pichle wale gayab hi rehe h tooo left or right swipe bhe nhi hi reha h
    Bilkul ditto same banaya h Kuch bhe change nhi Kiya mane
    Batyo kya Kru ma ab

  • @QuizzTwist
    @QuizzTwist 5 років тому +2

    can u explain to me the image__pick_code and permission code. why is it set to 1000?

    • @AtifSayings
      @AtifSayings 5 років тому +1

      IMAGE_PICK_CODE = 1000
      PERMISSION_CODE=1001
      There is actually no restrictions you can assign them any number but assign different numbers to both.
      They are used as just tags/labels.
      There can be more then one permission handling OR Intents, so we have to identify them, differentiate them

  • @ЕвгенийГербер-з3ф
    @ЕвгенийГербер-з3ф 2 роки тому +2

    Чувак, ты просто спас мою задницу !! Спасибо тебе

  • @eltoro_study
    @eltoro_study 3 роки тому +1

    Дякую за відео)))

  • @riteshfamily369
    @riteshfamily369 4 роки тому

    Bhai project has to be run but not open gallery only showing toast msg

  • @rafaelcabral6748
    @rafaelcabral6748 3 роки тому

    startActivityForResult isnt working for me, the function is deprecated

  • @mitchellmurphy6950
    @mitchellmurphy6950 3 роки тому

    When I click on button it always says "permission denied..." do you know why that is happening?

    • @patrickaoun579
      @patrickaoun579 3 роки тому

      open the manifests folder, then open the AndroidManifest and Add this tag:

  • @jeremyyong7728
    @jeremyyong7728 3 роки тому +1

    Work perfectly, very good tutorial and Thanks~

  • @varad5349
    @varad5349 3 роки тому

    Sir , great video !
    My question is how to put images in gallery as my gallery is empty when I choose pick image button in my emulator ? Your reply would be very helpful for my project

    • @joshuamckinsey1013
      @joshuamckinsey1013 2 роки тому

      On your actual phone/device use the Google Photos app. Select a picture that you want to access from the emulator and then choose the upload icon (cloud symbol). If your emulator is setup with the same google account that your actual phone is set up with, it should appear when using the Google Photos app on your emulator. I hope this helps. I haven't finished the tutorial yet myself.

  • @prakritisinha9344
    @prakritisinha9344 3 роки тому +2

    Thanks for this!

  • @parvindersiyan9706
    @parvindersiyan9706 5 років тому +1

    bhai your code is excellent and its works too. but the only thing i want to know is when i sets the Image and close the app and restart it the img i sets doest appear on it . so can you suggest something from which image fix to it unless i again make choice from my gallery

    • @AtifSayings
      @AtifSayings 5 років тому

      if you want to make the image available whenever you open the app, store the URI of the image in shared preferences after taking from the gallery.

    • @imransefat8770
      @imransefat8770 5 років тому

      @@AtifSayings can you please explain it or make a video of it? I'm trying this all day long with Glide but it didn't work and how do I store the url ? putString right ? then parse it back to uri then send it ?

    • @AtifSayings
      @AtifSayings 5 років тому

      @@imransefat8770 You just need to learn SharedPreferences, after that store URI in shared preferences and get that stored uri from the SharedPreferences.
      SharedPreferences Java: ua-cam.com/video/7mJvHLelB1s/v-deo.html
      SharedPreferences Kotlin: ua-cam.com/video/z2PDwa7l_ww/v-deo.html

  • @ZainDiscoveries
    @ZainDiscoveries 4 роки тому

    It askd me to add the super call in onActivityResult what do i do ?

  • @brijeshdarji6855
    @brijeshdarji6855 5 років тому +2

    Image not show after select from gallery on activity result condition says always false why??

  • @panmacabre9895
    @panmacabre9895 4 роки тому +1

    This video is simple and amazing.

  • @carlosedgard3073
    @carlosedgard3073 3 роки тому

    How to make my application receive images from another application, for example, the images that come to WhatsApp transfer it directly from the share option to the imageview of my application. Please someone could help me or some tutorial that I can review.

  • @malikimoustapha4061
    @malikimoustapha4061 5 років тому +1

    hello thanks for the tuto, but please the image is nor shown after selecting an image from the gallery why?

    • @AtifSayings
      @AtifSayings 5 років тому

      you may have done mistake in onActivityResult method, check it

  • @NPC-to7ts
    @NPC-to7ts 4 роки тому

    Best tutorial works 100%

  • @Dansologist
    @Dansologist 4 роки тому +1

    Great Video. When I add an image from the gallery, the imageview height and width changes. How do I keep the height and width fixed even after the image is added?

  • @fawwadshamim8903
    @fawwadshamim8903 5 років тому +1

    How can we implement it in RecyclerView??

  • @akshaykumarjha2982
    @akshaykumarjha2982 4 роки тому

    Initially I disliked the video as my app kept on crashing. As a last resort, I went carefully with each and every steps in the video and it solved my problem (Initially I initialised mImageView in declaration itself but later adopted the way in this video). Good job indeed.

  • @mkamal768
    @mkamal768 5 років тому +2

    Your tutorials are pretty amazing. Could you be so kind to add your voice in the video. Bhallay urdu main samjhado but samjhao k yeh kia karta hai and woh kia karta hai. Please because is se ham jese (who can't afford aptech or etc) woh seekh saken. Thanks

    • @AtifSayings
      @AtifSayings 5 років тому

      Thanks for suggestion but their are some reasons for not recording my voice the one is too much noise.

  • @god3254835
    @god3254835 4 роки тому +1

    Really Perfect contents. Thank you~

  • @oskarshrestha4553
    @oskarshrestha4553 3 роки тому +1

    Thank you so much.

  • @abbasjafary3443
    @abbasjafary3443 3 роки тому +1

    Thanks man

  • @agamurat3019
    @agamurat3019 4 роки тому +1

    thank you very much it really helped me

  • @dakjshdkjv
    @dakjshdkjv 3 роки тому

    So how can I draw on that imageview?

  • @yigitkemalagac
    @yigitkemalagac 4 роки тому +2

    Nice and clean code again. good job, keep doing this Atif :)

  • @mohamedjarmoune9017
    @mohamedjarmoune9017 4 роки тому +1

    if we want to add this image in a listview
    how do it ,tnx

    • @AtifSayings
      @AtifSayings 4 роки тому

      Use database like Sqlite or Realm
      I've made videos on SQLite

  • @yugandharyugandhar1670
    @yugandharyugandhar1670 4 роки тому

    Sir.. Can you please make an vedio for Pick multiple images from gallery in android studio .. Please

  • @mcifci
    @mcifci 4 роки тому +1

    atif atif atif, tnx ;)

  • @erwindevtech9533
    @erwindevtech9533 4 роки тому

    good tutorial buddy, i wanna ask i want to add button to delete image , how do that ?

  • @anitapudurkar1752
    @anitapudurkar1752 4 роки тому

    bohot sahi sir

  • @rehamabdo7526
    @rehamabdo7526 5 років тому +1

    thank you so much
    ,,you saved my time :)

  • @СмитТоварищ
    @СмитТоварищ 4 роки тому +1

    Thank you!

  • @ridabelhamri6652
    @ridabelhamri6652 5 років тому +2

    Respect Bro thanks

  • @sneharoy582
    @sneharoy582 5 років тому +1

    how to do it, if we want to pick a video from gallery.

    • @AtifSayings
      @AtifSayings 5 років тому

      use VideoView and in intent use intent.setType("video/*");

  • @salaisoumya9005
    @salaisoumya9005 3 роки тому +1

    Sir how to implement this code in fragment

    • @AtifSayings
      @AtifSayings 3 роки тому +1

      compatible with fragment too

  • @siddhantshinde9119
    @siddhantshinde9119 5 років тому

    I am choosing the image but i can not see the image at logo

  • @sakibstime
    @sakibstime 4 роки тому

    PERMISSION_CODE is not working. How to solve this?

  • @mkamal768
    @mkamal768 5 років тому +2

    Atif bhai it would be pretty for us to see the code on (github) instead of typing it ourselves.
    Thanks in advance

    • @AtifSayings
      @AtifSayings 5 років тому +2

      Typing is good for practice
      And to support me watch full video :)

  • @mikearra
    @mikearra 4 роки тому +1

    How could I implement this multiple times?

    • @AtifSayings
      @AtifSayings 4 роки тому

      for picking multiple images?

    • @mikearra
      @mikearra 4 роки тому

      @@AtifSayings More like having multiple Image View's. But yeah

  • @nabeelaslam535
    @nabeelaslam535 5 років тому +1

    gallery say image select krny kay bad imageView pr image upload ni ho rhi code may error b koi ni hai

    • @AtifSayings
      @AtifSayings 5 років тому

      check your onactivityresult method

    • @humamunir9005
      @humamunir9005 5 років тому

      Mera b same yahi issue araha ha😕😕

  • @roshnipatoa6940
    @roshnipatoa6940 2 роки тому

    Bhai itne saare to errors hai.. run kese kar lia?

  • @karthick8810
    @karthick8810 5 років тому +1

    Where can I get this code?

    • @AtifSayings
      @AtifSayings 5 років тому

      devofandroid.blogspot.com/2018/09/pick-image-from-gallery-android-studio.html

  • @aymandoukkali7789
    @aymandoukkali7789 3 роки тому +1

    thank youu

  • @sittra
    @sittra 3 роки тому

    Is it just me or your audio has been removed

  • @ManishKumar-pw4gd
    @ManishKumar-pw4gd 6 років тому +1

    Please also make video on how to upload img on firebase and get this img url

    • @AtifSayings
      @AtifSayings 6 років тому

      ua-cam.com/play/PLs1bCj3TvmWlWGW8rkWq5gZ7URswu8MWb.html

  • @dakjshdkjv
    @dakjshdkjv 3 роки тому

    boss can teach me how to draw on imageview

  • @kaff864
    @kaff864 6 років тому +2

    thanks for the video and how we can Edith this image like Image editor , Make complete Image editor app

  • @kkhemara
    @kkhemara 4 роки тому

    incompatible types. Required: android.widget.Button Found: android.view.View

  • @imransefat8770
    @imransefat8770 5 років тому

    how to save photo even after I close my app?

    • @imransefat8770
      @imransefat8770 5 років тому

      @P Dillon I just created a temporary file in external storage and get that file's path and save it as a bitmap
      that worked

  • @takoyami1999
    @takoyami1999 5 років тому

    Why does the image do not show?

  • @leandrocruz6621
    @leandrocruz6621 5 років тому

    please in android oreo no working please tutorial

  • @leandrocruz6621
    @leandrocruz6621 5 років тому

    in jelly and marsh ok

  • @emanresplandor3878
    @emanresplandor3878 4 роки тому

    i just hope u just give the code to save us time.

  • @vernevens1598
    @vernevens1598 3 роки тому +1

    Too bad it doesn't work

  • @bheemappabheem4074
    @bheemappabheem4074 3 роки тому

    Access denied

  • @ayushsrivastava702
    @ayushsrivastava702 4 роки тому

    bahut tatti tha

  • @shahriarsharif6736
    @shahriarsharif6736 4 роки тому

    Thank you very much.

  • @aashikmaharjan9361
    @aashikmaharjan9361 4 роки тому

    Thanks man