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?
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
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.
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??
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
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
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!
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
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
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
@@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 🙌
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);
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
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
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
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 }
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.)
@@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...
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..
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..
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
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 :)
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.
@@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 }
Вы совсем забыли, что нужно добавить в библиотеку build.gradle следующие //reclyclerview and cardview libraries implementation 'com.android.support:recyclerview-v7:28.0.0' implementation 'com.android.support:cardview-v7:28.0.0'
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.
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
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??
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.
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?
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?
@@whoozthedev514 "Failed to convert value of type java.util.HashMap to String" same prob brother,,, i already changed Tasksnapshot to storageReference.getDownloadUrl().
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
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
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?
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);
@@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"
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)
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...
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...
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?
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
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
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
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
String URL=datasnapshot.getValue(String.class); gives me error com.google.firebase.DatabaseException:Failed to convert value of Java.util.HashMap to string
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...
@@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
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
((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"
select file and upload button is working properly but fetch files button closes the application when clicked it says, "Unfortunately,FileUpload has stopped...
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?
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!
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
thank u soooo much because of u now i am able to complete my final year project
Thanx bro. You saved us.. We needed it for our project..
Mate your tutorials are amazing! keep going like that, very helpful ;)
I know it's kinda off topic but do anyone know a good site to watch new series online ?
@Justice Patrick Flixportal :P
@Raymond Korbin thank you, signed up and it seems like they got a lot of movies there :D I really appreciate it !!
@Justice Patrick You are welcome :)
Thanks so much sir,
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?
Same problem occur. How do u solve ?
Same problem with me also
Even I am facing same problem . Please help
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
Thanks for uploading it today. We needed this
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.
thanks men
Subscribed
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??
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
Thank you for this video. İ want to ask how i should share the file like this way ? or there is another way ?
Bro can the names of downloaded PDFs changed so the users can understand rather than having it in milliseconds?
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
Great bro, now I want to know, how to fetch pdf files from a particular folders like we use SELECT WHERE query in MYSQL
Hey did you got your solution?
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.
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
I did 😃👍
Waiting for your easy and greeat tutorials 😃
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!
@@whoozthedev514 Thanks so much, that fixed it!
Please tell me how you fixed it because I am facing the same problem here. help my !
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
hey by which method I can save the .pdf file by its actual name and show its actual name after fetching files??
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
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
Mujhe widget.Recyleview ka option nahi raha hai
Jab new .xml bana rahe hai
Please help
@@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 🙌
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);
same error
hello did u solve the problem sirr?
@@muhammadwaqas7931 hello did u solve the probel sir ?
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
Hello Sir, GOOD TUTORIAL I have a Question Can we View The Pdf file without download it(can we view in realtime)
sir plz show us how to use thunkable in androidstudio ?
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
Can we do upload and retrieve apk files also?
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
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 }
I have the same problem :(
Hey bro, how to dipalay an image instead of the text and that image will be too retrived from firebase
So what about audio? Have any tutorials about it?
thanks a lot sir : )
is this okay with netbeans also
Sir Completion fetch files working fine but while uploading file application is crashing.....please help me out
Great tutorial man, but how can we show files in our app not in the default browser from the firebase ....
Sayan Dutta but when then I will subscribe to your channel
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.)
have u completed?
Pdf View when loads pdf from internet,, is it loaded permanently or it will fetch everytime from internet.
Amara shah it ll only refetch if the pdf view/ application is closed and started
@@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...
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..
@@whoozthedev514 thnanx alot... I got it
I am getting "Attempt to write to field 'int android.support.v7.widget.RecyclerView$ViewHolder.mItemViewType' on a null object reference" this error
hey....my pdf file is getting fetch but its not getting download??
after clickinh file in the fetchtab app crashes
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..
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
i already replace that rules and still get a same error
i did not implement any extra thing..and also i already re-watch and re-check my app several time
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 :)
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.
The logcat says that "No Activity found to handle Intent" pointing at MyAdapter.java context.startActivity(intent);
@@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 }
what to be done if we only want to fetch particular type of files among other files like audio, video etc
Sayan Dutta thanx
Вы совсем забыли, что нужно добавить в библиотеку build.gradle следующие
//reclyclerview and cardview libraries
implementation 'com.android.support:recyclerview-v7:28.0.0'
implementation 'com.android.support:cardview-v7:28.0.0'
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.
hi, can u show me ur firebase storage security rules?
I dont see anything when i open the page to view the uploads. Any fix?
android.content.ActivityNotFoundException: No Activity found to handle Intent .... the same problem :(
when i press on fetch file the application stops working(crashes) plss help
sir i am using recycler view adapter, can you please tell me how i can get the browser intent on clicking
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
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....
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
In kotlin?
on click its gives error in google chrome browser :-> Invalid Request .X-Goog-Upload-Command header is missing
Failed to convert value of type java.util.HashMap to String got this error bro plz help
Omkar Davbhat find out he line, you are doing some coding error
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??
How to convert HashMap to String and load definite file from bucket???
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.
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?
I tried it but no luck :( I'm not sure how to get the path lol. I will watch your other videos.
Subscribed :)
context.startActivity(intent); this line is not executing ..?
runtime error
Got an error.. When clicking the file to download, it closes and goes to first page... How to solve it...
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?
I'm stuck with the same error since last week. If you find the solution to this,please share. Thank you
i have same problem
@@whoozthedev514 the error generated on getDownloadUrl()
@@whoozthedev514 "Failed to convert value of type java.util.HashMap to String" same prob brother,,, i already changed Tasksnapshot to storageReference.getDownloadUrl().
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
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
Sayan Dutta yes sir i have problem regarding fetch... I want to fetch the files...
sir can u please provide me the video to fetch the files in another activity.. I am unable to fetch the files
Actually I also got the same problem...have u find the solution for that🤔
everything works, except in the part that you click to open the pdf to download and give error
same problem
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?
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);
I already made upload files and images so how I can send it chat app sending files and images
How to get the file in internal also?
pack, how to use upload and download with different directories and contents on one application?
sir, does it also apply to make FETCH files 2 with different contents?
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
@@whoozthedev514 i have matched it twice
Can you please provide your project file
@@whoozthedev514 its not showing any kind of error
@@whoozthedev514 its displaying the files but the on click listener is not downloading the file
@@whoozthedev514 should i mail you the code
@@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"
hey.. when i am clicking on fetch files button them the application stops .. what do be done pls do help asap
yup upload and select file is working properly.. but not upload button
its show that..my application"name of my application " has stopped
i need it very very urgently....
ok thnx
ok thnk you
In MyAdapter.Java , the MyAdapter class does not extends to RecyclerView.Adapter { }
What's the problem ?
Can u pls check my code.....
I can mail my project to show u
I get such an error: error: MyAdapter.ViewHolder has private access in MyAdapter and
Cannot resolve method 'getDownloadUrl(). What should I do?
It's happened. Cannot resolve method 'getDownloadUrl()? How to be with it?
help meee, please
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)
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...
@@whoozthedev514 can I give me your e-mail? I will send you the code that I have and log of problem ;)
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...
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?
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
how to open this pdf inside the app webview
please help
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
The same is happening with me. I guess there is some problem in the newer versions of API.
the fetch code is working perfectly but i am unable to download any file
the error is : no activity found to handle intent
same error bro did u solved it or do u know solution???
Sir how to upload PDF to server using volley.
Please make a video
Thanks
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
Can you help me in my project??
can you do it in kotlin?
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
check the line no from console, and make sure try try/catch block is written fine.
Thank you for reply i tried for that,but uploaded file not shown in filepicker side,there is no error also
@@testname7226you need to solve the error that you told and make sure in firebase its getting uploaded
@@whoozthedev514file is uploaded in firebase,but that file not shown in filepicker,please guide me for this
test name Is the app crashing? If not check the error log
String URL=datasnapshot.getValue(String.class); gives me error com.google.firebase.DatabaseException:Failed to convert value of Java.util.HashMap to string
The problem resolved but when I clicked on the button it will open browser and nothing happened
How did you fix it? As I have the same error on the String URL=datasnapshot.getValue(String.class);
Please tell me how you fixed it because I am facing the same problem here
i wanna see how to retrieve such from firebase storage
error generated in these statement " String url = dataSnapshot.getValue(String.class);" please solve this
convert it to string seperately use this line instead String url = dataSnapshot.getValue().toString;
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...
no bro, app getting close by this....
java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{packagename}:NullPointerException
Please Help me with this
This is the error i get when i click on Fetch button and the app crashes
how to open that pdf in app itself
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.... ....🙏
@@whoozthedev514 at Intent
@@whoozthedev514 In log cat it says error in intent part
@@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
Can you provide us the project file?
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
@@whoozthedev514 I copied the same code its showing error on line where we database reference.addchildlistner......
in recyclerview activity
@@whoozthedev514 Please help me its urgent...
((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"
I'm having the same issue! Did you find any solution?
I can't download the file plz plz plz plz plz help me plz....
Every time when I click card view chrome browser was open and link was not loaded
Ok I will try it
select file and upload button is working properly but fetch files button closes the application when clicked it says, "Unfortunately,FileUpload has stopped...
when i change it to storageReference, an error says that "variable storageReference is accessed from within inner class, needs to be declared final
Sayan Dutta thanks!!! :) i have changed it but it's still not working :(
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?
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!
in logcat there is an rror in this line of myadapter.java "context.startActivity(intent);"
sir when i press Tap on file to download the application has been stop
did u get a solution?
When i click on file the link doesnt opens in browser
the browser opens a page with error saying The specified key doesnt exist
make a video on such
can you share the source code files..........
Uploading pdf video link please
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