Hi,
Does anyone know if MIDP 2.0 phones (those that are not Symbian phones) have support for incoming 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?
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
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.