×

Discussion Board

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

    Unhappy LAN profile with J2me

    Hello.

    I have an application that connect to the internet to do some things..
    I want to enable my application to use bluetooth for connect to a Lan and use this connection instead of gprs or umts.

    Is it possible?
    I saw there's a special profile,called Lan profile over PPP or something like that whose fuction is to provide connectivity of a bluetooth device to a LAN.
    Anyway i can't understand a thing:

    I can connect to a profile or a protocol like RFCOMM and get a locator.I can get a Stream connection with this locator but how can i use this connection?
    I want to use this connection with a player to stream videos i've on a server.How can i do?

    In a few words i want an access point that use bluetooth and that enable my application to use a LAN and everything sould be embedded in the j2me application.

    Any suggestion?? help!!

  2. #2
    Super Contributor
    Join Date
    Dec 2005
    Location
    England,UK
    Posts
    1,600

    Re: LAN profile with J2me

    Code to play an MP3/MPEG is:-

    import javax.microedition.media.*;

    InputStream in = getClass().getResourceAsStream("/mytrack.mp3");
    Player player = Manager.createPlayer(in,"audio/mpeg");

    Jim

  3. #3
    Registered User
    Join Date
    May 2006
    Posts
    48

    Re: LAN profile with J2me

    yes.....But this wasn't my question...

  4. #4
    Super Contributor
    Join Date
    Dec 2005
    Location
    England,UK
    Posts
    1,600

    Re: LAN profile with J2me

    Bluetooth connection can be achieved on S60 phones using "gnubox"


    GnuBox on and Nokia Series60 phones Share your computer's internet access to the phone via bluetooth or USB

    This is written with the "Online2 documentation of Symbian OS 7.0:"

    I believe there is NOT a java version.

    The nearest java serial port connection with Java Server is BlueCove for XP on Called "Connecting PC and Phone with Java Bluetooth API"

    http://www.benhui.net/modules.php?na...ne_Part_1.html

    Beyond this I think its a write it yourself job.
    Jim
    Last edited by jimgilmour1; 2006-06-20 at 14:51.

Similar Threads

  1. Lan Access Profile for Nokia Phones...
    By ayulo in forum Bluetooth Technology
    Replies: 6
    Last Post: 2007-09-30, 13:30
  2. Bluetooth LAN profile in 6600,7700?
    By lappiteam in forum Bluetooth Technology
    Replies: 5
    Last Post: 2004-12-29, 17:26
  3. Bluetooth LAN profile in 6600,7700?
    By lappiteam in forum General Development Questions
    Replies: 0
    Last Post: 2003-12-16, 22:46
  4. Lan Access Profile?
    By ayulo in forum Bluetooth Technology
    Replies: 0
    Last Post: 2003-11-19, 16:49
  5. Nokia phone with PAN, LAN profile?
    By lappiteam in forum Bluetooth Technology
    Replies: 0
    Last Post: 2003-08-18, 22:43

Posting Permissions

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