/* Create a MediaRecorder */
recorder = new MediaRecorder();
/* ContentValues include title, timestamp, mime type */
ContentValues values = new ContentValues(3);
values.put(MediaStore.MediaColumns.TITLE, SOME_NAME_HERE);
values.put(MediaStore.MediaColumns.TIMESTAMP, System.currentTimeMillis());
values.put(MediaStore.MediaColumns.MIME_TYPE, recorder.getMimeContentType());
/* Create entry in the content database */
ContentResolver contentResolver = new ContentResolver();
Uri base = MediaStore.Audio.INTERNAL_CONTENT_URI;
Uri newUri = contentResolver.insert(base, values);
if (newUri == null) {
/* Handle exception here - not able to create a new content entry */
}
/* Receive the real path as String */
String path = contentResolver.getDataFilePath(newUri);
/* Set Audio Source, Format, Encode and File */
recorder.setAudioSource(MediaRecorder.AudioSource.MIC);
recorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);
recorder.setOutputFile(path);
/* Prepare the Recorder */
recorder.prepare();
/* Start Recording */
recorder.start();
/* ... */
/* Stop Recording Again */
recorder.stop();
recorder.release();
51 Comments
Well is there any Way to Record Incomming Call Recording
This doesn't work anymore
This does not work.
Welcome to check on our
website!Any needs or any orther questions, welcome to contact us at any time ! Shopping online offers lots of benefits
that you won't find shopping in a store or by mail. The Internet is always open — seven days a week, 24 hours a
day — and bargainscan be numerous online.With a click of a mouse, you can buy an airline ticket, book a hotel,
send flowers to a friend .
We provide the <a href="http://www.ghdoutlet-au.com/"><em><strong>cheap ghd</strong></em></a> online. We have the best price and free shipping for the <a href="http://www.ghdoutlet-au.com/"><em><strong>ghd straighteners</strong></em></a>. As we know, the <a href="http://www.ghdoutlet-au.com/new-ghd-iv-salon-styler-wide-p-13.html"><strong><em>ghd flat iron</em></strong></a> is the first class and famous brand. So it is the good chance for you. Don't let it pass. If you are looking for the <a href="http://www.ghdoutlet-au.com/rare-ghd-p-2.html"><em><strong>ghd australia </strong></em></a>, you have come to the right place:<a href="http://www.ghdoutlet-au.com/">http://www.ghdoutlet-au.com</a>!</p>
http://www.cfoxcom.com louis Vuitton handbags
http://www.shanghaimassage2.com shanghai massage
http://www.shanghaimassage2.com shanghai escort
http://www.hangzhoumassage6.com hangzhou massage
http://www.rosettastone-mall.com Rosetta stone
http://www.rosettastone-mall.com rosetta stone spanish
http://www.rosettastone-mall.com rosetta stone language
http://www.intsupplierb2b.com Fashion high heels
http://www.luxuryheelshop.com christian louboutin
http://www.ghdbest.com GHD
http://www.beijingmassage6.com beijing massage
http://www.beijingmassage6.com beijing escort
http://www.cozyhatclub.com fitted hat
http://www.cozyhatclub.com new era 59 fifty
Welcome to check on our
website!Any needs or any orther questions, welcome to contact us at any time ! Shopping online offers lots of benefits
that you won't find shopping in a store or by mail. The Internet is always open — seven days a week, 24 hours a
day — and bargainscan be numerous online.With a click of a mouse, you can buy an airline ticket, book a hotel,
send flowers to a friend .
I want to thank you from the core of my heart for doing such a research. Just now I completed reading your post and also find the tips to be useful. I will surely try to keep all those points in mind.
Thanks for doing such a thorough research work. I must say all the tips you have mentioned here are useful. So, I have saved the page. Hope it will help me in my future endeavors.
I want to thank you from the core of my heart for doing such a research. Just now I completed reading your post and also find the tips to be useful. I will surely try to keep all those points in mind.
Thanks for your sharing, good job!
We are a professional manufacturer
Making <a href=" http://www.777hardware.com/category/products/lug-nuts" title="lug nuts">lug nuts</a> ,
,<a href=" http://www.777hardware.com/category/products/wheel-lock-bolts" title="wheel lock bolts ">wheel lock bolts </a>
and <a href=" http://www.777hardware.com/category/products/wheel-lock-nut" title=" wheel lock nuts "> wheel lock nuts </a>
. <a href=" http://www.777hardware.com/category/products/wheel-stud" title=" wheel studs "> wheel studs </a>
<a href=" http://www.777hardware.com/category/products/wheel-bolts" title="wheel bolt">wheel bolt</a>,
Looking for cheaper bolts&nuts on our website!
www.777hardware.com
We mainly produce the fasteners as GB, JIS, ANSI, BS, DIN standard,including machined parts, self-tapping screw, bolts and nuts, and special fastness, all kinds of non-standards parts, CNC machining parts etc
www.chinafasteners.info
Such a good article, caught my sympathy!
Nice post!I agree with you!
adidas shoes More than 60 years after a feud between brothers adidas outlet and Rudolf Dassler resulted in the creation of the adidas men's shoes and Puma sportswear rivalry, the two companies are making peace cheap adidas shoes for one day. adidas originals pros are its very stylish, adidas running shoes feels great on your feet and clothing wise, cheap adidas shoes are very reasonably priced from adidasbuy com. adidas shoes sale are very comfortable, light weight, stylish and great value for money. The adidas superstar soles are designed really well and give you great grip across all terrains. Here we feature a pair of adidas stan smith and and Oregon Ultra LE, which are part of the Originals Jacket NBA Highlights Collection. adidas running shoes are now available at select adidas zx 500 retailers. The original content are from Kicks on Fire and adidas sneakers really was an eye candy for the adidas zx 8000 fans. They didn’t know Originals T-Shirt have cool designs like this. They will begin hitting select adidas f50 adizero in August.
It's been a long time since I so enjoyed reading posts in the net. Two thumbs up! Two thumbs up!
I like the article which very much you write, it has the help very much to me, thanks
I am searching this very long time...
Was honored to see such a good article!
thanks for your post!!!!!!!!!!
That's good.
I hope you don't mind me linking you so that this information spreads more.
it's good to know someone has an idea about what's going on.
I have never read something like this.
I am really interested in this topic.
It's my first time to post a reply, thanks for your sharing.
Beautifully done, both the content and the format.
Definitely recommending this all around.
could you write more about it?
Brilliantly put.
That makes sense.
I need to retweet this to my twitter.
You are the few people who wrote something about that, I like it.
I have a look at your article and learn frome some usefule information.
http://www.supramenshoes.com/ supra footwear
http://www.af1dunksb.com/ air force 1
http://www.asicskicsk.com/ Asics Onitsuka Tiger
<a href=http://www.asicskicks.com/>asics shoes</a>
<a href=http://www.asicskicks.com/>asics tiger</a>
<a href=http://www.asicskicks.com/>asics running shoes</a>
<a href=http://www.asicskicks.com/>asics onitsuka tiger</a>
<a href=http://www.asicskicks.com/>onitsuka tiger</a>
The Lingerie Store,The lingerie and nightwear SALE at Style Lingerie. All lingerie sale garments marked 30% to 70% off. Sexy lingerie, ladies underwear and designer nightwear
fdgdf
Thank you for your sharing.
It was a very nice idea!
A usefor post for me!
<a href=http://www.topchanelbag.com>chanel</a>
<a href=http://www.topguccibags.com>gucci</a>
<a href=http://www.greathermes.com>hermes</a>
<a href=http://www.greatlouisvuitton.com>louis vuitton</a>
<a href=http://www.topdesignerhandbag.com>designer handbags</a>
<a href=http://www.replicacell.com>vertu phones</a>
<a href=http://wendysreplica.com/blog>designer handbags reviews</a>
<a href=http://wendysreplica.com>wendy's replica</a>
<a href=http://www.replicacell.com>replica phones</a>
<a href=http://www.replicacell.com/vertu-replica.html>vertu replica</a>
<a href=http://www.replicacell.com/tag-heuer-phone.html>tag heuer phone</a>
<a href=http://www.replicacell.com/mobiado.html>mobiado</a>
<a href=http://www.replicacell.com/cartier-phones.html>cartier-phones</a>
<a href=http://www.replicacell.com/goldvish.html>goldvish</a>
<a href=http://www.replicacell.com/rolex-mobile.html>rolex mobile</a>
<a href=http://www.replicacell.com/porsche-phone.html>porsche phone</a>
<a href=http://www.replicacell.com/replica-blackberry.html>replica blackberry</a>
<a href=http://www.replicacell.com/iphone-replica.html>iphone replica</a>
I hope you will keep updating your content constantly as you have one dedicated reader here.
They are your perfect choice.
We supply all kinds of moncler boots,moncler bags,moncler coats,moncler jackets,moncler T-shirt,moncler vest and so on.We have got a good reputation pf our products with top quality and good price.We sincerely look forward to futher cooperation with you for mutual benefits.We are sure that you will find working with us is a pleasant, time-saving and profitable experience.
Good post!Cheap nfl jerseys on sale!
I think this is a great post. Sometimes when I write, I just let the flow of the words and information come out so much that I loose the purpose. It’s only after editing when I realize what I’ve done. There’s defiantly a lot of great tips here I’m going to try to be more aware of. http://www.clothingseries.com/ cheap women's shox rival footwears I like very much!
welcome to come here to see the kinds of asics shoes, so you can buy tese cheap asics shoes online.hope you have a shopping here.
<a href="http://www.asics-shoes.biz">asics shoes</a>
<a href="http://www.asics-shoes.biz">asics running shoes</a>
<a href="http://www.asics-shoes.biz">asics gel</a>
Here are your best choice.
I think this is a great post. Sometimes when I write, I just let the flow of the words and information come out so much that I loose the purpose. It’s only after editing when I realize what I’ve done. There’s defiantly a lot of great tips here I’m going to try to be more aware of. http://www.highsneakers.com/ discount shox dream want to the person!
There are various kinds of ghd hair straighteners on hot sell. GHD styler specialized in ghd australia market and provides many cheap ghd, ghd iv styler, pink ghd, purple ghd, which save up to 50%, with free shipping!
Add a Comment