QR / Bar code scanner in Android using Android Studio - Kotlin

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

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

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

    Great video , how to open the camera in a specific place on the Activity instead of full screen

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

    hi, great tutorial...yet I've an issue with the camera, once I fire the button the app close. will you help me with that.
    Great work though

  • @abhaychandavar1766
    @abhaychandavar1766 4 года назад +7

    My app closes suddenly as I click on scan button (I tested in my phone)

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

      could u tell me how did u solve the problem i have the same problem

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

      same problem
      FIX:
      add this code to the build.gradle after buildTypes
      compileOptions {
      sourceCompatibility JavaVersion.VERSION_1_8
      targetCompatibility JavaVersion.VERSION_1_8
      }

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

      Just a wild guess: I think that maybe, unlike he said in the video, you need to do something about the app asking for permission to use the camera.

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

      If you look into Logcat (Error), see if the error was about: "No static method metafactory(Ljava/lang/invoke/MethodHandles$Lookup..."
      If it was the case what helped me was to force using java 8 in your build.gradle file in the "android" section
      compileOptions {
      targetCompatibility = "8"
      sourceCompatibility = "8"
      }

  • @kevinarielhernandezmartine2238
    @kevinarielhernandezmartine2238 6 лет назад +1

    Good video man.
    But I want to ask you if you may do a video with an app to call.
    I wanna say, an app that i press a button and this button calls (show dialer)

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

    sir plz make a video on how to scan QR code from gallery

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

    Hello friend, thank you for your great contribution, but I have a question if I would like to use that library for versions of minSdkVersion 19 onwards, how could I do it?

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

    hi, may I know how to save the scanned results into mysql?

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

      I'd like to know that as well, did you find out how it works?

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

      simply you need to send the scanned results to the server that uses mysql through a liberary like retrofit and the server will be the part that is responsible for saving the data to mysql or whatever database it uses

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

    how about url? is it open in web browser?

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

    Cool Thanks 👍🏻

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

    thank you very much

  • @dejo095
    @dejo095 6 лет назад

    wow so easy! Awesome

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

    awesome

  • @Adi-xe4ut
    @Adi-xe4ut 6 лет назад

    nice

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

    👌✔

  • @oreopls69
    @oreopls69 6 лет назад +1

    hi is it possible to detect the code with emulator?

    • @Adi-xe4ut
      @Adi-xe4ut 6 лет назад

      i think not

    • @dejo095
      @dejo095 6 лет назад

      why not, its running android same as your phone with full functionality. Problem is camera, it doesnt have real camera, unless you use your phone connected to pc which acts as emulator then no prob.