Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8277089
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T08:35:11+00:00 2026-06-08T08:35:11+00:00

Using RedLaser’s 3.X SDK getBeepResource() is never called. The application scans barcodes just fine,

  • 0

Using RedLaser’s 3.X SDK getBeepResource() is never called. The application scans barcodes just fine, but I’d like an audio beep as well.

What enables the beep? I don’t see anything on the BarcodeScanActivity class.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T08:35:12+00:00Added an answer on June 8, 2026 at 8:35 am

    In the 3.0 RedLaser SDK, we removed the feature where the SDK plays a sound when a barcode is scanned. Instead, the BarcodeScanActivity periodically informs its concrete subclass of the barcodes it has found, via the onScanStatusUpdate method. You can read about this method in the SDK documentation.

    You can use Android’s MediaPlayer object to create a media player that will play your sound file, and call MediaPlayer.start() when a new barcode has been found.

    The reason we changed how this worked has a lot to do with the “wrong barcode” problem. This is where your application is looking for a specific type of barcode, but the user is holding the phone up to a different type of barcode, because they don’t know any better. With the 3.0 SDK, your application can configure the SDK to scan for all supported barcode types, and if the user tries to scan the ‘wrong’ type you can gently tell them so without leaving the scan session. You just have to evaluate the results as they come in, and not exit the session until the ‘right’ barcode type is seen.

    A side effect of this solution is that the SDK doesn’t know which barcode type is the ‘right’ type and which ones are types that the application wants to be told about but won’t actually use. Therefore, having the SDK play a beep sound every time a barcode is found doesn’t make sense. The beep sound should only be played when the ‘right’ type of barcode is scanned and only the application knows what that is.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using the C# Facebook SDK 5.0.3 everything works fine whit the client.Get(/me). But when
I am using redlaser sdk for scanning the barcode of products. I want to
Using ASIHTTPRequest, I downloaded a zip file containing a folder with several audio files.
Using Rails 3.2.0 with haml and sass: I Would like to link an external
Using the navigator.geolocation object in JavaScript. Trying to establish accurate ranges, but wondering exactly
Using NSDateComponents I know how to get the day component, but this gives me
Using Android TelephonyManager an application can obtain the state of data activity over the
Using Jenkins or Hudson I would like to create a pipeline of builds with
Using Xcode4.2.1, with a basic PhoneGap template based app. (I say template, but I
I am using redlaser api in my app. I am getting Resource not found

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.