×

Discussion Board

Results 1 to 13 of 13
  1. #1
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    55

    How to transfer file using Bluetooth C++ API?

    Dear yours,

    I need to write a small application that send a statics file from phone to others phone by C++ in S60 Symbian phone.

    Where I should start? Any document?

    Thanks

    Wah

  2. #2
    Regular Contributor
    Join Date
    Oct 2004
    Location
    india
    Posts
    306

    Re: How to transfer file using Bluetooth C++ API?

    chk Btobex example


    bye
    N

  3. #3
    Registered User
    Join Date
    Jan 2005
    Location
    Helsinki, Finland
    Posts
    257

    Re: How to transfer file using Bluetooth C++ API?

    if you want to do it easily by using CSendAppUi class which provides sending functionality and UI for applications, you may check out the following link. There you will see a open source example project dealing CSendAppUi class and sends a file.

    http://kuca.webzdarma.cz/index.php3?...n&co=t7logtopc

  4. #4
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    55

    Smile Re: How to transfer file using Bluetooth C++ API?

    It seems what I need. Thanks you guy. I try it immediately.. haha

  5. #5
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    55

    Re: How to transfer file using Bluetooth C++ API?

    CSendAppUi cannot send sis file in OS 7.0 or above(I guest). I finally try the Btobex example that in SDK. I modified the example form CObexNullObject to CObexFileObject and it can send file to anthers phone now.

    However, there is no progress bar dialog when sending file in this example. Besides, there is no OBEX document and I don't how to add the progress bar dialog. Anyone has idea? Or know where to find the document? Thanks

  6. #6
    Registered User
    Join Date
    Aug 2003
    Posts
    9

    Re: How to transfer file using Bluetooth C++ API?

    HI Wah im also doing the same Project for my graduation. Plz can u help me doing this with CObexFileObject. I will really appreciate it !!!

  7. #7
    Registered User
    Join Date
    Jun 2006
    Posts
    17

    Re: How to transfer file using Bluetooth C++ API?

    Quote Originally Posted by Wah
    CSendAppUi cannot send sis file in OS 7.0 or above(I guest). I finally try the Btobex example that in SDK. I modified the example form CObexNullObject to CObexFileObject and it can send file to anthers phone now.

    However, there is no progress bar dialog when sending file in this example. Besides, there is no OBEX document and I don't how to add the progress bar dialog. Anyone has idea? Or know where to find the document? Thanks
    Hi ,

    Could u share ur code for sending files?
    I need to send more than one file.....

  8. #8
    Registered User
    Join Date
    Jun 2006
    Posts
    17

    Re: How to transfer file using Bluetooth C++ API?

    Quote Originally Posted by Wah
    CSendAppUi cannot send sis file in OS 7.0 or above(I guest). I finally try the Btobex example that in SDK. I modified the example form CObexNullObject to CObexFileObject and it can send file to anthers phone now.

    However, there is no progress bar dialog when sending file in this example. Besides, there is no OBEX document and I don't how to add the progress bar dialog. Anyone has idea? Or know where to find the document? Thanks
    Hi ,

    How to use CObexFileObject for sending more than one files?

  9. #9
    Registered User
    Join Date
    Aug 2003
    Posts
    9

    Re: How to transfer file using Bluetooth C++ API?

    Hi Chishti!

    Can you please share with me the code to send a file via the BtObex example from the SDK?!?
    I would really appreciate it.
    Thanks in advance...

    Best regards,

    €BRAHIM €2006€

  10. #10
    Registered User
    Join Date
    Aug 2006
    Posts
    5

    Re: How to transfer file using Bluetooth C++ API?

    Can anyone tell me how should I import the example BTobex in a manner that I can modify some messages?

    Because importing using Import->mmp file doesn't import the .pkg file and this is still not automatically generated.
    And i suppose that in this case any changes I make to the code are not seen when actually running the application on a phone.

    Please help!

  11. #11
    Registered User
    Join Date
    Aug 2003
    Posts
    9

    Re: How to transfer file using Bluetooth C++ API?

    Hi Adina!

    You need to change the code in Visual C++ and then recompile it to create a new .pkg file. Then you convert this file into .sis file and download it to the phone. Did you get it?

    Good luck !!! €€€

  12. #12
    Registered User
    Join Date
    Aug 2006
    Posts
    5

    Re: How to transfer file using Bluetooth C++ API?

    Thanks a lot!
    A thought noone wil ever answer this question!
    I'm working with Carbide C++.
    I've imported a project using Import->mmp File. Good notice here that the sis folder containing the .pkg file is not imported, so I've simply drag-and-drop it in the working space. Then, rebuild the project and still, any changes I've made to the code are not seen.

    If I don't drag-and-drop the .pkg file , then no .pkg file is created...so, no .sis file.

    So, has anything to do with the Crabide or I don't import the project in the right manner...

    Please let me know if u have any advices...
    Thanks a lot!

  13. #13
    Registered User
    Join Date
    Jan 2005
    Location
    Helsinki, Finland
    Posts
    257

    Re: How to transfer file using Bluetooth C++ API?

    I guess carbide builds your chages and creats new .obj file out of your .cpp files. If so, you can create .sis file from command prompt. Say your .pkg file under c:\temp.

    cd c:\temp
    c:\temp\makesis yoursis.pkg

    That's it. Make sure the correct path is given in .pkg file for picking up the right object file.

    Hope it helps!!!!
    Do it now! Today will be yesterday tomorrow - MadSum

Similar Threads

  1. sending JPEg file via Bluetooth
    By ja_calulot in forum Symbian
    Replies: 14
    Last Post: 2006-02-08, 11:06
  2. Bluetooth API for older phones
    By mbohn in forum Bluetooth Technology
    Replies: 2
    Last Post: 2004-02-13, 10:18
  3. Replies: 1
    Last Post: 2004-01-18, 03:17
  4. Series 60 SDK Appwizard on windows xp
    By moonjoor in forum Symbian Tools & SDKs
    Replies: 15
    Last Post: 2003-12-24, 10:22
  5. How can u transfer the ott file to mid or wav file.?
    By montooshah in forum Mobile Java Media (Graphics & Sounds)
    Replies: 1
    Last Post: 2003-11-13, 16:36

Posting Permissions

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