×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Sep 2006
    Location
    Europe/Poland/Olsztyn
    Posts
    21

    Lightbulb Where to get bluetooth java examples ?

    I want to learn coding application using MIDP on mobile using bluetooth for communication between mobiles.

    I fund one example with sourcecode after few hours of searching -> http://www.forum.nokia.com/main/1%2C...ge_v1_0_en.zip

    Have anybody seen another examples with source codes ?

    Pleas share the URLs to pages/resources.

    Thanx.
    >> Jacek J. <<

    "70% of people would give up their password for a chocolate bar."

  2. #2
    Super Contributor
    Join Date
    Mar 2005
    Location
    Paris
    Posts
    814

    Re: Where to get bluetooth java examples ?

    http://fivedots.coe.psu.ac.th/~ad/jg/

    chaps B1 & B2

    hope it helps

  3. #3
    Super Contributor
    Join Date
    Dec 2005
    Location
    Europe/Poland/Warsaw
    Posts
    1,697

    Re: Where to get bluetooth java examples ?

    hi Jacek,

    if it happened that you've installed S60 SDK or Sun WTK on your machine just see installation folder and "s60samples" content,
    Sun WTK contains samples in "apps" folder in installation folder,

    FN dedicated page:
    http://www.forum.nokia.com/main/reso...oth/index.html
    docs:
    http://www.forum.nokia.com/main/reso...documents.html
    http://www.forum.nokia.com/main/reso...etworking.html

    regards,
    Peter

  4. #4
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Posts
    1,213

    Re: Where to get bluetooth java examples ?

    We have these documents and examples resources currently - you can find these both in the Bluetooth | Documents (http://www.forum.nokia.com/main/reso...documents.html) and Java | Documents | Networking ( http://www.forum.nokia.com/main/reso...etworking.html ) sections.

    Introduction To Developing Networked MIDlets Using Bluetooth (With Example):
    -Provides BtsppEcho and Btl2capEcho MIDlets (point-to-multipoint connections using RFCOMM and L2CAP protocol, respectively)

    Games Over Bluetooth: Recommendations To Game Developers v1.0:
    -Provides a DiscoverConnect MIDlet (point-to-multipoint using L2CAP).

    MIDP: OBEX API Developer's Guide
    MIDP:OBEX API Example - Business Card Exchanger

  5. #5
    Registered User
    Join Date
    Sep 2006
    Location
    Europe/Poland/Olsztyn
    Posts
    21

    Re: Where to get bluetooth java examples ?

    Thanx.

    But, I have some problems.

    For example application btsppEcho.jad (http://www.forum.nokia.com/info/sw.n..._v1_0.zip.html)
    not started in NCF.

    I select 2 instances of "Nokia S40 DP20 SDK" add connection, add application btsppEcho.jad (pointing to btsppEcho.jar).

    Screen 1 -> http://img107.imageshack.us/img107/8876/ncf1lw1.png

    Starting enviroment, application starts ok (application start on both SDKs).

    Screen 2 -> http://img224.imageshack.us/img224/6444/ncf2wd5.png

    Next i setup app as server, select "Options/Start Application", got "Application error", press "Deatils" then i get "java/lang/NullPointerException".

    What I'm doing wrong ?

    Any adivce will be welcome

    P.S.
    My goal is :
    - find some Java Bluetooth application example with sourcecode
    - start it in 6230i (i have 2 that mobiles in my office)
    - modify and testing new application (my own) on 2 mobiles 6230i

    Can anyone explain mi why some MIDP applications works on S40 Emulators, some on S60 ? Is that diffrence between MIDP 1/MIDP 2 ?
    >> Jacek J. <<

    "70% of people would give up their password for a chocolate bar."

  6. #6
    Super Contributor
    Join Date
    Mar 2003
    Location
    Israel
    Posts
    2,280

    Re: Where to get bluetooth java examples ?

    Ben Hui's site has some great bluetooth resources, including tutorials, source code, and test applications.

    shmoove

    EDIT: looks like the site is down for maintenance, you should try it later.

Similar Threads

  1. Java & Bluetooth
    By kaycookie in forum Bluetooth Technology
    Replies: 1
    Last Post: 2004-10-15, 17:44
  2. 8910i and Java Bluetooth API?
    By kokuryu in forum Mobile Java General
    Replies: 0
    Last Post: 2003-09-04, 00:39
  3. Replies: 5
    Last Post: 2003-02-07, 11:25
  4. Nokia Java API for Bluetooth
    By maseal in forum Mobile Java General
    Replies: 2
    Last Post: 2002-11-26, 10:43
  5. Java MIDP Code Examples
    By nadianm in forum Mobile Java Tools & SDKs
    Replies: 2
    Last Post: 2002-09-30, 12:10

Posting Permissions

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