×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Oct 2006
    Posts
    1

    Question Connecting PC to Mobile Phone Via Bluetooth

    Hello friends!

    I'm working on a project where I have to create:

    (i) a server program in java programming language; the server being my PC (Windows Xp)
    (ii) a client program in J2ME (Mobile phone running on J2ME Platform)

    The client shall interact with the server via Bluetooth.

    (I already have a J2ME toolkit and a Bluetooth dongle.)

    I don't know how to go about creating server programs.Also, it seems that I don't have the appropriate tools.

    From what i've learnt, there are two different approachesfor implementing server program:
    1.uses Windows serial communications interface
    2.uses Bluetooth APIs directly

    At this stage, I only have to send messages from my PC to my mobile phone in order to get aquainted to the technologies. However, the project itself is about cinema advertising. The goal is to be able to download video trailers and also book cinema tickets from my mobile phone. (The client remains my mobile phone and the server, my PC).

    I wish to know whether both approaches for implementing the server program are appropriate for my project. If yes, then which is most appropiate and why?

    For the 2nd approach, I know I have that I'll need a bluetooth SDK/Toolkit/Stack. Can you please tell me where I can find one?

    Any suggestions and sample codes (especially those which will allow me get acquainted to the technologies to be used) will be highly appreciated.

    Looking forward to your reply.

    Cheers, Sapinou.

  2. #2
    Registered User
    Join Date
    Oct 2004
    Posts
    16

    Re: Connecting PC to Mobile Phone Via Bluetooth

    Quote Originally Posted by Sapinou
    Hello friends!

    I'm working on a project where I have to create:

    (i) a server program in java programming language; the server being my PC (Windows Xp)
    (ii) a client program in J2ME (Mobile phone running on J2ME Platform)

    The client shall interact with the server via Bluetooth.

    (I already have a J2ME toolkit and a Bluetooth dongle.)

    I don't know how to go about creating server programs.Also, it seems that I don't have the appropriate tools.

    From what i've learnt, there are two different approachesfor implementing server program:
    1.uses Windows serial communications interface
    2.uses Bluetooth APIs directly

    At this stage, I only have to send messages from my PC to my mobile phone in order to get aquainted to the technologies. However, the project itself is about cinema advertising. The goal is to be able to download video trailers and also book cinema tickets from my mobile phone. (The client remains my mobile phone and the server, my PC).

    I wish to know whether both approaches for implementing the server program are appropriate for my project. If yes, then which is most appropiate and why?

    For the 2nd approach, I know I have that I'll need a bluetooth SDK/Toolkit/Stack. Can you please tell me where I can find one?

    Any suggestions and sample codes (especially those which will allow me get acquainted to the technologies to be used) will be highly appreciated.

    Looking forward to your reply.

    Cheers, Sapinou.
    Please visit http://forum.vietcovo.com and download some bluetooth apps at http://vietcovo.sf.net

  3. #3
    Registered User
    Join Date
    Apr 2011
    Posts
    2

    Re: Connecting PC to Mobile Phone Via Bluetooth

    I found an excelent Example of how connect PC and J2ME Mobile phone in this blog.

    http://mobile-programming-and-games....hone-over.html

    and include code source for testing!...

  4. #4
    Super Contributor
    Join Date
    Mar 2008
    Posts
    1,481

    Re: Connecting PC to Mobile Phone Via Bluetooth

    Hi,
    In mobile side you can start with this code
    http://library.forum.nokia.com/index...86C3A978A.html
    or

    http://wiki.forum.nokia.com/index.ph...r_more_devices

    For tools
    http://library.forum.nokia.com/topic...C2D2937BC.html
    This will give all what you need to start with.

    If I understand your problem correctly, you will communicate from mobile to the PC. You have some application running in PC side and it should publish some service (see JSR 82) and then your mobile client can communicate with the service.

    If you have still problems, ask in this forum again.

Similar Threads

  1. N91 WiFi (WLAN) and Bluetooth Issues.
    By danscoop in forum General Development Questions
    Replies: 12
    Last Post: 2007-06-05, 20:07
  2. send sms from pc to mobile phone using bluetooth
    By zamx in forum General Messaging
    Replies: 0
    Last Post: 2006-07-16, 08:23
  3. J2ME, Bluetooth, Using your Phone as a Gateway???
    By zinomorph in forum Bluetooth Technology
    Replies: 2
    Last Post: 2005-08-26, 13:02
  4. Sending a message to mobile phone via bluetooth
    By manit835 in forum Bluetooth Technology
    Replies: 0
    Last Post: 2004-07-23, 09:30
  5. IrDA, Bluetooth, USB connection to mobile phone
    By eracer in forum PC Suite API and PC Connectivity SDK
    Replies: 0
    Last Post: 2004-07-01, 14:25

Posting Permissions

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