Sound Recording Example does not work

by iuiz » Tue, 09 Jun 2009 00:05:01 GMT

Sponsored Links

I am trying to create an app, that works with the sound, that is
recorded using the mic. I just looked here for first informations: 

The Problem ist, that if I try to get the "Audio Capture Setup and
Start" Example to run, it just wont work. The first error is, that
there is no MediaStore.MediaColumns.TIMESTAMP. Ok, this is not such a
big problem, but indicates, that this is realy deprecated. The bigest
bug is here:

ContentResolver contentResolver = new ContentResolver();

Eclipse tells me the following: "cannot instantiate the type

So, has anyone some simple code for me to record sound data? I don't
need to record it, but I want to be able to work with it in the
memory. So perhaps a sound stream, or something similar.



Sound Recording Example does not work

by Lukas Zapletal » Mon, 29 Jun 2009 23:00:49 GMT

 Interested too.

Its an abstract class but I dont know why - there is only one
implementation - mock test.

Documentation is very outdated here.

Any help?

Sponsored Links

Sound Recording Example does not work

by Mark Murphy » Mon, 29 Jun 2009 23:01:57 GMT


Call getContentResolver() from any Context (e.g., Activity, Service) to
get a ContentResolver instance.

Mark Murphy (a Commons Guy)  | 

Need help for your Android OSS project? 


Other Threads

1. how to obtain the default font size


I searched the topics and tried some things, but could not achieve
what i need.

I want to obtain the font height in PIXELS used in the text "Silent
mode" of the "Sound & display" option of the Settings application.

In this screen i see lots of font sizes, but i want the biggest size.
I assume that this is the standard size of the font for the device.

Actually, if i could find any "default font size" in pixels i could
compute the other sizes.

What i have is:

1. A class that extends SurfaceView
1.1 A Bitmap that's drawn with my app contents
1.2 A SurfaceHolder
2. A class that extends Activity

I assumed that i could get the info with some structure at the
surfaceChanged, but i checked all methods of all classes and could not
find anything useful.




2. SIP using bluetooth

Hi all,

What SIP softphone can use Bluetooth correctly?
I tried on 2.2.1 / Samsung Galaxy S / samsung Bluetooth HM1000
- CSIPSimple: Bluetooth volume is low
- SIP Droid: Bluetooth is not usable



3. tslib patch causing Android boot to fail

4. Help Android porting to imx28

5. Values in Linux Framebuffer is different when bitmap file reading is forced to RGB 565

6. Video recording using inbuilt stagefright soft codec

7. honeycomb source available?????