How To Properly Handle Permissions in Android

Поділитися
Вставка
  • Опубліковано 11 жов 2024
  • Get my premium course to build industry-level Android apps & Ktor backends. 🚀
    ahmed-guedmiou...
    And take your skills to the next level and become ready for the Android industry ✅
    This video shows you they way you should handle requesting permissions in your Android app, covering use cases when users denies to allow them one time or more. Along with requesting one and multiple permissions.
    Follow me on Instagram:
    / ahmed_guedmioui
    #kotlin #androidstudio #jetpackcompose #java #mobiledevelopment #androiddeveloper

КОМЕНТАРІ • 17

  • @ahmed_guedmioui
    @ahmed_guedmioui  2 місяці тому

    Get my premium course to build industry-level Android apps & Ktor backends. 🚀
    ahmed-guedmioui.thinkific.com/courses/build-industry-level-apps-and-ktor-backends
    And take your skills to the next level and become ready for the Android industry ✅

  • @LuisDanielMartinezBarrios
    @LuisDanielMartinezBarrios 5 місяців тому +3

    Just wanted to drop by and say your Android and Jetpack Compose videos are top-notch! Your dedication shines through, even if the views don't always reflect it. Keep up the fantastic work; you're making a real difference in the developer community. Looking forward to more great content from you!

    • @ahmed_guedmioui
      @ahmed_guedmioui  5 місяців тому +1

      Thanks for your kind words, 🙏
      I do this in one hand to help others and on the other hand to learn more stuff, because there isn't better learning than teaching 😁
      I also don't care about views 😅

  • @riccardomaino
    @riccardomaino 5 місяців тому +3

    Thank you very much bro❤ What about a video on Location Data and the Maps SDK. There isn't an updated video on UA-cam. Probably there a lot of people interested in that

  • @henrik908
    @henrik908 5 місяців тому +3

    Woww I remember I requested you to make a video on permissions and you did it as you said thanks ❤❤.

    • @ahmed_guedmioui
      @ahmed_guedmioui  5 місяців тому +1

      Not to disappoint you but I recorded this video before you asked 😭

    • @henrik908
      @henrik908 5 місяців тому

      @@ahmed_guedmioui you broked my heart 💔😭😭.

  • @parth3075
    @parth3075 7 днів тому

    Just perfect, thanks man! Also what is the theme that you are using? Looks neat!

  • @engineerOne
    @engineerOne 5 місяців тому +1

    Here we go again 🔥❤

  • @vrindavankiras
    @vrindavankiras 4 місяці тому

    Thanks a lot man! 😊

  • @cocwarandloot4101
    @cocwarandloot4101 5 місяців тому

    Great video

  • @mehdiTiny
    @mehdiTiny 5 місяців тому

    Perfect! Thanks

  • @lucasianii8178
    @lucasianii8178 5 місяців тому

    Hi sir, are able to develop Bluetooth BLE apps?

  • @szurriaga
    @szurriaga 5 місяців тому

    why my checkSelfPermission needs a (context, string) and shouldShowRequestPermissionRationale needs a (activity, string) are you using any librray or its just the compose version?

    • @szurriaga
      @szurriaga 5 місяців тому

      oh, i see you are inside the MainAcivity, what is the best way to getActivity? i found this
      fun Context.getActivity(): Activity? {
      var currentContext = this
      while (currentContext is ContextWrapper) {
      if (currentContext is Activity) {
      return currentContext
      }
      currentContext = currentContext.baseContext
      }
      return null
      }

  • @ArturoDevA
    @ArturoDevA 5 місяців тому

    You cant do it in composable