I have a mobile device: Nokia 9300.
And I have created an application to work with HTTPConnections.
When I try to load a data via HTTPConnection I get the following error message:
java.lang.ClassNotFoundException: com/symbian/midp/io/protocol/Http/Protocol
I used only standard J2ME classes. And my app works fine on Motorola phones, for example. But on Nokia 9300 I get this error.
Below there is a part of my code that causes the problem:
final HttpConnection shopsHttpConnection = (HttpConnection)Connector.open(cmdGetShops);
final InputStream shopsLoadingStream = shopsHttpConnection.openInputStream();
final InputStreamReader shopsLoadingStreamReader = new InputStreamReader(shopsLoadingStream, ENCODING);
Any ideas ?
Thank you.

Reply With Quote


