You Are Here:

Community: Developer Discussion Boards

#1 Old Sending .wav file from mobile to PC with OBEX - 2008-03-13, 14:11

Join Date: Mar 2008
Posts: 4
adiilah
Offline
Registered User
Hello all,
I am new to bluetooth programming and am quite confused with the codes...I need to transfer a .wav file from my mobile to PC(process .wav file to text) and return back a text file to the Mobile.

I need to do device discovery 4 both sides that is client and server??!!

i have managed to do the device discovery part that is my mobile is able to detect the bluetooth-enabled PC and vice versa...

I am making use of the Bluecove package...Can anyone please advice me how i can send the .wav file to the server using OBEX??
I think there's an example but it's using avetana package...with bluecove how to do it??

Thank you all in advance..
Reply With Quote

#2 Old Re: Sending .wav file from mobile to PC with OBEX - 2008-04-08, 12:19

Join Date: Mar 2008
Posts: 576
mahbub_s60's Avatar
mahbub_s60
Offline
Forum Nokia Expert
Hi,
Best way to take a look in S60_Platform_Bluetooth_OBEX_Example found in forum Nokia.
Steps:
1. Make a BT connection
2. Create an instance of CObexFileObject
3. Set the name of file to this object.
4. Call Put methods (other side should be in listening mode)
Here code snippet from the example:


iCurrObject = CObexFileObject::NewL(aName);
TParsePtr parsePtr (aName);
TPtrC ptr = parsePtr.NameAndExt();
iCurrObject->SetNameL( ptr );
iClient->Put( *iCurrObject, iStatus );
SetActive();

-Mahbub
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 On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
OBEX - File sending problem. vinsofts Symbian Networking & Messaging 3 2008-02-10 09:18
iPod vs. Mobile phone. Do operators have chance in the mobile entertainment battle? wpf General Discussion 0 2007-07-16 00:06
DRM for sending jar file via Bluetooth yogesh.bhople Digital Rights Management & Content Downloading 0 2007-03-21 10:11
DRM for sending jar file via Bluetooth yogesh.bhople Installation, Certification and Security 0 2007-03-15 13:14
sending of jar file from webserver to mobile phone? jinda007 Mobile Java Networking & Messaging & Security 13 2006-11-09 12:55

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