19 - Remember Me in Android using Shared Preferences (Sessions) 2022

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

КОМЕНТАРІ • 95

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

    For App Development:
    Whatsapp: wa.me/+923060000606​
    Instagram: instagram.com/coding_with...​
    Twitter: twitter.com/coding_with_tea/​
    Facebook: facebook.com/codingwithtea/​
    Email: developer@taimoorsikander.com

  • @pranavkadam18
    @pranavkadam18 4 роки тому +1

    You explain very well. We are always waiting for your next uploads.
    Keep teaching like this.
    Love from India ❤️

  • @apoorvaranjan2328
    @apoorvaranjan2328 4 роки тому +1

    Why do we have to enter the details eventually - manually or by using sessions?
    Can't it be like we click on '+' button on UserDashboard Screen and the RetailerStartUp Screen with LOGIN and SIGN UP buttons doesn't appear at all if we are already logged into the system and we automatically move to RetailerDashboard Screen.
    Why do we have to go through the login process again and again, even if we're not entering the phone and password manually and doing it by sessions, still it is a bit tacky to go through the login page. Why not directly to Dashboard if already logged in?

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

      Buddy! Please check my video on Sessions and in that I have already created a function which is checkLogin() and we will call this function from dashboard + and check if the user is logged in or not! If not then redirect to login.

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

      @@CodingwithT Yeah, but in that case too, we have to go through the RetailerStartUpScreen, because we're only checking for login status using checkLogin() in dashboard which we'll reach only by going through RetailerStartUpScreen. Check this once again!

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

    Thx a lot. You are a good teacher. Love from morocco😇

  • @pradipdkl
    @pradipdkl 4 роки тому +1

    When this project gonna complete? My last submitting date will coming too soon.

  • @tejrajkhanvilkar4397
    @tejrajkhanvilkar4397 4 роки тому +2

    Such a great app 😍..sir can you please tell me how to create such animation videos which you have used at start of this video .

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

      Yes all the links are given below in the description! You can start with city guide app series

  • @gamasetiawan
    @gamasetiawan 2 роки тому +1

    Bro, can you make tutorial to user dont always have to log in, user only login when user logout?

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

      Bro I've already created that video please check shared preference of this series

  • @Mustafamustafa-mi6ux
    @Mustafamustafa-mi6ux 4 роки тому

    am getting this error msg
    error: constructor SessionManager in class SessionManager cannot be applied to given types;
    required: Context,String
    found: RetailerDashbored
    reason: actual and formal argument lists differ in length

    • @Mustafamustafa-mi6ux
      @Mustafamustafa-mi6ux 4 роки тому

      public SessionManager(Context _context,String sessionName) {
      context = _context;
      userSession = context.getSharedPreferences(sessionName, Context.MODE_PRIVATE);
      editor = userSession.edit();
      this is my class

  • @moulichowdary4330
    @moulichowdary4330 4 роки тому +1

    Please make a video on bottom navigation bar...

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

    Please make a video for one time login and the another time display profile activity how to do that? Please reply

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

    Hey bro mind if you explain how can we retrieve item details after clicking the item from firebase

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

    sir how i can logout
    and clear both sessions

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

    I've 2 type of users in my application, I want to store their details whoever logged in. I think the process is same as you did in this video. I don't need remember me, instead I just want to store 2 different users data accordingly.
    I did exactly what you showed, but in the end only first user's data is storing to shared preference. When the other type of users log in, it' just getting null values.

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

      Well, I've to check your code for that.

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

    I really love your videos I have been looking for a way to build a kind of tour guide all for my state and this designs helped me through..
    Pls I followed your tutorials but I couldn't find where you did the search location page, the insertion of details page of single location for the users and for the location owner dashboard u only did signup and login...no dashboard,profile,adding of missing place and managing reviews

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

      Glad I could help! and if you are following the series then you might missed the first overview video as I explained that how will be the flow. So, After this video all the videos will be about dashboard and getting location and managing it etc.
      Check it out ua-cam.com/video/lrvmdRW7rzw/v-deo.html

  • @naveendgp91
    @naveendgp91 2 роки тому +1

    what about the make selection activity

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

      Means? Didn't get you

    • @naveendgp91
      @naveendgp91 2 роки тому +1

      @@CodingwithT actually you created a activity called "make selection" in which user can select wheather to recieve otp from email or via sms

    • @CodingwithT
      @CodingwithT  2 роки тому +1

      @@naveendgp91 That is to give an option to the user to choose all the methods our app has to validate the user account. If you have only one way then adding that screen might be not a good approach.

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

      @@CodingwithT okay 👍

  • @visu4225
    @visu4225 4 роки тому +1

    How to push update notification for app, which is not in playstore

    • @CodingwithT
      @CodingwithT  4 роки тому +1

      We can do that using firebase! Will create a video on it soon

  • @ainanaziehah8300
    @ainanaziehah8300 4 роки тому +1

    Sir sorry . Where the validate fields coding tutorial ? . I watch all the video but could not find one . Sorry sir

  • @pranavkadam18
    @pranavkadam18 4 роки тому +1

    Can you make it to remember user once logged in?
    Like once user is logged in and comes back then he/she doesn't have to enter details or even click login button. He/she will be logged in unless user logged out manually?

    • @CodingwithT
      @CodingwithT  4 роки тому +1

      Using previous video tutorial of sessions you can do that by just calling the function checkLogin() and if it returns true then get all the values stored in session and directly redirects to the Dashboard or profile

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

      @@CodingwithT
      Understood.
      Thanks for quick replies.

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

      but where to use checklogin() function on splashscreen and how to add if else on it
      if(check login() user logged in){
      }
      else{
      }

    • @filmvids5596
      @filmvids5596 2 роки тому +1

      @@CodingwithT Thanks! I did the thing and all worked out perfectly! Really Thank you Sir I am glad u are on UA-cam!. You are the best teacher in the world

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

      @@WorkOps_IN bro do like this create sessionmanager variable, SessionManager manager = new SessionManager(this);
      then,
      if(manager.checkLogin){go to home}
      else{go to login}

  • @khalifasa4050
    @khalifasa4050 4 роки тому +1

    very good bro i appreciated but can you do a video about all (signup) for city guide firebase it will be awsome

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

    How can i contact you...i need little bit advice regarding android application.

  • @moulichowdary4330
    @moulichowdary4330 4 роки тому +1

    Can I know where you get those vector images

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

      Which one?

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

      Images in previous videos

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

      @@CodingwithT the one in splash screen

    • @apoorvaranjan2328
      @apoorvaranjan2328 4 роки тому +1

      @@moulichowdary4330 Bro, you can download your own illustrations. Download any illustration from undraw.co/illustrations
      You can also change their colors according to your need from that color button at top right corner.
      You can search for any illustration also using specific keywords.
      The illustration will be downloaded in svg (vector) format which you can directly use in android:src property of ImageView in android.
      P.S. : Try to use your own resources instead of asking from others.
      Hope that helps!

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

    Taimoor Bhai ek or help chaiye thi aapki....how to make filter like amazon if we click on filter button then fragment appears in which we select the brand name then amazon apk only shows us products of that brand only..

    • @hemkanttrivedi1040
      @hemkanttrivedi1040 4 роки тому +1

      and code for a fragment should appear on a button click and should disappears with the same button click it should appears on first click and should disappears with second click..... third_click(appears) fourth_click(disappear) likewise....

    • @CodingwithT
      @CodingwithT  4 роки тому +1

      Basically behind that fragment search they are just creating a query to fetch data and show related data to users!
      And for the button you can set boolean if true open fragment else close it

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

      Thank you i will try it in my apk

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

    When will the new video come out?

    • @CodingwithT
      @CodingwithT  4 роки тому +1

      Maybe from tomorrow onward I'll start Retailer dashboard!

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

    Hello sir when I store data in realtime databse it store only phone Number its does not store name date gender or etc why sir ?
    plzz help...

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

      Because these all values are null! Make sure that every attribute have something in it

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

      Every attribute has something in it means sir
      Which attribute??

  • @vaibhavjadiya9459
    @vaibhavjadiya9459 4 роки тому +1

    Where is your Source Code for this Tutorial , please update it in description :/

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

    Brother please make video on
    Get current location of user like food delivering app
    Love from India
    ❤❤❤❤

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

      In coming videos I'll create that

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

    Will you make series On converting website into app.!

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

    Bhai, Can you please make a video on IAB ( in app Billings, weekly, monthly, yearly) .

    • @CodingwithT
      @CodingwithT  4 роки тому +1

      Maybe in this tutorial series

  • @md.kh.s
    @md.kh.s 2 роки тому +1

    Can I get your code ? or Do u have github link?
    🙂

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

      U can get it from the link provided in the description

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

    Can you make videos fir messaging and send requests bro?

    • @CodingwithT
      @CodingwithT  4 роки тому +1

      Sure! Maybe in this series

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

      @@CodingwithT thank you for your effort

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

    Sir aapka mast work karte ho explain b out standing, aapse best UA-cam muje to koyi b nahi laga coding me but I m sorry to say muje aapke steps follow karne me bahut sare errors aa rahe hai... 100% aapke code ko copy karne ke baad b application work nahi kar raha

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

      Firebase auth wala video me hai error after doing SHA-1 still getting error as ur app is not authorised tried many tricks but got resolved after change code method with GitHub

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

    thanks man your are doing a lot?

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

    Thank you sebo

  • @amralaa7827
    @amralaa7827 4 роки тому +1

    we need Messaging and Notification with phone number bro , plz

  • @shehabbeshr4840
    @shehabbeshr4840 4 роки тому +1

    Please, where is the source code?؟؟؟؟؟؟

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

      Will be available back shortly.

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

      @@CodingwithT Well please hurry up 🙏❤️

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

      Do contact with me on Instagram

  • @TrAAMd
    @TrAAMd 4 роки тому +1

    How much money you take for an Educational App Review ?

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

      Please reach me at developer@taimoorsikander.com

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

    Thank you

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

    Thanks :)

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

    Sir mene ek question kiya he reply dedo watsapp per sir please

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

    Never store password plaintext in shared preferences

  • @moulichowdary4330
    @moulichowdary4330 4 роки тому +1

    Hii

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

    Waiting for response