Create a FileProvider and specify provider paths. The FileProvider is established in the AndroidManifest.xml file. The provider paths are located in a resource XML file. We will use these later, when we invoke the camera.
Пікірлер: 33
@sevketozurfal91585 жыл бұрын
Thank you for the useful tutorial :)
@discospiff5 жыл бұрын
You're welcome... thanks for watching!
@hebaallahyassin34764 жыл бұрын
شكرا لك جدا على الشرح الأكثر من مميز تحية من مصر
@MsAmrsamy5 жыл бұрын
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
@DavidDominguezplus4 жыл бұрын
Excellet Brandan very good works prefectly
@discospiff4 жыл бұрын
I'm happy it helped! Thanks!
@dangr302 Жыл бұрын
thank you
@discospiff Жыл бұрын
You're welcome! I hope you're building something that will make the world a better place. If so, please do share!
@JesusEscobar14 жыл бұрын
hello brandan is very good. one question the FileProvider still works or is depreacated?
@scorlingonzalez90035 жыл бұрын
what happens if the user does not have an SD card ?
@basketberoende4 жыл бұрын
I get error at the provider tag in the manifest. "unresolved class"= i cant fix it... any tip?
@discospiff4 жыл бұрын
What's the full error text?
@basketberoende4 жыл бұрын
@@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""
@discospiff4 жыл бұрын
@@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.
@gabrielbalbuena77873 жыл бұрын
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
@discospiff3 жыл бұрын
Did you receive an error? If so, what? . Usually means current directory.
@gabrielbalbuena77873 жыл бұрын
@@discospiff Yeah an error appears but after I change a valid directory works well thanks. Greetings from Mexico Amigo!!
@letsdo34254 жыл бұрын
hi, awesome tutorial. mine is showing error fatal signal 6 (sigabrt)... what should I do?
@discospiff4 жыл бұрын
I have not seen that before. Do you have a specific error or exception message?
@Sk-gb2hx3 жыл бұрын
где ссылка на гит, где следующие видео, так тяжело было ссылку прикрепить
@sialeeMK4 жыл бұрын
When run the app said: app keep stop some help?
@discospiff4 жыл бұрын
Run in debugger, look for an error in LogCat. See if that provides info.
@tarekfathi20035 жыл бұрын
Thank You so much. Do you have course on udemy? If so , please provide me a link for you course on udemy.
@discospiff5 жыл бұрын
Thanks! I have several courses with packt publishing; some are on udemy: www.packtpub.com/authors/brandan-jones
@infotainment71234 жыл бұрын
hey bro where is the github link
@discospiff4 жыл бұрын
Here it is: github.com/discospiff/PlantPlacesMobile26
@AnkitKumar-fj8ex3 жыл бұрын
couldn't find next part of this video
@discospiff3 жыл бұрын
The playlist has all of the videos in order: kzfaq.info/sun/PL73qvSDlAVVgRp1aUnPHO0P1nzU1HPj0-