SQLite Android CRUD: Adding Contacts to the Database | Android Tutorials in Hindi #26

Поделиться
HTML-код
  • Опубликовано: 26 ноя 2024

Комментарии • 105

  • @niteshjha1
    @niteshjha1 3 года назад

    Bhai mujhe samajh aaa raha hai bhaut acche se kyun ki mujhe thoda experience hai, thank you tutorials banane ke liye

  • @paramveerytt
    @paramveerytt Год назад

    Best explanation available on RUclips

  • @xmartzsaan8266
    @xmartzsaan8266 5 лет назад

    i recommend to all new one who wants to learn android or even how to code program
    you have to watch Harry's videos ... really very best videos and very good learning style, overall in internet learning video specially free.
    Thanks harry

  • @rahulsharma-hz1gb
    @rahulsharma-hz1gb 3 года назад

    harry bhai mann krta h 10000 accounts bana kr tumhari saari videos like kru...

  • @himanshusingrore5381
    @himanshusingrore5381 4 года назад +1

    the way u r teaching is suprb excelent...no words how sweetly u teach ...coding mai interest aata hai ese mai keep growing keep going soon reach to millions suscriber...

  • @adityaojha2701
    @adityaojha2701 3 года назад +2

    THANKSSSS FOR THIS AMAZINGGGGG PLAYLIST♥

  • @zomzhack
    @zomzhack 3 года назад +1

    Amazing back-end
    💕❤️💗💙💖😘😉👌👌

  • @deepanshusaini6242
    @deepanshusaini6242 10 месяцев назад

    your videos is very useful

  • @himmatjinjala4459
    @himmatjinjala4459 5 лет назад +1

    0 Dislikes Power of Harry bro
    Love you ❤️♥️💚💜💚💙💜

  • @alyasrahmani826
    @alyasrahmani826 4 года назад

    i love u bhai ,it's so nice... i am ur regular student.

  • @ahmadbaig5800
    @ahmadbaig5800 5 лет назад

    i always like your videos befor i watch it bro

  • @nikhilsaraswat5962
    @nikhilsaraswat5962 4 года назад

    Yes we are getting this.

  • @ramesh.programming
    @ramesh.programming 5 лет назад +1

    Going great keep it up and one request, how to view that table? How to access that db and see tables, what's going on there? Hope you will teach us.

  • @harsh9558
    @harsh9558 4 года назад

    Sir thx a lot for these videos

  • @karunaS1906
    @karunaS1906 4 года назад

    Thanks for these important videos...

  • @engineerbhai7642
    @engineerbhai7642 5 лет назад

    You are best

  • @yogeshpatil-ov8dp
    @yogeshpatil-ov8dp 4 года назад

    thanks bhai..

  • @youmooradesigns2929
    @youmooradesigns2929 5 лет назад +1

    Please make one video on video share app

  • @sohaiqbal30
    @sohaiqbal30 Год назад

    I was also having a problem getting the "Successfully inserted "message in my logcat . Searched for every possible error but no result. Finally understood where I made a mistake . My query syntax was wrong.
    Here is the one that worked for me ;)
    String create = "CREATE TABLE " + params.DB_TABLE + "(" + params.KEY_ID + " INTEGER PRIMARY KEY," + params.KEY_NAME + " TEXT , " + params.KEY_PHONE + " TEXT " + ")";
    ( I was missing some commas in my previous one while the above one worked )

  • @durgeshsharma881
    @durgeshsharma881 5 лет назад

    Very nice

  • @sushenitagi5989
    @sushenitagi5989 4 года назад

    Thank u Sir

  • @ruchirabharadwaj
    @ruchirabharadwaj 5 лет назад

    Tnx a lot brother

  • @anshuvishwakarma6020
    @anshuvishwakarma6020 5 лет назад

    Good.

  • @priyashishkhare
    @priyashishkhare 5 лет назад +3

    What if I already have a huge table ready in my PC in any format and I want to work on it. Searching, displaying records and other CRUD operations !!!

  • @victorb22622
    @victorb22622 8 месяцев назад

    13:55 harry मुझे लगता है आईडी 0 0 आई इस लिए की आपने id इंसर्ट कराई ही नही ,लेकिन id is primary key , तो वो तो कंपल्सरी होगा की id insert करनी ही होगी वरना us data raw ki वैल्यू (name, phone number ) add ही नही करने देगा।इसने add करने दिया ,मतलब id automatic add हो ही गई है और वो 0 से स्टार्ट हुई तो दोनो ने 0 आया।द्वारा डाटा डालोगे तो 1,1 आयेगा

  • @syscreeper4376
    @syscreeper4376 3 года назад

    Contact set krne se accha Contructer bana lete tino ekbar mai hi dalo , DRY principle

  • @raza-abbas37
    @raza-abbas37 5 лет назад

    Nice

  • @ahmadkakarr
    @ahmadkakarr 5 лет назад

    Please mode in depth aur advance video bnaen aur thori lengthy

  • @ByteCodeHub
    @ByteCodeHub 3 года назад

    bro please ek login details or new registration vala app bnao jisme hm data apne database m store kr ske

  • @twinbook9025
    @twinbook9025 5 лет назад +3

    Help me!! .exe ka database or android .apk dono ki connectivity ek hi database ke sath kese kare ki ek databse dono mai kaam aa jaye??

  • @smitkalsa6148
    @smitkalsa6148 5 лет назад

    Plzz make a video on WiFi calling app

  • @asifsiddiquicjc5293
    @asifsiddiquicjc5293 3 года назад

    log.d compulsory hai kya?

  • @omkarparade3469
    @omkarparade3469 4 года назад +6

    Harry bhai in the logcat only this
    "Query being run is " msg display

  • @talhaashfaq3132
    @talhaashfaq3132 5 лет назад

    Harry bahi next video of sqlite??

  • @247killer9
    @247killer9 2 года назад

    How can I take user input and store in sqlite database
    Also I see mydatabase handler and how can I use addUser method in main activity to store data

  • @trendingdhamaka7835
    @trendingdhamaka7835 5 лет назад

    sir please teach us how to create hd wallpaper app with web hosting

  • @navalkumarshukla9447
    @navalkumarshukla9447 4 года назад +1

    When we run the app the second time, it doesn't show "Query is CREATE TABLE...." (Table creation query) in the logcat, WHY? Is it because that a table is only created when we run it the first time, if yes then does it contain 4 contacts now (1 - Harry when we run it the first time, and 3- Harry, Larry and Tehri when we run it the second time)? Please reply.

  • @victorb22622
    @victorb22622 8 месяцев назад

    8:51 ये database कोन से location मे बनेगा ,और इनको externaly केसे acess करेंगे।

  • @vivekbhuva4802
    @vivekbhuva4802 Год назад

    bhai flutter series kyu nahi ka rhe itna popular hone ke bad bhi ?

  • @jaikathuria6216
    @jaikathuria6216 11 месяцев назад

    why we are not using XAMPP server to create data base

  • @technohub7076
    @technohub7076 5 лет назад

    Java pe oop concept par video

  • @codewithsheri
    @codewithsheri 4 года назад

    Love from cross border pakistan

  • @sumitchawla9362
    @sumitchawla9362 4 года назад

    👌👌👌👌👌

  • @muhammadali-cv3uq
    @muhammadali-cv3uq 4 года назад +4

    when i m running and opening logcat, after searching i m not getting any results? why this so happened?

    • @codeRajeshPal
      @codeRajeshPal 3 года назад

      same with me bro had you got the solution?

  • @v.s3101
    @v.s3101 2 года назад

    I'm facing problem it's showing dbDemo(app) has stopped working whenever i running emulator also in logcat I'm getting "query being run is : CREATE_TABLE contact table....." But in this video harry is getting succesfully inserted

  • @anusrutadutta2124
    @anusrutadutta2124 4 года назад +1

    Database Create kaha kiya, Data base ke table ko kaha se access kare?

  • @RohanDasRD
    @RohanDasRD 5 лет назад

    dBm is fun

  • @MalikGames524
    @MalikGames524 4 года назад

    Harry bhai yr rehnumai kro logcaat main srf table create ho raha

  • @rajivmandal4992
    @rajivmandal4992 4 года назад

    on create method of mydbhandler class is not called......

  • @mshahid170
    @mshahid170 4 года назад

    Harry bhai, if we want to call the constructor with two arguments then how we call from the main activity?

  • @umeshdangrecha4090
    @umeshdangrecha4090 5 лет назад

    👍

  • @shubhamdarge2267
    @shubhamdarge2267 4 года назад +4

    Bro I am not getting that successfully inserted message in the logcat. Followed all your steps..

    • @jaydipchavda694
      @jaydipchavda694 2 года назад

      same bro did you get how to solve this problem

    • @v.s3101
      @v.s3101 2 года назад

      Even i am facing same issues

    • @v.s3101
      @v.s3101 2 года назад

      @@jaydipchavda694 did u get the answer??

    • @jaydipchavda694
      @jaydipchavda694 2 года назад

      @@v.s3101 no bro

  • @muhammadizazkhattak4238
    @muhammadizazkhattak4238 4 года назад +1

    error : dbDemo app has stopped. plz help me...

  • @akshitkumarsharma1270
    @akshitkumarsharma1270 4 года назад

    If I make apk and run this app in my phone then how the data will be saved in backend?

  • @narayandhingra6921
    @narayandhingra6921 4 года назад +1

    getting errors how can i resolve them?

  • @GHULAMABBAS-pe4dj
    @GHULAMABBAS-pe4dj 4 года назад +1

    db.addContact(harry); throw an run time error and application did not run. What the problem does occur ?

    • @avdhootgole2773
      @avdhootgole2773 7 месяцев назад

      Did u got any solution? I have same problem (ik it's too late)

  • @bhanuexcalibur
    @bhanuexcalibur 4 года назад +1

    sbse latest version mai ye CRUD ka saara verison kaam hi nhi kr rha hai..
    example isme sirf "query being run is " hi dikh rha hai
    aur next video mai contact add ho rha hai..

  • @groanvoy
    @groanvoy 4 года назад

    Bro Tik tok ki app bana bataoo

  • @yugant7572
    @yugant7572 3 года назад

    Having error stating- table contacts has no column named name
    then go to params class and update contant_db to contacts_db and contact_table to contact_tables

  • @Ashishsingh-oo2ve
    @Ashishsingh-oo2ve 3 года назад

    I not getting same message as you as I am getting something extra like table_contact _table (I'd INTERGER PRIMARY KET ,NAME. ALL THESE STUFF TOGETHER WITH successful message

  • @shivanipaswan5657
    @shivanipaswan5657 3 года назад

    seriously i want to say literally I like your videos but i don't know why I am not able to understand anything even I know the java little bit

  • @oscarrenan
    @oscarrenan 2 года назад

    The records can have, in the same database, a url of the web image and make a listing, using a cardwiew with the records and associated image, looking for the image of the url to show next to each record ? answer so I can see doing this I'm in an internship and they asked me for an app with this and I can't find how to do it even in the manual, someone must have kept a secret about it. Not even andoid means how to do it lol

  • @beasty007
    @beasty007 4 года назад

    bhai sqlite data b local disk me hi store hora hai na? bhai isko server p kaise store kre?

  • @PoonamYerpude
    @PoonamYerpude Год назад

    While running your same code, i am facing the problem in "successfully inserted"message in database. only database created query is running but can not able to insert data successfully. Query being run is:CREATE TABLEcontacts_table(idINTEGER PRIMARY KEY, nameTEXT,phonenumberTEXT,) its showing the app has stopped and open app again .

    • @deva142
      @deva142 Год назад

      need to make space before and after TEXT.

  • @asifahmed1230
    @asifahmed1230 4 года назад

    What if i have 2 tables in my db? Do i need to create a separate model class and params class?

  • @harshvardhanomar6574
    @harshvardhanomar6574 4 года назад +1

    sir database add hone me logcat me error aa raha hai pura code dekh liya same hai then also same problem any solutions??

  • @jivanmainali1742
    @jivanmainali1742 5 лет назад

    Sir in my case onCreate method is not called for database creation

    • @bhanugaminggameplayfactsan2774
      @bhanugaminggameplayfactsan2774 4 года назад +1

      Bhai ye problem hui kya solve tumhari ager ho gayi ho to kaise hui

    • @jivanmainali1742
      @jivanmainali1742 4 года назад

      @@bhanugaminggameplayfactsan2774 bro it is called only once database is created if u face same problem then uninstall app and install once again. For the first time this is called

    • @bhanugaminggameplayfactsan2774
      @bhanugaminggameplayfactsan2774 4 года назад +1

      Yaah after i asking you i searched on google and i got the same solution that the onCreate is called only once while first installing the app
      Thanks a lot Jivan for your response

    • @bhanugaminggameplayfactsan2774
      @bhanugaminggameplayfactsan2774 4 года назад +1

      Yaah bro
      Of course...

  • @sunnychaudhary9834
    @sunnychaudhary9834 4 года назад

    Harry bhai after compeletion only one line is showing in logcat query is being run rest contacts are not showing wht to do?

    • @v.s3101
      @v.s3101 2 года назад

      Did u get the answer bro

  • @nawashankarkumar1289
    @nawashankarkumar1289 5 лет назад

    In

  • @mustafarasheed7289
    @mustafarasheed7289 4 года назад

    SQLiteDatabase dbs = this.getWritableDatabase();
    this line is causing app to crash idk why

  • @surbhibansal2286
    @surbhibansal2286 4 года назад

    Sir apka ye SQLite database run krne p
    Phone mai dbDemo has stopped aa rha hai
    Eske lye kya kare

    • @shaikhrazia7070
      @shaikhrazia7070 4 года назад

      solve howa h kya tumhara error mujhe bhi same error hai

    • @the5armad
      @the5armad 4 года назад +1

      @@shaikhrazia7070 because humara int id =null hai.- mera bhi yahee issue tha.
      Delete app data or change the dtabase name in params and run again..

    • @abhikhandelwal8253
      @abhikhandelwal8253 3 года назад

      @@the5armad after changing the data base name in params it's still give the same error

  • @adityabharambe1644
    @adityabharambe1644 4 года назад

    "android.database.sqlite.SQLiteException: table expense_table has no column named date (code 1 SQLITE_ERROR): , while compiling: INSERT INTO expense_table(date,amount,exp) VALUES"
    What should I do about this error in Logcat? It won't insert "Amount" columns data in the table
    Here is my code for creating table:-
    String exp_create = "CREATE TABLE " + Parameters.TABLE_NAME + " (" + Parameters.EXP_ID + " INTEGER PRIMARY KEY," + Parameters.EXP_NAME +
    " TEXT, " + Parameters.EXP_DATE + " TEXT, " + Parameters.EXP_AMT + " TEXT" + ") ";

    • @deva142
      @deva142 Год назад

      String exp_create = "CREATE TABLE " + Parameters.TABLE_NAME + " (" + Parameters.EXP_ID + " INTEGER PRIMARY KEY, " + Parameters.EXP_NAME + " TEXT, " + Parameters.EXP_DATE + " TEXT, " + Parameters.EXP_AMT + " TEXT" + ") ";

  • @TechnicalAkshay
    @TechnicalAkshay 4 года назад +1

    ghanta kuch samj nhy aa raha pata nhy logo ko kaise aa raa he
    Edit - after 6 days of learning SQL uhum haa ab aa raha he samj me

  • @bhuvneshjangid9138
    @bhuvneshjangid9138 3 года назад

    db.addcontact(Harry)
    Is giving UI not responding , please anyone solve this issue

  • @youmooradesigns2929
    @youmooradesigns2929 5 лет назад

    Please make one video on video share app

  • @muhammadizazkhattak4238
    @muhammadizazkhattak4238 4 года назад +2

    Harry bhai in the logcat only this
    "Query being run is " msg display