• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Bear Bibeault
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • salvin francis
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Frits Walraven
Bartenders:
  • Jj Roberts
  • Carey Brown
  • Scott Selikoff

P900 and ServerSocketConnection

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have no problems using

ServerSocketConnection ssc = (ServerSocketConnection) Connector.open(url);

in the emulator which comes with WTK2.2, but when I run it on the mobile phone (SonyEricsson P900) I get a SecurityException:

Permission = javax.microedition.io.connector.serversocket

exception.

I have used the J2ME Wireless Toolkit to create MIDlet permission for javax.microedition.io.Connector.serversocket but then I get the message that the Java-server won't allow installation of the application when I try to install it on the mobile phone. Does this mean that I can't use sockets on my phone or can I do it in some other way?

Thanks in advance,
Joachim
 
Evil is afoot. But this tiny ad is just an ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic