You Are Here:

Community: Developer Discussion Boards

#1 Old Method for converting AMR voice into ByteArray - 2009-02-27, 02:06

Join Date: Dec 2008
Posts: 45
werter10
Offline
Registered User
Hi,

I work in an application which record Audio, and I'w like to send it afterwrads with javax.bluetooth. How can I convert audio into bytearray?




Thanks a million
Reply With Quote

#2 Old Re: Method for converting AMR voice into ByteArray - 2009-02-27, 11:38

Join Date: Nov 2007
Posts: 2,029
Location: Rome, Italy
Send a message via MSN to jappit Send a message via Skype™ to jappit
jappit's Avatar
jappit
Offline
Forum Nokia Champion
Hi werter10,

calling the commit() method of your RecordControl will actually give you access to the recorded Stream. If you use a ByteArrayOutputStream for it, then it'll be quite easy to retrieve the stream as a byte[] array, just using its toByteArray() method. Check out the sample code on RecordControl JavaDocs:

http://library.forum.nokia.com/index...rdControl.html

Pit


www.jappit.com - mobile and web blog
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Playing AMR file is solved, Here is the solution. khurshed79 Symbian Media (Graphics & Sounds) 8 2007-12-19 07:11
AMR tp PCM using CMMFCodec on Symbian 8.0 (6630) stew_mclean Symbian Media (Graphics & Sounds) 2 2005-12-15 06:53
amr on sdk 2.1 cedricaudru General Symbian C++ 0 2004-08-23 12:03
Methods, that take lots of space doctordwarf Mobile Java General 4 2003-07-30 12:05
voice recording in MMS walterzcm General Messaging 1 2002-11-19 06:17

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fdiscussionE2eforumE2enokiaE2ecomE2fforumE2fshowthreadE2ephpE3ftE3d134434X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE44iscussionQ qdcZtypeQUqfntypeZE44iscussionContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZentertainmentQ qfnZtopicQUqfnTopicZj2meQ qfnZtopicQUqfnTopicZjavaQ qfnZtopicQUqfnTopicZmediaQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE44iscussionQ qfnZtypeQUqfntypeZE44iscussionContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE44iscussionQ qrdfZtypeQUqfntypeZE44iscussionContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ