×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    May 2005
    Posts
    2

    socket connections with PushRegistry

    Hi,

    Does anyone know if MIDP 2.0 phones (those that are not Symbian phones) have support for incoming socket connections with PushRegistry?

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

    Re: socket connections with PushRegistry

    Yes,have you done the following on the server end
    UUID uuid = new UUID("1105", true);
    String url = "btgeop://localhost:" + uuid + ";name=BTTP;authenticate=false;master=false;encrypt=false";

    Push.Registry.registerConnection(url,HelloMIDlet, "*");

    The final "*" is the filter of ports and selects all ports; You could select a specific port here.
    The HelloMIDlet is the name of YOUR midlet to register!

    "1105" is the defined code for OBEXObjectPush and
    "1108" is defined code as uuid16 bit for OBEXXFileTransfer

    Make sure you use the right one!.


    Good Luck
    Jim

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

    Re: socket connections with PushRegistry

    Hi antonio blazquez,

    The Push Registry mechanism itself is mandated by MIDP 2.0, but the vendor can implement different types of connections and protocols, so i think it can vary unfortunately. Do define your target device or platform, i think the newer Nokia Series 40 support it

    See this thread and comments by Traud to get more info about PR connection types on Nokias...

    http://discussion.forum.nokia.com/fo...ad.php?t=76439

    Hope it helps!

    BR,

    Juarez Junior
    Last edited by juarezjunior; 2006-06-01 at 01:45.

Similar Threads

  1. Replies: 10
    Last Post: 2006-08-08, 17:08
  2. Nokia 6600 Network (Http and Socket) connections do not work!
    By jimmichr in forum Mobile Java Networking & Messaging & Security
    Replies: 11
    Last Post: 2006-07-14, 07:48
  3. Limit on the number of socket and simultaneous GPRS connections??
    By mayur_24 in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2005-10-13, 11:02
  4. Limit on the number of socket and simultaneous GPRS connections??
    By mayur_24 in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2005-10-13, 08:21
  5. Nokia 6600 Network (Http and Socket) connections do not work!
    By jimmichr in forum Mobile Java General
    Replies: 2
    Last Post: 2003-11-23, 20:42

Posting Permissions

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