Create a FileProvider and provider path XML in Android

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

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

  • @hebaallahyassin3476
    @hebaallahyassin3476 5 лет назад +1

    شكرا لك جدا على الشرح الأكثر من مميز
    تحية من مصر

  • @JesusEscobar1
    @JesusEscobar1 4 года назад

    hello brandan is very good. one question the FileProvider still works or is depreacated?

  • @MsAmrsamy
    @MsAmrsamy 6 лет назад

    thanks for that tutorial , but i don't understand why we need this path.xml file , we already specified the path using getStorageFileDir or similar methods so why do we need the path file? thanks again

  • @basketberoende
    @basketberoende 4 года назад +1

    I get error at the provider tag in the manifest. "unresolved class"= i cant fix it... any tip?

    • @discospiff
      @discospiff  4 года назад

      What's the full error text?

    • @basketberoende
      @basketberoende 4 года назад +1

      @@discospiff I found the answer on stackoverflow, but it was "android.support.v4.content.FileProvider not found" i just had to replace it with " android:name="androidx.core.content.FileProvider""

    • @discospiff
      @discospiff  4 года назад +2

      @@basketberoende ah, ok. Thanks for the update. Androidx (jetpack) replaces the old support libraries. Your build.gradle is likely newer than the one I used here, which is why it didn't recognize support v4.

  • @DavidDominguezplus
    @DavidDominguezplus 5 лет назад

    Excellet Brandan very good works prefectly

    • @discospiff
      @discospiff  5 лет назад

      I'm happy it helped! Thanks!

  • @gabrielbalbuena7787
    @gabrielbalbuena7787 3 года назад

    Thankyou for you efforts and share your knowledge
    Question Why is a . needed? I had a directoty but didn´t work
    Android/data/com.example.picture/files/Pictures that was on the documentation and doesn´t work but a . does the job, why?
    please

    • @discospiff
      @discospiff  3 года назад +1

      Did you receive an error? If so, what?
      . Usually means current directory.

    • @gabrielbalbuena7787
      @gabrielbalbuena7787 3 года назад

      @@discospiff Yeah an error appears but after I change a valid directory works well thanks.
      Greetings from Mexico Amigo!!

  • @Sk-gb2hx
    @Sk-gb2hx 3 года назад

    где ссылка на гит, где следующие видео, так тяжело было ссылку прикрепить

  • @letsdo3425
    @letsdo3425 4 года назад

    hi, awesome tutorial. mine is showing error fatal signal 6 (sigabrt)... what should I do?

    • @discospiff
      @discospiff  4 года назад

      I have not seen that before. Do you have a specific error or exception message?

  • @sevketozurfal9158
    @sevketozurfal9158 5 лет назад

    Thank you for the useful tutorial :)

    • @discospiff
      @discospiff  5 лет назад

      You're welcome... thanks for watching!

  • @scorlingonzalez9003
    @scorlingonzalez9003 5 лет назад

    what happens if the user does not have an SD card ?

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

    thank you

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

      You're welcome! I hope you're building something that will make the world a better place. If so, please do share!

  • @AnkitKumar-fj8ex
    @AnkitKumar-fj8ex 3 года назад

    couldn't find next part of this video

    • @discospiff
      @discospiff  3 года назад +1

      The playlist has all of the videos in order: ruclips.net/p/PL73qvSDlAVVgRp1aUnPHO0P1nzU1HPj0-

  • @sialeeMK
    @sialeeMK 4 года назад

    When run the app said: app keep stop
    some help?

    • @discospiff
      @discospiff  4 года назад

      Run in debugger, look for an error in LogCat. See if that provides info.

  • @infotainment7123
    @infotainment7123 4 года назад

    hey bro where is the github link

    • @discospiff
      @discospiff  4 года назад

      Here it is: github.com/discospiff/PlantPlacesMobile26

  • @tarekfathi2003
    @tarekfathi2003 5 лет назад

    Thank You so much. Do you have course on udemy? If so , please provide me a link for you course on udemy.

    • @discospiff
      @discospiff  5 лет назад

      Thanks! I have several courses with packt publishing; some are on udemy: www.packtpub.com/authors/brandan-jones

  • @amitaimedan
    @amitaimedan 5 лет назад +2

    Thanks for stopping before the part i need. 😡

  • @林易斯
    @林易斯 4 года назад

    Pp