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. ItemizedOverlays Complications

I have a MapView which utilizes and ItemizedOverlay to draw map
markers to the map. The application stores the markers for later use
in a database and in the mOverlays OverlayItem ArrayList. This works
fine for adding new items, but removing items from the ArrayList
shrinks the arraylist and throws off the indexes.. I tried to
circumvent this by using a regular OverlayItem Array but then I run
into the issue of not being able to create a dynamic array to support
the ever changing amount of items. How can I get around this so the
indexes are always constant and the onTap method works properly when
adding AND removing items?

2. Wikitude API now available as beta

as you might have heard, our Wikitude API is now available to
developers (in beta).

"to help unleash a wave of innovation within the Mobile AR design and
development communities".

Developers can build augmented reality apps without needing to build
the AR engine.

The camera screen will be watermarked during the beta phase.

Developers can request the package by sending an E-Mail to developers

The package consists of:
- Java API itself
- javadocs
- a documentation
- a sample application

The sample app is explained at:

Please let me know what you think. Suggestions are welcome.

All the best,


3. EventListener on worker thread

4. Where to find android.content.res.AssetManager native methods source code?

5. Mobile OCR SDK for Android OS, start writing OCR applications for Android today!

6. Android fonts

7. Hello Android app