Get information's from SQLite Database and display in ListView

Поділитися
Вставка
  • Опубліковано 17 гру 2024

КОМЕНТАРІ • 109

  • @jayantsahu6231
    @jayantsahu6231 5 років тому

    sir i wanna tell u one thing u r great, all i can say is u r a master of ANDROID

  • @bimalgrg8951
    @bimalgrg8951 8 років тому +5

    God Bless you Sir.....From Nepal.

  • @marveyjameselman6128
    @marveyjameselman6128 8 років тому +28

    My thoughts on this tutorial
    First few minutes of the tutorial: "Hmm. . .Uh-huh. . . Yeah. . . Understood. . . that's easy. . "
    Halfway of the tutorial: "Wait, did you just-. . Hold on! I forgot to. . . What does that do again?"
    End of tutorial: "Ohh. . .it's all simple. Just do what he says and never try to understand the code, works for me!."

    • @akshayjain4777
      @akshayjain4777 7 років тому +1

      Marvey James Elman fully agree with u buddy

    • @dashingsuma
      @dashingsuma 7 років тому +1

      i got everything.. but how to do this if u want to imput values manually from code.. and not take them frm the user

    •  7 років тому +1

      Well actually this is a normal learning process. Repetition is the learning itself. For instance, I still don't know the inner details of a simple SetOnClickListener method. However I remember what it does and how to code it.

    • @augustosantos7157
      @augustosantos7157 6 років тому

      The goal of the tutorial is just teach you how to work with SQLite Database. Others things won't be detailed.

  • @Dineshkumar-gj5bk
    @Dineshkumar-gj5bk 7 років тому

    Sir i have seen almost all your videos related to android. I have an request please attach all the codes with videos.. You are great thanks...

  • @scottmartens2102
    @scottmartens2102 6 років тому

    I think this is a great video. One question. How would you do this with Fragments? I got to the part on adding an Activity object to the BackgroundTask and this is where the tutorial hit a wall for me. Cannot find a way to create a fragment object like you did for the Activity object so I cannot reference the listview.

  • @ashish281011
    @ashish281011 9 років тому

    Sir i am working on a project in which i am reading the data from the sql database using json into the listview with great help of your videos but i have to make a shopping cart that will change dynamically as the user selects the products....m a beginner right now so and sugesstion or a video on developing cart would be very helpfull...thankx for excellent work and support..:))

  • @sebastiandiaz780
    @sebastiandiaz780 9 років тому

    sir, excellent videos, I wonder if you can make a video that you show how to encrypt an sqlite database in android

  • @mbuleloteddy948
    @mbuleloteddy948 9 років тому

    Greetings Mr.Prabeesh, your videos are very informative. I have a problem, when I create an Empty Activity of display_product_layout, i don't have the option, I see other options like ''Blank Activity". Please help.

  • @AbdullahJirjees
    @AbdullahJirjees 5 років тому

    Dear sir, thanks for the video, the class BackGroundTask can you share the code for it, it is not clear and also the DbOperations.

  • @jaymealves6414
    @jaymealves6414 7 років тому

    Hello Prabeesh,
    thank you for the tutorial, it helped me a lot. But I have one problem in my cody, I couldn't find where you declared the display_listview in method get_info in BackgroundTask class, I have an error occurring by that. can you help me?
    thanks from Brazil!

  • @sauravbhagabati7262
    @sauravbhagabati7262 6 років тому

    hey PRABEESH thanks a lot for this video. but can u help me out on how to insert header to this list view while displaying data from sqlite database using asyncTask

  • @aslam3161
    @aslam3161 7 років тому +15

    You always make simple to hard

    • @ahmadkhokhar8410
      @ahmadkhokhar8410 5 років тому

      i agree with you

    • @jayantsahu6231
      @jayantsahu6231 5 років тому

      @@ahmadkhokhar8410 bro first learn then tell do u even know what is android

    • @ahmadkhokhar8410
      @ahmadkhokhar8410 5 років тому

      @@jayantsahu6231 sounds funny!

    • @jayantsahu6231
      @jayantsahu6231 5 років тому +1

      @@ahmadkhokhar8410 sir may be u will be a genius but u can't tell anything on anyone who is giving knowledge

    • @ahmadkhokhar8410
      @ahmadkhokhar8410 5 років тому

      Give tine to your grammar then come to teach me Android

  • @raffygumangannet
    @raffygumangannet 6 років тому

    Hi, this is great tutorial. Can you make a tutorial for Displaying DB from drawable into listview using Kotlin? Im stuck from that one.

  • @fontanagianpaolo
    @fontanagianpaolo 9 років тому

    Hi PRABEESH R K, I've a problem with a project that I've create.
    This project is an external phone book that picks up the phone number and description from a database that I created by SQLite Database Browser.
    I can take and display the data on listview but only on Android Studio!
    When I try to run the emulation in my smartphone (or I create and install the apk file) appears an error message that says: "The application is locked abnormally"
    what's happen in your opinion?

  • @harsh2114
    @harsh2114 7 років тому

    Thank you so much sir. Just because of this video i have completed my project but if i want to delete that particular row inside that list view, what should do for that? Please help me I tried many ways but nothing is working : (

  • @Sport-word
    @Sport-word 6 років тому +2

    please make a video how to search the list view

  • @lombertiniabdoul8934
    @lombertiniabdoul8934 6 років тому

    hello PRABEESH, do you know how to add a second tables in the database and to do a join....please help me

  • @miyawakizones
    @miyawakizones 7 років тому

    Great tutorial! Would you mind adding a tutorial about displaying data from database but this time, with images (blob)? It would mean a lot.

    • @armandoameer1361
      @armandoameer1361 3 роки тому

      i guess it is kind of randomly asking but does anyone know a good website to stream new movies online ?

    • @mauriciojack1728
      @mauriciojack1728 3 роки тому

      @Armando Ameer Flixportal :D

    • @armandoameer1361
      @armandoameer1361 3 роки тому

      @Mauricio Jack thanks, I signed up and it seems like a nice service :D I appreciate it!!

    • @mauriciojack1728
      @mauriciojack1728 3 роки тому

      @Armando Ameer no problem :)

  • @rikticksrimani8979
    @rikticksrimani8979 9 років тому

    Suppose i make a application which provide news and which connect on local Host database,then publish it on Google play store..now after publishing i want to update news every day..now i want to know there is any way to update or change information from database and this change or update news will show on user's device in my app which is already install..??

  • @mimikikaygarcia2307
    @mimikikaygarcia2307 8 років тому

    this tutorial helped me A LOT. thank you VERY MUCH kind sir!! you the bomb!!!

  • @gokulvelu
    @gokulvelu 7 років тому

    Sir, while using the OnItemClickListener on the listview returns object (com.gokul.package.MyPackage@ff44es) not the String on the listView which I clicked. So please let me know how to retrieve the exact string in the listview. I have only one column in the listview but I have multiple row in the list. please help me sir.

  • @Sol_Naif
    @Sol_Naif 6 років тому

    Hi: The explanation is great how can I view data as a PDF file

  • @bandaruyeswanth1083
    @bandaruyeswanth1083 8 років тому +4

    sir please post the source code of this tutorial

  • @abirca93
    @abirca93 8 років тому

    Hi I can do a favor I want to make an application, I have a database in Mysql, based tien the field name, price and image, open the application I want you to show me everything I have in the database three fields listveiw small and clicking on an image takes you to another screen displaying image information with the same field (name, precione and image). could make a tutorial with these requirements thanks

  • @bhaskarpasupula7514
    @bhaskarpasupula7514 8 років тому

    Sir Plz provide class for item search using AsyncTask
    Thanks In advance

  • @sorinaion1365
    @sorinaion1365 4 роки тому

    Hello Sir, would you please make a video about how to import an extrenal database in Android, then display it in RecyclerView !
    Thank you !

  • @hmodexl
    @hmodexl 8 років тому +8

    my mind is burning

  • @mohitmishra2150
    @mohitmishra2150 4 роки тому

    Very Good Tutorial 👍
    But I need some more info about, How I Can Display Data With Grouping Of Date added🙂🙂🤞

  • @marveyjameselman6128
    @marveyjameselman6128 8 років тому

    Can you make a tutorial that makes the list items clickable? like it goes to another activity along with the components inside that specific row.

    • @Oonsk051
      @Oonsk051 8 років тому

      use an onClickListener, start an intent inside of the onClick() and pass the contetnts as extras!

    • @marveyjameselman6128
      @marveyjameselman6128 8 років тому

      +Oonsk051 thnks but I already made my app weeks ago. haha

    • @alexayso4860
      @alexayso4860 8 років тому +1

      newbee here. how to make the list clickable then go to another activity with all the data. hope someone can help. thanks.

    • @beautifulgirlmage
      @beautifulgirlmage 8 років тому

      I believe you gotta use onItemSelect

  • @maithilisangvikar9328
    @maithilisangvikar9328 8 років тому

    How to add horizontal and vertical scroll view in display_product_row.xml if multile textview and multiple table data?

    • @jaishishlamba
      @jaishishlamba 7 років тому

      did u find any solution? i have the same problem

  • @aham3687
    @aham3687 8 років тому

    Helpfull tutorial. Thanks man.

  • @adharvansaij6568
    @adharvansaij6568 7 років тому

    Awesome Tutorial! Could you please provide us with the source code!!

  • @ramoninfante3072
    @ramoninfante3072 7 років тому

    Sir, please create tutorial when you click Item in ListView you can get data from that item you click. :D

    • @PRABEESHRK
      @PRABEESHRK  7 років тому

      +Ramon Infante Most of the methods associated with the ListView class is now deprecated. Go for RecyclerView instead.

    • @ramoninfante3072
      @ramoninfante3072 7 років тому

      ok sir, thank for the information. (y)

    • @ramesh.programming
      @ramesh.programming 5 років тому

      Use.... onItemClickListner ....

  • @puthiyavan_in4399
    @puthiyavan_in4399 8 років тому

    can u please send me the link for this previous tutorial sir ??

  • @gailindia7252
    @gailindia7252 5 років тому

    Sir how to insert checked check box values of recycler view into sqlite
    dB table

  • @HyperActive94
    @HyperActive94 4 роки тому

    thnx for this amazing part 2

    • @HyperActive94
      @HyperActive94 4 роки тому

      Notes to myself:
      1. Create custom single row item for ListView @ 01:15
      2. Create The "Display Products" Class and XML that contains the ListView @ 05:37
      3. Add "onClick" method for the "View Products" Button - "displayProducts" and create this method in MainActivity @ 07:40
      4. Create AsyncTask object in DisplayProducts Class and execute it @ 09:00
      5. in the "doInBackground" method check if the String "method" is "get_info" @ 09:50
      6. Add new method "retrieveInformation" in the DBHelper class @ 10:17
      7. Use the method above in the "doInBackground" method if String method is "get_info" @ 12:50
      8. Create A Model Class for 1 Product @ 14:00
      9. Create Adapter for the ListView (to store the data from the cursor there) @ 15:53
      10. in the "get_info" method ("doInBackground"), Retrieve the data from the cursor to create Product Objects @ 17:37
      11. set the "onProgressUpdate" method to add the Product object (that was created above) to the "add" method in the Adapter @ 20:33
      12. set the "onPostExecute" method in the AsyncTask class @ 24:27

  • @shubhammundra3049
    @shubhammundra3049 7 років тому

    I coded each and every step in the android studio and installed the app, after clicking any of the two buttons app is automatically stopping, what is wrong please help!!

  • @teamcuan2806
    @teamcuan2806 7 років тому

    hello sir, do you can upload tutorial about post like dislike and comment in cardview

  • @mobilepaynowbusinesssoluti2204
    @mobilepaynowbusinesssoluti2204 6 років тому

    Sir,
    Please upload tutorials regarding Recharge app development.

  • @alisher.sabirov
    @alisher.sabirov 8 років тому

    Thanks MR. Prabeesh

  • @mubasharali4502
    @mubasharali4502 5 років тому

    Sir your lecture is great but when i create database database_name-shm and and databasename-wal file created insetead of .db and journal database file how i solve this problem.

  • @БоряРасулов-в4я
    @БоряРасулов-в4я 8 років тому

    can you show the link to download ?
    maybe at github can i find ?

  • @shaguftakhanum4520
    @shaguftakhanum4520 6 років тому

    where is the previous video plz tell me

  • @minatalaat7268
    @minatalaat7268 6 років тому

    I didn't watch the video yet but this isn't easy or it's just me
    I mean my level in Java is not bad I understand how OOP works but this is very complicated right?

  • @jlkun5918
    @jlkun5918 2 роки тому

    can i display a specific data when username is called?

  • @aldden1983
    @aldden1983 4 роки тому

    hello sir fan of you I just have one request can you one like this for sql server thank you very

  •  6 років тому

    where can i see the code or get it of BackGroundTask

  • @Sport-word
    @Sport-word 7 років тому

    pls how can i display it out on a table
    i want the data to be arranged in a table not in list view

  • @aqaqzxcvcool7384
    @aqaqzxcvcool7384 8 років тому

    i am new to android world, you used getter setter and async which is not told in your SQLite video. its in just phrase of second.
    please upload with security so that one can see it and understand it.
    like me
    i am new thats why i am telling.

  • @ImproVice
    @ImproVice 5 років тому

    what's in the ProductContract Class

  • @БоряРасулов-в4я
    @БоряРасулов-в4я 8 років тому

    How can i download this your project and full code resource ?

  • @imranakhtar4640
    @imranakhtar4640 7 років тому

    Dear Sir, You are casting Acitivty to get List View in Asynctask just like this;
    private final Context ctx;
    ProductAdapter productadapter;
    ListView listView;
    Activity activity;
    public BaackgroundTask(Context ctx) {
    this.ctx = ctx;
    activity = (Activity) ctx;
    }
    I wanted to know that how to cast fragment in asynctask ??
    private final Context ctx;
    ProductAdapter productadapter;
    ListView listView;
    Fragment fragment;
    public BaackgroundTask(Context ctx) {
    this.ctx = ctx;
    fragment = (Fragment) ctx; // Error is here
    }

  • @dreamescence
    @dreamescence 8 років тому

    thanks sir, that really helped alot

  • @TheLaluv12
    @TheLaluv12 4 роки тому

    why all the videos about retrieving data is through listview? can you make a tutorial about retrieving data ang populate to a textview?

  • @aaronborras1751
    @aaronborras1751 8 років тому

    Can you show your manifest?

  • @sweetswathi5508
    @sweetswathi5508 6 років тому

    I am a beginner and this code really didn't help me. I was halfway through the video and then i see that the DbOperations code is not fully shown. Neither a link is given in the box :(. I am unable to proceed forward.

    • @PRABEESHRK
      @PRABEESHRK  6 років тому

      I have some latest video on this topic. Please check my new androd tutorial series

    • @sweetswathi5508
      @sweetswathi5508 6 років тому

      is there any video which would teach me how to make connections to database and then retreive data?

  • @rikticksrimani8979
    @rikticksrimani8979 9 років тому

    can you make this type tutorial??

  • @yasrabmemon401
    @yasrabmemon401 4 роки тому

    God Bless you Sir....Please provide source code

  • @darkman237
    @darkman237 6 років тому

    Wouldn't price be a double?

  • @brianpratama8167
    @brianpratama8167 8 років тому

    can i get DbOperation source code?

  • @slobom.6744
    @slobom.6744 6 років тому

    Thanks a lot, it worked :)

  • @himanshusrivastava8653
    @himanshusrivastava8653 8 років тому

    why are you take it----display_product_row.xml

  • @Oonsk051
    @Oonsk051 8 років тому

    Loved this video! source code please :(

  • @halimahamouchi9776
    @halimahamouchi9776 7 років тому

    can i get source code, please help me.

  • @JahnaviJoshi-ui5on
    @JahnaviJoshi-ui5on 5 років тому

    Source Code is available or not of available then plzz send me

  • @Amanchouhan143
    @Amanchouhan143 8 років тому

    Thanks You sir......

  • @aqaqzxcvcool7384
    @aqaqzxcvcool7384 8 років тому

    mr pra*.*
    your facebook id is not working i tried to go to your facebook link, its always giving error.
    you work as free lancer but you putted incomplete video.
    sorry for telling this but its facts

  • @senabayraktar8677
    @senabayraktar8677 8 років тому

    I wish you could share the source code

  • @velladhurai9846
    @velladhurai9846 6 років тому

    sir ..pls send the code ....

  • @israadaoud8579
    @israadaoud8579 9 років тому

    Hallo, can you send source code to me ???

  • @jss3437
    @jss3437 8 років тому

    Can you please add the source code??

  • @jayasrigurrapu5275
    @jayasrigurrapu5275 7 років тому

    can i get source code

  • @jiteshwagh1197
    @jiteshwagh1197 7 років тому

    source code url please provide

  • @Gajenzask
    @Gajenzask 9 років тому

    Nice!!

  • @bhagyashrichaudhari4550
    @bhagyashrichaudhari4550 4 роки тому

    Plzzzzz provide source code of project

  • @walterp7125
    @walterp7125 9 років тому

    good!

  • @kbryanolan
    @kbryanolan 5 років тому

    I just want to throw my phone

  • @TheScorbon
    @TheScorbon 6 років тому

    full of rubbish things better dont follow this .

  • @ariespadilla3706
    @ariespadilla3706 5 років тому

    Waste of time