Upload Image to Server using Retrofit in Android Studio

Поделиться
HTML-код
  • Опубликовано: 26 ноя 2024

Комментарии • 60

  • @ashokpoojari8422
    @ashokpoojari8422 2 года назад +2

    This is really helpful for me cz I am tried in so many ways to display image in image view bt not work properly in the sense one errors is finished my strength .. that error is REQ .. I am passing request code as req bro

  • @miguelvaldez6118
    @miguelvaldez6118 2 года назад +1

    Thx. Great work Papi.

  • @nareshpradhan7330
    @nareshpradhan7330 Год назад +1

    Hi Bro.. where is the link for that php file 'AddCustomer.php' that you showed at the beginning in postman. Please provide.

  • @carlosdanielgalvanastorga2892
    @carlosdanielgalvanastorga2892 Год назад

    Thank you for you help, really helped me!!!

  • @ashokpoojari8422
    @ashokpoojari8422 2 года назад

    I am really happy tq tq so so much ❤️❤️😘😘

  • @ashokpoojari8422
    @ashokpoojari8422 2 года назад +2

    Tq bro .. bt another thing is how to add that image to another activity with their name pls bro tell ..how to send one after another image to same activities that means arrange multiple image choose by the Gallary and send to the same activity

    • @ashokpoojari8422
      @ashokpoojari8422 2 года назад +1

      Plss bro help me

    • @waleedtalha
      @waleedtalha  2 года назад

      This video is for one image not multiple.

    • @ashokpoojari8422
      @ashokpoojari8422 2 года назад

      Ok bro .. how to pass that image to another activity with their name

    • @ashokpoojari8422
      @ashokpoojari8422 2 года назад

      Plss suggest me bro

    • @waleedtalha
      @waleedtalha  2 года назад +1

      @@ashokpoojari8422 you got the uri in onActivityResult. Now you can use it in same activity or get that uri in any other activity using shared preference.

  • @mohammadnuriskiakbar7803
    @mohammadnuriskiakbar7803 2 года назад +1

    hello sir, it seems that my code is the same as yours. when it running, my code drives me into OnResponse. But nothing change or there is no new data coming into my database. What happen?

    • @waleedtalha
      @waleedtalha  2 года назад

      Have u changed the base url and end point with your's ?

    • @mohammadnuriskiakbar7803
      @mohammadnuriskiakbar7803 2 года назад

      @@waleedtalhaof course, i do. It drives me into OnResponse But it still get nothing in my database. Mine is Kotlin btw

  • @coreyorndoff9417
    @coreyorndoff9417 2 года назад +1

    It's a long shot but any chance you could demonstrate this in jetpack compose?

  • @anisexpert4604
    @anisexpert4604 2 года назад +2

    thank you , but what about the php code because i want to save that image in server file and put the path in mysql database !

    • @waleedtalha
      @waleedtalha  2 года назад +2

      You should find any other tutorial for server side work.
      This video is only for android.

    • @mohammadnuriskiakbar7803
      @mohammadnuriskiakbar7803 2 года назад

      yeah please, i need to see the php code as well.

  • @thangapandik2647
    @thangapandik2647 2 года назад

    Thank you very much, buddy...! :)

  • @ashokpoojari8422
    @ashokpoojari8422 2 года назад

    How to display gridview images with text to another activity , when clicking on particular images (I am uploaded images and text to database and I am took those things in gridview major problem is how access those images and text to another activity when I am clicking particular images ) ? Sirr plss help me .. Any one knows this plsss plss plss help me 🙏

  • @ashokpoojari8422
    @ashokpoojari8422 2 года назад +1

    Tqq tqq so so much bro ❤️❤️❤️❤️

  • @hii.anggi23
    @hii.anggi23 2 года назад

    Can you post video tutorial for the php code?

  • @umerbiya1089
    @umerbiya1089 Год назад

    MashaAllah thank you brother

  • @shabariiyyappan909
    @shabariiyyappan909 2 года назад

    Excellent One... Can you upload a video for cropping after picking the image?

    • @waleedtalha
      @waleedtalha  2 года назад +2

      There's a library for picking the picture and then crop it, name as "Dhaval2404/ImagePicker".
      Read this library's documentation, you just have to put four lines of code where you are setting click listener on imageview and in onActivityResult you can simply get uri same as in this tutorial.

  • @walterbotta9199
    @walterbotta9199 Год назад +1

    Alguien tiene el archivo php??

  • @mamta._.111
    @mamta._.111 11 месяцев назад

    Thank you

  • @eduaguilar5004
    @eduaguilar5004 6 месяцев назад

    thanks man i try this code witj kotlin and its works, but i made some changes

  • @beyondthescreen1143
    @beyondthescreen1143 2 года назад

    can we upload images on heroku . i have a model theree in flask

    • @gururajkotian9015
      @gururajkotian9015 2 года назад

      bro did u do ? am also doing the same . if you are done can you please help me out ?

    • @beyondthescreen1143
      @beyondthescreen1143 2 года назад

      @@gururajkotian9015 no 😣

    • @gururajkotian9015
      @gururajkotian9015 2 года назад

      @@beyondthescreen1143 ruclips.net/video/7_fl-QtMi54/видео.html see this video might solve your problem..I almost did

  • @jawadahmad3488
    @jawadahmad3488 2 года назад +1

    Nice

  • @hosseinniazi7599
    @hosseinniazi7599 2 года назад

    Thank you bro , please give the link of php file .

  • @walidpivano117
    @walidpivano117 2 года назад

    Where is the php file???

  • @MangBeunta
    @MangBeunta 2 года назад

    can i see the php file?

  • @asannevis8133
    @asannevis8133 2 года назад

    Server side codes?

  • @buhariubale4352
    @buhariubale4352 Год назад

    Pls can we get the php source code?, Thanks

  • @digitalluxury2033
    @digitalluxury2033 2 года назад

    thanks pro

    • @waleedtalha
      @waleedtalha  2 года назад +1

      You're welcome.

    • @digitalluxury2033
      @digitalluxury2033 2 года назад

      @@waleedtalha do you have kotlin version

    • @waleedtalha
      @waleedtalha  2 года назад +1

      Nope.
      You can easily convert jave code to kotlin.

  • @kundangupta1333
    @kundangupta1333 2 года назад +1

    path is null plz reply sir

    • @waleedtalha
      @waleedtalha  2 года назад +1

      Go through tutorial again.
      You're doing any mistake.

    • @kundangupta1333
      @kundangupta1333 2 года назад

      @@waleedtalha sir maine same code kiya hai but java ko mai kotlin me convert kr ke kiya hai to null aa raha hai

    • @ayomideakinwunmi7462
      @ayomideakinwunmi7462 2 года назад

      Please can I get the source code, the tutorial Is really helpful

    • @waleedtalha
      @waleedtalha  2 года назад

      I'll update description with github link.

    • @waleedtalha
      @waleedtalha  2 года назад

      @@ayomideakinwunmi7462 check video description

  • @udayraj7423
    @udayraj7423 Год назад

    bhai ashalwalekum kya matlab hota hai

    • @waleedtalha
      @waleedtalha  Год назад

      It's Arabic word for greetings. The meaning is May peace be upon you.

  • @kundangupta1333
    @kundangupta1333 2 года назад

    plz provide source code