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 3788538
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T12:00:55+00:00 2026-05-19T12:00:55+00:00

I am nearing completion of a project I am working on using Android, but

  • 0

I am nearing completion of a project I am working on using Android, but ran into a little bump in the road when we got a new device to test our application with.

I am programming using Android 1.6 and my two devices are:

HTC Incredible – Verizon (Android 2.2)
Samsung Galaxy S – T-Mobile (Android 2.1 update 1)

One part of the application allows the user to select a recorded audio file using:

// Select a recording
i = new Intent();           
i.setAction(Intent.ACTION_GET_CONTENT);
i.setType("audio/*");
startActivityForResult(Intent.createChooser(i, "Select audio file"), Enums.REQUEST_CODE_SELECT_ATTACHMENT);

And will call onActivityResult after the selection is made.

if (resultCode == RESULT_OK && Enums.REQUEST_CODE_SELECT_ATTACHMENT == requestCode)) 
{
    // do something here
}
else
{
    //ResultCode comes back as RESULT_CANCELED
}

This works fine on the device I programmed my original application on (HTC Incredible – Verizon).

However, when using the Samsung Galaxy S (T-Mobile), the first select dialog opens (Music Player | Voice Recorder) but from there nothing really works.

If I select Music Player, none of my recordings are listed (on HTC, I can pick my recordings or music tracks that shipped with my phone).

If I select Voice Recorder, it returns to my onActivityResult method with result code RESULT_CANCELED and displays a toast message saying “Message file limit reached”.

Can anyone give some insight on this? Any help will be greatly appreciated!

Thanks!

  • 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-05-19T12:00:56+00:00Added an answer on May 19, 2026 at 12:00 pm

    The Galaxy S audio subsystem is notoriously broken in 2.1. For instance, Skype does not work on these devices. I’ve found that 2.2 fixes a lot of the issues.

    One thing you can experiment with is calling AudioManager.setMode() to MODE_IN_CALL before recording. Also, you might look at some open source code to see if they’ve solved this particular issue (see for instance Ringdroid).

    There’s lots of information about how the Galaxy S audio doesn’t work according to spec out there (for instance the speakerphone routing is very broken).

    Good luck!

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

Sidebar

Related Questions

I am developing an online exam using JSP/Servlets which is nearing completion. I'm planning
Java is nearing version 7. It occurs to me that there must be plenty
We have a monolithic MFC GUI app that is nearing the end of it's
There is a container, for example lets say which has a volume of V.

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.