Kindly check whether your URL points to the images in your database. Confirm by copying the image url to your browser. It should load the image if its available.
these code is simple to understand, unlike to others they use complicated code so as you hate programming....thanks bro for this simple code, few lines, easy to memorize
Hello there dear friend. I have a database where i have user table like you, products table like you and i want to connect one more table named results, where in the app a signed in user can give in a gap a number, and i want to be saved in this results table by user id, where user exist in users. Do you have any tutorial like this?
I want to show messages with clickable link in activity sir. Note: I want to send zoom meeting message from server to android in that I need link able to click and go to browser. Thank you sir .
RecyclerAdapter is no longer supported? When I try to instantiate mAdapter it only gives the option to manually confifure RecyclerView.Adapter. It cannot be done as you're showing in the video. Can you help me?
Thank you for your comment Gabriel. Is your recycler view adapter class a private class? If so make it public. Also make sure that the class points to the right package.
We can achieve it in two ways. Either include a Boolean field to our product item and call it isAdded to cart. We can update this value once a user actually adds the item to cart. Or we can have a separate database table to hold our items in cart.
You can fetch the image from the server and display it like how I did in the tutorial. Or just keep some images in your app that users can switch to. When you need more assistance just ask I'll be glad to help.
hi!! again. one more question if i may ask. why i get this error ? E/RecyclerView: No adapter attached; skipping layout. i followed step by step the video. thank you!!
I am having a challenge. RecyclerAdapter i think is deprecated, instead it is giving me RecyclerView.Adapter{ }..how can i accomplish the same with this?
I get a php error saying the equivalent variable to $products is undefined at line 34. I believe this is then causing the java not to execute the try block at all in the main java file. Is this a connection issue to the database? Any help would be appreciated.
No, it's not a database issue. There's a variable in line 34 that doesn't match $products and needs to be defined. Check the two variables and make sure they match.
thanks a lot sir i was fetching data on recycler view from 4 hours and but it is not working,,,,, when i see your video then i remember my mistake and i done my work thanks a lot sir
Yeah that's because you didn't assign an adapter to your Recycler View before loading your data. Assign the adapter to the Recycler View before calling the method that feeds data into your list.
Yes volley is still being used. It's a good library and gets the work done. You can as well use Http, this depends with what you are trying to accomplish. Why don't you research on the advantages of using volley library. You've done well to ask.
Tech With Walter thnx so much for asking count me i need it to retriev data from data base mysql into recyclerview but when i run it nothing shown i dont know whats the problem have any tut for this one thnx sir 💪🙏
@@mimabouyahmed7434 Check whether your Recycler View adapter is properly initialized after you have set up internet permissions in your Manifest file. Best of luck.
@@softwarescience976 Also, is it possible to implement a searching filter? For example, if user only wants to see products with the name 'X' or if user only wants to see products with the price range from y to z, or maybe even both (products with the name 'X' and price range from y to z)
sir im having problem in implemetations this is the message : Execution failed for task ':app:checkDebugAarMetadata'. > Could not resolve all files for configuration ':app:debugRuntimeClasspath'. > Could not find com.andriod.volley:volley:1.1.1. Searched in the following locations: - dl.google.com/dl/android/maven2/com/andriod/volley/volley/1.1.1/volley-1.1.1.pom - jcenter.bintray.com/com/andriod/volley/volley/1.1.1/volley-1.1.1.pom Required by: project :app Possible solution: - Declare repository providing the artifact, see the documentation at docs.gradle.org/current/userguide/declaring_repositories.html
The compiler is trying to tell you that your recycler view does not have an adapter attached to it. So it skips it. Solution: Add this line: yourRecyclerView.setAdapter(yourAdapter)
Did it work out for you? Let me know by leaving a comment.
Image not show
Kindly check whether your URL points to the images in your database. Confirm by copying the image url to your browser. It should load the image if its available.
@@student9297
Do you have any pictures? I seem to be like you, but the text was successfully caught
@@softwarescience976 Hello there,
add to cart did you manage to do it?
these code is simple to understand, unlike to others they use complicated code so as you hate programming....thanks bro for this simple code, few lines, easy to memorize
You're the best. Thanks, it worked perfectly for me. Greetings from Cuba.
Cannot resolve method into in String
The error "Value
How to upload images in database...
How you insert that product in database ?
good presentation and easy to learn from you
Keep Uploading Contents
Hello there dear friend. I have a database where i have user table like you, products table like you and i want to connect one more table named results, where in the app a signed in user can give in a gap a number, and i want to be saved in this results table by user id, where user exist in users. Do you have any tutorial like this?
It's helpful, but I don't understand some lines like and Setting_activity code in the home.java
Wait for the next part sir
Can you also add Search Box?
I want to show messages with clickable link in activity sir. Note: I want to send zoom meeting message from server to android in that I need link able to click and go to browser. Thank you sir .
RecyclerAdapter is no longer supported? When I try to instantiate mAdapter it only gives the option to manually confifure RecyclerView.Adapter. It cannot be done as you're showing in the video. Can you help me?
Thank you for your comment Gabriel. Is your recycler view adapter class a private class? If so make it public. Also make sure that the class points to the right package.
hey Gabriel did u fix it ? I have the same problem too :((
@@nico_zxc Yes I did but I believe I had to code my own recycler adapter. Check the code on his git and see the parts he skipped in the video
Your tutorial force me to subscribe
can u make add to cart button like ecommerce app
then it will update the price every items that been adding to cart
that would be great content
We can achieve it in two ways. Either include a Boolean field to our product item and call it isAdded to cart. We can update this value once a user actually adds the item to cart. Or we can have a separate database table to hold our items in cart.
For the login page, can you add the registration by attaching a picture? I mean the user's profile picture in order to use the comment feature .
You can fetch the image from the server and display it like how I did in the tutorial. Or just keep some images in your app that users can switch to. When you need more assistance just ask I'll be glad to help.
Please send me PHP file to insert the items with image please
what is the difference between POST and GET in StringRequest?
POST is a method when you send data to database. But. When you want those data from database to display on device. You use GET
hi!! again.
one more question if i may ask.
why i get this error ?
E/RecyclerView: No adapter attached; skipping layout.
i followed step by step the video.
thank you!!
It simply means you have not attached an adapter to your recycler view. Also check whether you have assigned a layout manager.
@@softwarescience976 thank you for the fast respond , I will check it out, and I will report back.
recyclerView.setLayoutManager(new LinearLayoutManager(this));
My picture is garbled in xampp, but it can’t come out. What’s the solution?
You can as well clear the table containing the picture
I am having a challenge. RecyclerAdapter i think is deprecated, instead it is giving me RecyclerView.Adapter{ }..how can i accomplish the same with this?
Your custom recycler adapter extends RecyclerView.Adapter
@@softwarescience976 thank you bro, so how can the code be, if i am not troubling you
Please watch my video on Recycler view.
ua-cam.com/video/bDTei15xf0A/v-deo.html
I get a php error saying the equivalent variable to $products is undefined at line 34. I believe this is then causing the java not to execute the try block at all in the main java file. Is this a connection issue to the database? Any help would be appreciated.
The java wont execute past the JSONArray array = new JSONArray(response); at the start of the try block.
No, it's not a database issue. There's a variable in line 34 that doesn't match $products and needs to be defined. Check the two variables and make sure they match.
Can I tell you to upload pictures to the PHP and INDEX files of MYSQL
Sorry I'm not getting you clearly.
I just stuff how to insert these items in database please suggest.
You write Insert sql on PHP server with parameters. Pass this parameters from android by using hmap.
thanks a lot sir i was fetching data on recycler view from 4 hours and but it is not working,,,,, when i see your video then i remember my mistake and i done my work
thanks a lot sir
Im glad I helped.
its have got an error , type org.json.jsonarray cannot be converted to jsonobject
That's an issue with PHP code. Please review your code.
Where is a database? You didn't share the Database...
If I want to upload a PHP image like yours, can I show you a PHP file example?
Go ahead
i have this error no adapter attached skipping layout dont know whats the problem -_-
Yeah that's because you didn't assign an adapter to your Recycler View before loading your data. Assign the adapter to the Recycler View before calling the method that feeds data into your list.
Tech With Walter i have in my onCreate method before calling the method that feeds data into my list recyclerview.setadapter(myadapter);
where is the insert product in database video?
Kindly watch the previous video in these series.
Can u tel me pliz if volley library is still used now more then http library thnx for information
Yes volley is still being used. It's a good library and gets the work done. You can as well use Http, this depends with what you are trying to accomplish. Why don't you research on the advantages of using volley library. You've done well to ask.
Tech With Walter thnx so much for asking count me i need it to retriev data from data base mysql into recyclerview but when i run it nothing shown i dont know whats the problem have any tut for this one thnx sir 💪🙏
@@mimabouyahmed7434 Check whether your Recycler View adapter is properly initialized after you have set up internet permissions in your Manifest file. Best of luck.
Tech With Walter thank u so much sir i added anything in my manifest file i have just added internet permission thnkk u sirrr💪💪
Please help me how to add these products to cart ...
Hi, you can add a new field in your database and once a user clicks on add to cart you can insert that product to your database.
Thank you so much
Sir I tried it...its not working could you please elaborate ....please please
@@leahley1352
And I'M also
Will the products show up if I open the app using my phone?
Yes, they should.
@@softwarescience976 Also, is it possible to implement a searching filter?
For example, if user only wants to see products with the name 'X' or if user only wants to see products with the price range from y to z, or maybe even both (products with the name 'X' and price range from y to z)
Yes it is.
@@softwarescience976 Is there any video/tutorial on that topic? That would really help a lot because I need it for my final project.
Thank you.
Thanks
Does this work the same if I use a listView?
Actually yes it does.
why not
Source code please and please cource crud
Source code is now available at the description. Your feedback has been valuable. Great job.
Hey its been 9 months ...I am still waiting for next part of this tutorial
Understood. Next I'm planning to start on MVVM app architecture using Kotlin so be alert.
sir im having problem in implemetations this is the message :
Execution failed for task ':app:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
> Could not find com.andriod.volley:volley:1.1.1.
Searched in the following locations:
- dl.google.com/dl/android/maven2/com/andriod/volley/volley/1.1.1/volley-1.1.1.pom
- jcenter.bintray.com/com/andriod/volley/volley/1.1.1/volley-1.1.1.pom
Required by:
project :app
Possible solution:
- Declare repository providing the artifact, see the documentation at docs.gradle.org/current/userguide/declaring_repositories.html
This is the code inside in gradle
apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'
android {
compileSdkVersion 30
buildToolsVersion "30.0.0"
defaultConfig {
applicationId "com.example.mswdmobileapp"
minSdkVersion 25
targetSdkVersion 30
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'androidx.recyclerview:recyclerview:1.1.0'
implementation 'com.google.android.material:material:1.1.0'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'com.google.android.gms:play-services-maps:17.0.0'
implementation 'androidx.gridlayout:gridlayout:1.0.0'
implementation 'androidx.navigation:navigation-fragment:2.2.2'
implementation 'androidx.navigation:navigation-ui:2.2.2'
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
//volley
implementation 'com.andriod.volley:volley:1.1.1'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
}
Please watch this video it will guide you on how to add volley library to your android studio project : ua-cam.com/video/G-GBYqnkZYw/v-deo.html
Android + java + netbeans
E/RecyclerView: No adapter attached; skipping layout , this error came how to solve? sir,
Hello, just add an adapter to your recycler view.
The compiler is trying to tell you that your recycler view does not have an adapter attached to it. So it skips it. Solution: Add this line: yourRecyclerView.setAdapter(yourAdapter)
@@softwarescience976 tq so much sir
How you insert that product in database ?
manually in his case, or else you can make a php page with a form and upload the data i guess