×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Registered User
    Join Date
    Apr 2006
    Posts
    10

    How do we send a business card via bluetooth?

    Can anyone send me the code in Java to send a business card via Bluetooth?
    Or please at least tell me what event is generated when a business card is sent?

    Thanks

  2. #2
    Nokia Developer Champion
    Join Date
    Mar 2003
    Posts
    4,105
    Event + Sent? You mean which event is called, when a vCard is received. There is no such event.

  3. #3
    Regular Contributor
    Join Date
    Nov 2004
    Posts
    105

    Re: How do we send a business card via bluetooth?

    That stuff is implemented in the native device by the manufacturers (therefore there isnt a quick fix implemented in J2ME).

    But you can send SMS' in J2ME, and maybe there is a special format for business cards (i'm not too sure)

  4. #4
    Registered User
    Join Date
    Apr 2006
    Posts
    10

    Re: How do we send a business card via bluetooth?

    so can i assume that TYPE field in the headerset of the Obex packet sent is "vCard" ??
    also, whts the exact format of the vCard(the DATA header in the Headerset)??

  5. #5
    Registered User
    Join Date
    Dec 2005
    Location
    Brazil
    Posts
    1,884

    Re: How do we send a business card via bluetooth?

    Hi ramita,

    What device is yours? AFAIK JSR-82 OBEX is not available in all Nokia devices supporting BT, just newer ones (S60 2nd Edtion FP3, S60 3rd Edition, S40 3rd Edition).

    so can i assume that TYPE field in the headerset of the Obex packet sent is "vCard" ??

    As you may know you can set it explicitly - use the setHeader method of HeaderSet interface.


    also, whts the exact format of the vCard(the DATA header in the Headerset)??

    AFAIK type is java.lang.String and its format is the MIME type for vCard, e.g text/x-vcard. There are variations, though - http://filext.com/detaillist.php?extdetail=VCF

    Also, note the issue below:

    "If you receive a vCard file over OBEX (Infrared or Bluetooth object push), the device will notice it. The file arrives in the Messaging Inbox, and you can open it. If you store a VCF file in the file system and try opening it using File Manager, the system will not recognize it as a vCard object."

    Hope it helps,

    BR,

    Juarez Jr
    Last edited by juarezjunior; 2006-05-06 at 20:57.

  6. #6
    Registered User
    Join Date
    Apr 2006
    Posts
    10

    Re: How do we send a business card via bluetooth?

    Thanks Juarez,

    I dont need to bother about the device right now cos im using an emulator to verify my code....

    i used the setHeader() as u told me....

    but as u may know in Bluejacking, we send a business card without a number, how can i detect that? by extracting different fields of the business card!
    for this i need to know the format in which a business card is sent...

    i hope u understand my problem more clearly now.

    pls reply back asap

  7. #7
    Nokia Developer Champion
    Join Date
    Mar 2003
    Posts
    4,105

  8. #8
    Registered User
    Join Date
    Mar 2011
    Posts
    6

    Re: How do we send a business card via bluetooth?

    have downloaded the coding from nokia.,forum ...ie obex bussiness card exchange ....i run it in N82 IT SHOWS NOTHING I DIDNT EVEN DISPLAY THE ACTIVE DEVICES ....pls help me.......if u have code means pls send me in j2me

  9. #9
    Nokia Developer Champion
    Join Date
    Mar 2003
    Posts
    4,105

    Re: How do we send a business card via bluetooth?

    j2me_blue, please, let us continue in with your other post …

Similar Threads

  1. Business Card / Contact Entry
    By ryanrst in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2010-03-24, 07:43
  2. Socket CF Bluetooth Card (8510-00159 F)
    By halpage in forum Bluetooth Technology
    Replies: 0
    Last Post: 2004-05-14, 19:06
  3. Replies: 5
    Last Post: 2004-01-28, 07:19
  4. Replies: 3
    Last Post: 2003-12-29, 13:54
  5. Bluetooth Connectivity Problem: 8910, 3COM Bluetooth Wireless PC Card
    By ellistai in forum PC Suite API and PC Connectivity SDK
    Replies: 3
    Last Post: 2003-02-20, 12:08

Posting Permissions

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