HOW TO FETCH UPLOADED FILE(s) / PDF(s) FROM FIREBASE | ANDROID | IN JAVA

แชร์
ฝัง
  • เผยแพร่เมื่อ 31 ต.ค. 2024

ความคิดเห็น • 244

  • @vipany7683
    @vipany7683 5 ปีที่แล้ว

    thank u soooo much because of u now i am able to complete my final year project

  • @tanmoyghosh9925
    @tanmoyghosh9925 6 ปีที่แล้ว +1

    Thanx bro. You saved us.. We needed it for our project..

  • @davidemaggiotto8185
    @davidemaggiotto8185 6 ปีที่แล้ว +1

    Mate your tutorials are amazing! keep going like that, very helpful ;)

    • @justicepatrick6366
      @justicepatrick6366 3 ปีที่แล้ว

      I know it's kinda off topic but do anyone know a good site to watch new series online ?

    • @raymondkorbin3867
      @raymondkorbin3867 3 ปีที่แล้ว

      @Justice Patrick Flixportal :P

    • @justicepatrick6366
      @justicepatrick6366 3 ปีที่แล้ว

      @Raymond Korbin thank you, signed up and it seems like they got a lot of movies there :D I really appreciate it !!

    • @raymondkorbin3867
      @raymondkorbin3867 3 ปีที่แล้ว

      @Justice Patrick You are welcome :)

  • @thepropellersitcenter4056
    @thepropellersitcenter4056 3 ปีที่แล้ว

    Thanks so much sir,

  • @afiqahsamsuri5019
    @afiqahsamsuri5019 6 ปีที่แล้ว +5

    sir, why i can't click on fetch button. The select and upload button are working but when i click on fetch button, the apps suddenly stopped. how to resolve this problem?

    • @thihaaung1421
      @thihaaung1421 4 ปีที่แล้ว

      Same problem occur. How do u solve ?

    • @rohitsudhanshu8565
      @rohitsudhanshu8565 4 ปีที่แล้ว

      Same problem with me also

    • @NAVYAR-nf2vm
      @NAVYAR-nf2vm 4 ปีที่แล้ว

      Even I am facing same problem . Please help

  • @englishschool7424
    @englishschool7424 6 ปีที่แล้ว

    I am following your tutorial but getting the following error in logcat>>>com.google.firebase.database.DatabaseException: Failed to convert value of type java.util.HashMap to String
    on this line>>>>String url = dataSnapshot.getValue(String.class); >>>onChildAdded in PdfActicity.java
    Please help me out...m stucked here

  • @kennethprabakaran8274
    @kennethprabakaran8274 6 ปีที่แล้ว

    Thanks for uploading it today. We needed this

  • @siddeshwergavhane8822
    @siddeshwergavhane8822 5 ปีที่แล้ว +1

    when i use " String url=storageReference.getDownloadUrl().toString(); " to get download link in database , it didn't . IT just generates another string in database . Any Alternatives please... its urgent.

  • @FurniFavorit
    @FurniFavorit 5 ปีที่แล้ว

    thanks men

  • @mohammedabdhullah6359
    @mohammedabdhullah6359 2 ปีที่แล้ว

    Subscribed

  • @blackflash_7
    @blackflash_7 6 ปีที่แล้ว +1

    And I wrote the same code as yours with a slight change that I did not provide a fetch button to fetch but directly showed the list of files in a fragment of my activity but when I click on the file it is not getting download
    What should I do??

    • @shamshadp3421
      @shamshadp3421 6 ปีที่แล้ว +1

      same problem.... plz chk your download url value it not stored real ur that is the problem... i have the same problm bt i dont know the solution

  • @bilaldautov755
    @bilaldautov755 5 ปีที่แล้ว

    Thank you for this video. İ want to ask how i should share the file like this way ? or there is another way ?

  • @ashaysingh9278
    @ashaysingh9278 5 ปีที่แล้ว +2

    Bro can the names of downloaded PDFs changed so the users can understand rather than having it in milliseconds?

  • @ArunKumar-pq6yj
    @ArunKumar-pq6yj 5 ปีที่แล้ว

    Sir one doubt.. If I upload the file/pdf from my mobile to the firebase will the uploaded file be available to download for other users of my android app.. Or will it be seen only on my mobile.. Pls help

  • @rakenshahi1008
    @rakenshahi1008 6 ปีที่แล้ว

    Great bro, now I want to know, how to fetch pdf files from a particular folders like we use SELECT WHERE query in MYSQL

  • @ranganathgaddam6427
    @ranganathgaddam6427 2 ปีที่แล้ว

    Bro, When I delete a pdf in firebase console, it is not reflecting in the activity. Is is showing deleted files also. Please help me how to solve it.

  • @belalonly9147
    @belalonly9147 6 ปีที่แล้ว

    Sayan Dutta i have the same need as Esky and mangesh . Can you please make a tutorial for retreving pdf file from firebase and show it into my app (without downloading it & another with downloading it but into my app as well)
    You will be really the man

    • @belalonly9147
      @belalonly9147 6 ปีที่แล้ว

      I did 😃👍
      Waiting for your easy and greeat tutorials 😃

  • @andreapanetta3268
    @andreapanetta3268 5 ปีที่แล้ว

    Hey, Followed both videos and they really helped! But have a problem, both find file and the upload files are working, but the app crashes when i click the fetch button. I'm getting an error in the logcat "Failed to convert value of type java.util.ArrayList to String"? Thanks!

    • @andreapanetta3268
      @andreapanetta3268 5 ปีที่แล้ว

      @@whoozthedev514 Thanks so much, that fixed it!

    • @gamalgoda8178
      @gamalgoda8178 4 ปีที่แล้ว

      Please tell me how you fixed it because I am facing the same problem here. help my !

  • @rohanpratap3869
    @rohanpratap3869 6 ปีที่แล้ว

    I created two paths with the help of radio button I uploaded successfully
    how can I fetch from folder 1 and show in recycler view . when I click show folder 1 button
    Hoping for early response

  • @blackflash_7
    @blackflash_7 6 ปีที่แล้ว

    hey by which method I can save the .pdf file by its actual name and show its actual name after fetching files??

  • @AshutoshPandeystarki
    @AshutoshPandeystarki 5 ปีที่แล้ว

    Hi Dev i wanna to create an app like Udacity or udemy can you provide me some instructions and reference where to start from or what are things needed and technology needed plz help

  • @vinkykundnani7046
    @vinkykundnani7046 5 ปีที่แล้ว

    Hey! Browser is not opening though files are fetched. Kindly help. The actual problem is url in your case is http.... and in my case it is com.google... Plz help

  • @AjayYadav-rf1du
    @AjayYadav-rf1du 5 ปีที่แล้ว +1

    Mujhe widget.Recyleview ka option nahi raha hai
    Jab new .xml bana rahe hai
    Please help

    • @AjayYadav-rf1du
      @AjayYadav-rf1du 5 ปีที่แล้ว

      @@whoozthedev514 i got it sir
      Dependencies me ja ke add karna pada unko .
      Sir aap ne koi blog likha hai ya code ka agar hai please link provided kar do . Because i don't hai good internet connection that's why .🤦‍♂️
      Aur ha thank you for replying 🙌

  • @rohitmishra_2410
    @rohitmishra_2410 5 ปีที่แล้ว +1

    i m unable to download file...all of my code is working fine my upload ,select and even ican fetch data from firebase but i cant dowload it, it show me error and error is :-android.content.ActivityNotFoundException: No Activity found to handle Intent .
    error is at onclicklistener of itemView at this line:- contex.startActivity(i);

    • @muhammadwaqas7931
      @muhammadwaqas7931 5 ปีที่แล้ว

      same error

    • @simiabradz7411
      @simiabradz7411 4 ปีที่แล้ว

      hello did u solve the problem sirr?

    • @simiabradz7411
      @simiabradz7411 4 ปีที่แล้ว

      @@muhammadwaqas7931 hello did u solve the probel sir ?

  • @nathalypena9031
    @nathalypena9031 4 ปีที่แล้ว

    Hola, he seguido paso a paso tu video pero tengo me marca este error java.lang.IndexOutOfBoundsException: Index: 1, Size: 0 me podrias decir como solucionarlo por favor. Gracias

  • @EskyDinpuiaChhangte
    @EskyDinpuiaChhangte 6 ปีที่แล้ว

    Hello Sir, GOOD TUTORIAL I have a Question Can we View The Pdf file without download it(can we view in realtime)

    • @mangeshkhedekar2248
      @mangeshkhedekar2248 6 ปีที่แล้ว

      sir plz show us how to use thunkable in androidstudio ?

  • @mmarshall5003
    @mmarshall5003 6 ปีที่แล้ว

    Sir, how do i put an fingerprint authentication whenever user want to retrieve file from firebase on click at the fetch file..
    and the app crash as soon as Fetch button clicked. the upload function are workin gproperly

  • @ayushagrawal5408
    @ayushagrawal5408 6 ปีที่แล้ว

    Can we do upload and retrieve apk files also?

  • @itworldnote
    @itworldnote 6 ปีที่แล้ว

    sir i want to show the uploaded files in my app like thumbnails dynamically and also shows them in my app when i clicked on perticular thumbnails. please tell me how can i do this

  • @waseemmughal5349
    @waseemmughal5349 4 ปีที่แล้ว +1

    Sir i have one Exception in Adapter Class.Where i download the file from Google..This is Exception..Please Reply
    android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=com.google.android.gms.tasks.zzu@8ed13e0 }

  • @KasemDarkCoder
    @KasemDarkCoder 6 ปีที่แล้ว

    Hey bro, how to dipalay an image instead of the text and that image will be too retrived from firebase

  • @thihaaung1421
    @thihaaung1421 4 ปีที่แล้ว

    So what about audio? Have any tutorials about it?

  • @sarathchandradamineni1252
    @sarathchandradamineni1252 6 ปีที่แล้ว

    thanks a lot sir : )

  • @ryanvalenzuela551
    @ryanvalenzuela551 5 ปีที่แล้ว

    is this okay with netbeans also

  • @saisupreeth5268
    @saisupreeth5268 6 ปีที่แล้ว

    Sir Completion fetch files working fine but while uploading file application is crashing.....please help me out

  • @souravthakur9095
    @souravthakur9095 6 ปีที่แล้ว

    Great tutorial man, but how can we show files in our app not in the default browser from the firebase ....

    • @souravthakur9095
      @souravthakur9095 6 ปีที่แล้ว

      Sayan Dutta but when then I will subscribe to your channel

  • @2knal
    @2knal 6 ปีที่แล้ว

    Hello Sir,
    I want the download (fetch) button in a different activity, so how shall I go about it?
    (I am trying to make an app having student teacher profiles, the upload part is done. Now I want to allow students to download the uploaded file from their profile.)

  • @amarashah3430
    @amarashah3430 4 ปีที่แล้ว

    Pdf View when loads pdf from internet,, is it loaded permanently or it will fetch everytime from internet.

    • @whoozthedev514
      @whoozthedev514  4 ปีที่แล้ว

      Amara shah it ll only refetch if the pdf view/ application is closed and started

    • @amarashah3430
      @amarashah3430 4 ปีที่แล้ว

      @@whoozthedev514 ok got it ..First Time it is loaded from internet but After when I load it without internet connection, it loaded successfully even after killing the process...
      will it work for me like offline storage or I should manually call it from device storage...

    • @whoozthedev514
      @whoozthedev514  4 ปีที่แล้ว +1

      Amara shah didnt get your last question, bt its mot guaranteed that after killing it ll always successfuly load, currently its getting loaded due to Android OS caching ability..

    • @amarashah3430
      @amarashah3430 4 ปีที่แล้ว

      @@whoozthedev514 thnanx alot... I got it

  • @rushikeshkadam4311
    @rushikeshkadam4311 6 ปีที่แล้ว

    I am getting "Attempt to write to field 'int android.support.v7.widget.RecyclerView$ViewHolder.mItemViewType' on a null object reference" this error

  • @shaikhsana2069
    @shaikhsana2069 6 ปีที่แล้ว

    hey....my pdf file is getting fetch but its not getting download??

  • @increadibleangel7980
    @increadibleangel7980 5 ปีที่แล้ว

    after clickinh file in the fetchtab app crashes

  • @khairiradzuan5622
    @khairiradzuan5622 6 ปีที่แล้ว

    hi..upload activity working well but when i click fetch button..the page did not show any of my uploaded file..plus error from logcat after press fetch button is "get services instant failed"..can you help me on this..

    • @khairiradzuan5622
      @khairiradzuan5622 6 ปีที่แล้ว

      hi Sayan Dutta..(logcat error :"error getting token java.util.concurrent.ExecutionException: com.google.firebase.internal.api.FirebaseNoSignedInUserException: Please sign in before trying to get a token.") i get this error

    • @khairiradzuan5622
      @khairiradzuan5622 6 ปีที่แล้ว

      i already replace that rules and still get a same error

    • @khairiradzuan5622
      @khairiradzuan5622 6 ปีที่แล้ว

      i did not implement any extra thing..and also i already re-watch and re-check my app several time

  • @emmanueltilles4060
    @emmanueltilles4060 6 ปีที่แล้ว

    Hello sir, i would like to thank you for this video. I am getting an error on whenever i click a file im about to download :( it also says in the logcat that there is "no activity found to handle intent" help is much appreciated. Keep making vids bro :)

    • @emmanueltilles4060
      @emmanueltilles4060 6 ปีที่แล้ว

      I already put the recycler.java in my manifest. Still i cant download the file :(
      I think the problem is that decleration on ArrayList items = new ArrayList(); as it remains grey as if its not used. I cannot seem to fix that.

    • @emmanueltilles4060
      @emmanueltilles4060 6 ปีที่แล้ว

      The logcat says that "No Activity found to handle Intent" pointing at MyAdapter.java context.startActivity(intent);

    • @masetarahma2766
      @masetarahma2766 4 ปีที่แล้ว

      @@whoozthedev514 I already declared it in manifest but still I got the error pointing at MyAdapter.jaba context.startActivity saying that
      android.content.ActivityNotFoundException: No Activity found to handle Intent { dat=com.google.android.gms.tasks.zzu@815ecbb }

  • @thebreakoutchaser
    @thebreakoutchaser 6 ปีที่แล้ว

    what to be done if we only want to fetch particular type of files among other files like audio, video etc

  • @sgur34
    @sgur34 5 ปีที่แล้ว

    Вы совсем забыли, что нужно добавить в библиотеку build.gradle следующие
    //reclyclerview and cardview libraries
    implementation 'com.android.support:recyclerview-v7:28.0.0'
    implementation 'com.android.support:cardview-v7:28.0.0'

  • @jaishisplays6661
    @jaishisplays6661 5 ปีที่แล้ว

    Bro when i click on the file to download it show this error " Invalid request. X-Goog-Upload-Command header is missing". please give me the solution to fix this. Rest is all perfect.

  • @jianhao6393
    @jianhao6393 4 ปีที่แล้ว

    hi, can u show me ur firebase storage security rules?

  • @zacharyparchment3407
    @zacharyparchment3407 5 ปีที่แล้ว

    I dont see anything when i open the page to view the uploads. Any fix?

  • @konradpatrzaek3164
    @konradpatrzaek3164 4 ปีที่แล้ว

    android.content.ActivityNotFoundException: No Activity found to handle Intent .... the same problem :(

  • @anmolpreetsingh3624
    @anmolpreetsingh3624 3 ปีที่แล้ว

    when i press on fetch file the application stops working(crashes) plss help

  • @nayandeka3175
    @nayandeka3175 6 ปีที่แล้ว

    sir i am using recycler view adapter, can you please tell me how i can get the browser intent on clicking

    • @nayandeka3175
      @nayandeka3175 6 ปีที่แล้ว +1

      when I click the card on recyclerview it should open the browser to download the pdf .How can i implement it using firebase recycler view

    • @nayandeka3175
      @nayandeka3175 6 ปีที่แล้ว

      thanks sir,but sir it's little bit urgent so can i send my codes to ur mail id so that u can say where i have to implement....

  • @umangmavani7594
    @umangmavani7594 5 ปีที่แล้ว

    android.content.ActivityNotFoundException: No Activity found to handle Intent ....
    This error occured in MyAdapter.class in the last line of the code......how to handle this error kindly give solution

  • @leandrosistemavs1043
    @leandrosistemavs1043 4 ปีที่แล้ว

    In kotlin?

  • @bhavikvashi
    @bhavikvashi 6 ปีที่แล้ว

    on click its gives error in google chrome browser :-> Invalid Request .X-Goog-Upload-Command header is missing

  • @omkardavbhat6028
    @omkardavbhat6028 4 ปีที่แล้ว

    Failed to convert value of type java.util.HashMap to String got this error bro plz help

    • @whoozthedev514
      @whoozthedev514  4 ปีที่แล้ว

      Omkar Davbhat find out he line, you are doing some coding error

  • @arpitbhasin8200
    @arpitbhasin8200 6 ปีที่แล้ว

    it is not showing RecyclerView by default hence object cannot be created instead it is showing AlertContoller or else RecyclerListView
    what can be the solution??

  • @rdgames00
    @rdgames00 6 ปีที่แล้ว

    How to convert HashMap to String and load definite file from bucket???

  • @abdul-rahmanali735
    @abdul-rahmanali735 6 ปีที่แล้ว

    Whenever I click fetch, the app either crashes or reopens the same screen again. The error message I get is
    Failed to convert value of type java.util.HashMap to String
    Also, another issue I have is (What might be causing the issue) on the MyAdapter java file, at the top where we declared the array list, its not being used i.e.appears in light grey:
    ArrayList items = new ArrayList():
    The above code after the = sign appears light grey, so its not being used. How do I fix that?
    Thanks.

    • @abdul-rahmanali735
      @abdul-rahmanali735 6 ปีที่แล้ว

      Thanks for your reply. What do you mean to check the reference? I followed the tutorial exactly how you done it or would the reference be different for me? Which part in the code would I check/change the reference?

    • @abdul-rahmanali735
      @abdul-rahmanali735 6 ปีที่แล้ว

      I tried it but no luck :( I'm not sure how to get the path lol. I will watch your other videos.

    • @abdul-rahmanali735
      @abdul-rahmanali735 6 ปีที่แล้ว

      Subscribed :)

  • @muhammadwaqas7931
    @muhammadwaqas7931 5 ปีที่แล้ว

    context.startActivity(intent); this line is not executing ..?

  • @smackalpha
    @smackalpha 6 ปีที่แล้ว +1

    Got an error.. When clicking the file to download, it closes and goes to first page... How to solve it...

    • @smackalpha
      @smackalpha 6 ปีที่แล้ว +1

      Sayan Dutta I already changed that. The error was at MyAdapter.java file and the line was context.startActivity(intent);
      The logcat says that "No Activity found to handle Intent" pointing at that MyAdapter.java context.startActivity(intent);
      how to solve it?

    • @yashvinaboo2704
      @yashvinaboo2704 6 ปีที่แล้ว

      I'm stuck with the same error since last week. If you find the solution to this,please share. Thank you

    • @shamshadp3421
      @shamshadp3421 6 ปีที่แล้ว

      i have same problem

    • @rajchokshi4187
      @rajchokshi4187 6 ปีที่แล้ว

      @@whoozthedev514 the error generated on getDownloadUrl()

    • @EngrSaad
      @EngrSaad 5 ปีที่แล้ว

      @@whoozthedev514 "Failed to convert value of type java.util.HashMap to String" same prob brother,,, i already changed Tasksnapshot to storageReference.getDownloadUrl().

  • @mayurbora6681
    @mayurbora6681 6 ปีที่แล้ว

    sir u have fetched the file in the same activity.. but i have a project in which i need to give rights only to admin to login and upload the files and the user will fetch the files in the guest login. Can u help me for this

    • @mayurbora6681
      @mayurbora6681 6 ปีที่แล้ว

      sir i did that i created a activity in admin login to upload the files...the files then get uploaded in the upload folder. then created activity in guest login to download the files. i coded according to u but the recycler view is empty. can u guide me how to do it.. rather what more modification i need to do to implement in another activity

    • @mayurbora6681
      @mayurbora6681 6 ปีที่แล้ว

      Sayan Dutta yes sir i have problem regarding fetch... I want to fetch the files...

    • @mayurbora6681
      @mayurbora6681 6 ปีที่แล้ว

      sir can u please provide me the video to fetch the files in another activity.. I am unable to fetch the files

    • @manisharora7874
      @manisharora7874 6 ปีที่แล้ว

      Actually I also got the same problem...have u find the solution for that🤔

  • @andrelucas2387
    @andrelucas2387 6 ปีที่แล้ว +1

    everything works, except in the part that you click to open the pdf to download and give error

  • @thepropellersitcenter4056
    @thepropellersitcenter4056 3 ปีที่แล้ว

    Though I get this error ; android.content.ActivityNotFoundException: No Activity found to handle Intent { dat=com.google.android.gms.tasks.zzu@9afc8da }
    pls how do I go arround it?

    • @thepropellersitcenter4056
      @thepropellersitcenter4056 3 ปีที่แล้ว

      It points me arround this code...
      public void onClick(View view) {
      int position=recyclerView.getChildLayoutPosition(view);
      Intent intent=new Intent();
      intent.setType(Intent.ACTION_VIEW);// denotes that we are going to view something...
      intent.setData(Uri.parse(urls.get(position)));
      context.startActivity(intent);

  • @bilaldautov755
    @bilaldautov755 5 ปีที่แล้ว

    I already made upload files and images so how I can send it chat app sending files and images

  • @posttenebraslux316
    @posttenebraslux316 6 ปีที่แล้ว

    How to get the file in internal also?

  • @superlc1550
    @superlc1550 6 ปีที่แล้ว

    pack, how to use upload and download with different directories and contents on one application?

    • @superlc1550
      @superlc1550 6 ปีที่แล้ว

      sir, does it also apply to make FETCH files 2 with different contents?

  • @abhayjidge7042
    @abhayjidge7042 6 ปีที่แล้ว

    Hi ,
    When i click on fetch button it opens the recycler view having list of pdf on my data base but after clicking on them not going to next activity

    • @abhayjidge7042
      @abhayjidge7042 6 ปีที่แล้ว

      @@whoozthedev514 i have matched it twice
      Can you please provide your project file

    • @abhayjidge7042
      @abhayjidge7042 6 ปีที่แล้ว

      @@whoozthedev514 its not showing any kind of error

    • @abhayjidge7042
      @abhayjidge7042 6 ปีที่แล้ว

      @@whoozthedev514 its displaying the files but the on click listener is not downloading the file

    • @abhayjidge7042
      @abhayjidge7042 6 ปีที่แล้ว

      @@whoozthedev514 should i mail you the code

    • @abhayjidge7042
      @abhayjidge7042 6 ปีที่แล้ว +1

      @@whoozthedev514 I have made above changes and now app get crashesh as i click on file name.
      It shows error in Logcat as "no activity found to handle Intent"

  • @ishangupta3162
    @ishangupta3162 6 ปีที่แล้ว +2

    hey.. when i am clicking on fetch files button them the application stops .. what do be done pls do help asap

    • @ishangupta3162
      @ishangupta3162 6 ปีที่แล้ว

      yup upload and select file is working properly.. but not upload button

    • @ishangupta3162
      @ishangupta3162 6 ปีที่แล้ว

      its show that..my application"name of my application " has stopped

    • @thebreakoutchaser
      @thebreakoutchaser 6 ปีที่แล้ว

      i need it very very urgently....

    • @thebreakoutchaser
      @thebreakoutchaser 6 ปีที่แล้ว

      ok thnx

    • @thebreakoutchaser
      @thebreakoutchaser 6 ปีที่แล้ว

      ok thnk you

  • @saurabhavhad3551
    @saurabhavhad3551 6 ปีที่แล้ว

    In MyAdapter.Java , the MyAdapter class does not extends to RecyclerView.Adapter { }
    What's the problem ?

    • @saurabhavhad3551
      @saurabhavhad3551 6 ปีที่แล้ว

      Can u pls check my code.....
      I can mail my project to show u

  • @ДиляАхметова-б6ы
    @ДиляАхметова-б6ы 6 ปีที่แล้ว

    I get such an error: error: MyAdapter.ViewHolder has private access in MyAdapter and
    Cannot resolve method 'getDownloadUrl(). What should I do?

  • @quicklaunchers98
    @quicklaunchers98 5 ปีที่แล้ว

    Hello Friends, I made an android app with firebase. My app is running smoothly on emulator but not connected with firebase when use on real android device...(Can't download files on real device but do so on emulator)

  • @RaceDriverF1
    @RaceDriverF1 5 ปีที่แล้ว

    Dude - buildToolsVersion "21.0.2" - RecyclerView not working on newer versions of buildTools... Good tutorial, but, like your previous one with upload - doesn't really work. I had to do a lot of changes to set proper functionality of your previous tutorial...

    • @RaceDriverF1
      @RaceDriverF1 5 ปีที่แล้ว

      @@whoozthedev514 can I give me your e-mail? I will send you the code that I have and log of problem ;)

    • @RaceDriverF1
      @RaceDriverF1 5 ปีที่แล้ว

      Actually code works fine, but in the RecyclerViewActivity I didn't see any cards - just RecyclerView (list). I use debugger and see in terminal: "Listen at / failed: DatabaseError: Permission denied. Have you got any idea? I set the rules as you told...

    • @RaceDriverF1
      @RaceDriverF1 5 ปีที่แล้ว

      So - my mistake. I was using Cloud Firestore... I set to Realtime Database and it works fine. The cards are showing in the RecyclerView, but when I click on it - application is crashing. And I can't download it... Have you got any idea?

    • @RaceDriverF1
      @RaceDriverF1 5 ปีที่แล้ว

      The problem is in the MyAdapter.java - with Intent
      int position=recyclerView.getChildLayoutPosition(view);
      Intent intent=new Intent();
      intent.setType(Intent.ACTION_VIEW); // denotes that we are going to view something
      intent.setData(Uri.parse(urls.get(position)));
      context.startActivity(intent); //launch the browser to display corresponding file

  • @shivashrestha6914
    @shivashrestha6914 5 ปีที่แล้ว

    how to open this pdf inside the app webview
    please help

  • @sanketvaidya2473
    @sanketvaidya2473 5 ปีที่แล้ว +2

    Hey when I am clicking on fetch button my app get crashed and showing the error that No activity found to handle intent in myAdapter.java file. It's very urgent do anyone knows the solution

    • @himanshuchauhan5563
      @himanshuchauhan5563 5 ปีที่แล้ว

      The same is happening with me. I guess there is some problem in the newer versions of API.

  • @jvps1036
    @jvps1036 5 ปีที่แล้ว

    the fetch code is working perfectly but i am unable to download any file
    the error is : no activity found to handle intent

    • @rohitmishra_2410
      @rohitmishra_2410 5 ปีที่แล้ว

      same error bro did u solved it or do u know solution???

  • @dreambiztech6711
    @dreambiztech6711 5 ปีที่แล้ว

    Sir how to upload PDF to server using volley.
    Please make a video
    Thanks

  • @rajatkalyan6391
    @rajatkalyan6391 6 ปีที่แล้ว

    sir can you please provide me the source code....im in a trouble..i have to show my project tomorrow and im facing downloading issues...please sir...i will be very thankful for this

  • @rohitkhernar6690
    @rohitkhernar6690 3 ปีที่แล้ว

    Can you help me in my project??

  • @cheaoudom303
    @cheaoudom303 5 ปีที่แล้ว

    can you do it in kotlin?

  • @testname7226
    @testname7226 4 ปีที่แล้ว

    while uploading this file i got error as java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.Exception.getMessage()' on a null object reference

    • @whoozthedev514
      @whoozthedev514  4 ปีที่แล้ว

      check the line no from console, and make sure try try/catch block is written fine.

    • @testname7226
      @testname7226 4 ปีที่แล้ว

      Thank you for reply i tried for that,but uploaded file not shown in filepicker side,there is no error also

    • @whoozthedev514
      @whoozthedev514  4 ปีที่แล้ว

      @@testname7226you need to solve the error that you told and make sure in firebase its getting uploaded

    • @testname7226
      @testname7226 4 ปีที่แล้ว

      @@whoozthedev514file is uploaded in firebase,but that file not shown in filepicker,please guide me for this

    • @whoozthedev514
      @whoozthedev514  4 ปีที่แล้ว

      test name Is the app crashing? If not check the error log

  • @Mdirfan-lk1wx
    @Mdirfan-lk1wx 6 ปีที่แล้ว

    String URL=datasnapshot.getValue(String.class); gives me error com.google.firebase.DatabaseException:Failed to convert value of Java.util.HashMap to string

    • @Mdirfan-lk1wx
      @Mdirfan-lk1wx 6 ปีที่แล้ว

      The problem resolved but when I clicked on the button it will open browser and nothing happened

    • @abdul-rahmanali735
      @abdul-rahmanali735 6 ปีที่แล้ว

      How did you fix it? As I have the same error on the String URL=datasnapshot.getValue(String.class);

    • @gamalgoda8178
      @gamalgoda8178 4 ปีที่แล้ว

      Please tell me how you fixed it because I am facing the same problem here

  • @rdgames00
    @rdgames00 6 ปีที่แล้ว

    i wanna see how to retrieve such from firebase storage

  • @rajchokshi4187
    @rajchokshi4187 6 ปีที่แล้ว

    error generated in these statement " String url = dataSnapshot.getValue(String.class);" please solve this

    • @BurhanuddinHamzabhai
      @BurhanuddinHamzabhai 4 ปีที่แล้ว

      convert it to string seperately use this line instead String url = dataSnapshot.getValue().toString;

  • @umeshmallikarjun9346
    @umeshmallikarjun9346 6 ปีที่แล้ว

    Hair Bro, thank you so much all are working good...
    but I want to show separate names (in cardView ) for etch files instead of time(milliseconds).
    can you help me...

  • @saishrege3867
    @saishrege3867 6 ปีที่แล้ว

    java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{packagename}:NullPointerException
    Please Help me with this

    • @saishrege3867
      @saishrege3867 6 ปีที่แล้ว

      This is the error i get when i click on Fetch button and the app crashes

  • @ksreenivas3933
    @ksreenivas3933 5 ปีที่แล้ว

    how to open that pdf in app itself

  • @dolaalod7671
    @dolaalod7671 5 ปีที่แล้ว

    Bro plz help me if I click that file show in app it is not downloading bro it comes back to home screen not downloading the file plz help me.... ....🙏

    • @dolaalod7671
      @dolaalod7671 5 ปีที่แล้ว

      @@whoozthedev514 at Intent

    • @dolaalod7671
      @dolaalod7671 5 ปีที่แล้ว

      @@whoozthedev514 In log cat it says error in intent part

    • @dolaalod7671
      @dolaalod7671 5 ปีที่แล้ว

      @@whoozthedev514 bro if I see in Logant threshold line 66 it's says if I click it it's goes to the line context. StartActivity(intent); that's goes here it's shows the file if I click it it's not downloading r ask broswer plz bro help me I have to finish the project can u plz help me

  • @ZoHaTips
    @ZoHaTips 5 ปีที่แล้ว

    Can you provide us the project file?

  • @rohanpratap3869
    @rohanpratap3869 6 ปีที่แล้ว

    Whenever I click fetch, the app either crashes or reopens the same screen again. The error message I get is
    Failed to convert value of type java.util.HashMap to String.
    at
    internal.firebase_database.zzkt.zzb
    Please Help

    • @rohanpratap3869
      @rohanpratap3869 6 ปีที่แล้ว

      @@whoozthedev514 I copied the same code its showing error on line where we database reference.addchildlistner......
      in recyclerview activity

    • @rohanpratap3869
      @rohanpratap3869 6 ปีที่แล้ว

      @@whoozthedev514 Please help me its urgent...

  • @neharikajsh
    @neharikajsh 6 ปีที่แล้ว

    ((Recycle_Adapter)recyclerView.getAdapter()).update(filename,url);
    in this line there is an error as "Attempt to invoke virtual method 'android.support.v7.widget.RecyclerView$Adapter android.support.v7.widget.RecyclerView.getAdapter()' on a null object reference"

    • @harshavardhann5906
      @harshavardhann5906 2 ปีที่แล้ว

      I'm having the same issue! Did you find any solution?

  • @dolaalod7671
    @dolaalod7671 5 ปีที่แล้ว

    I can't download the file plz plz plz plz plz help me plz....

  • @Mdirfan-lk1wx
    @Mdirfan-lk1wx 6 ปีที่แล้ว

    Every time when I click card view chrome browser was open and link was not loaded

  • @briancabrera9851
    @briancabrera9851 6 ปีที่แล้ว

    select file and upload button is working properly but fetch files button closes the application when clicked it says, "Unfortunately,FileUpload has stopped...

    • @briancabrera9851
      @briancabrera9851 6 ปีที่แล้ว

      when i change it to storageReference, an error says that "variable storageReference is accessed from within inner class, needs to be declared final

    • @briancabrera9851
      @briancabrera9851 6 ปีที่แล้ว

      Sayan Dutta thanks!!! :) i have changed it but it's still not working :(

    • @briancabrera9851
      @briancabrera9851 6 ปีที่แล้ว

      in my my_recycler_view.xml , the recycler view displays "android...RecyclerView instead of displaying "item 0, item1, item2, item 3 etc " is it alright?

    • @briancabrera9851
      @briancabrera9851 6 ปีที่แล้ว

      i already sync it....but it's still the same. Also, i noticed when i put ArrayList items= new ArrayList(); it says that the variable 'items' initializer new ArrayList() is redundant. Can you see what's wrong in my code? thank you so much!

    • @briancabrera9851
      @briancabrera9851 6 ปีที่แล้ว

      in logcat there is an rror in this line of myadapter.java "context.startActivity(intent);"

  • @nabeelurrehaman8190
    @nabeelurrehaman8190 5 ปีที่แล้ว

    sir when i press Tap on file to download the application has been stop

  • @anupamparihar1094
    @anupamparihar1094 6 ปีที่แล้ว

    When i click on file the link doesnt opens in browser

    • @anupamparihar1094
      @anupamparihar1094 6 ปีที่แล้ว

      the browser opens a page with error saying The specified key doesnt exist

  • @rdgames00
    @rdgames00 6 ปีที่แล้ว

    make a video on such

  • @nitesharu1269
    @nitesharu1269 4 ปีที่แล้ว

    can you share the source code files..........

  • @mrs_smart_boy
    @mrs_smart_boy 4 ปีที่แล้ว

    Uploading pdf video link please

  • @saishrege916
    @saishrege916 6 ปีที่แล้ว

    android.content.ActivityNotFoundExeption:No Activity to Handle Intent
    {dat = com.google.android.gms.tasks.zzu@2a744ec
    typ=android.intent.action.VIEW}
    This is what i found in the logcat on clicking a file from RecyclerView