Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link

Krishna Chaitanya

Greenhorn
+ Follow
since Dec 29, 2005
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Krishna Chaitanya

Hi,
I got the following exception while trying to connect to a remote server using ssl, Could anybody tell me why and when do these kind of exceptions arise.

I'm establishing a connection in the following manner

String url ="ssl://210.210.13.115:8251";
System.out.println("before connecting to ssl");
StreamConnection socket = (StreamConnection)Connector.open
(url,Connector.READ_WRITE,true);
System.out.println("after connecting to ssl");

I got the following exception message

java.io.IOException: Bad record type (97) or version (97.97)
at com.sun.midp.ssl.Record.rdRec(+284)
at com.sun.midp.ssl.Record.rdRec(+5)
at com.sun.midp.ssl.Handshake.getNextMsg(+17)
at com.sun.midp.ssl.Handshake.rcvSrvrHello(+5)
at com.sun.midp.ssl.Handshake.doHandShake(+29)
at com.sun.midp.ssl.SSLStreamConnection.<init>(+157)
at com.sun.midp.io.j2me.ssl.Protocol.openPrim(+249)
at javax.microedition.io.Connector.openPrim(+299)
at javax.microedition.io.Connector.open(+15)
at UtilityServices.connectSSL(+28)
at UtilityServices.run(+12)
16 years ago
Hi,
I've been developing a bluetooth application wherein i need to communicate between 2 bluetooth enabled device, one of them being a mobile phone. My problem is that in order to test the application i need to deploy the application always on a mobile phone to test for its functionality and also i find it hard to trace the flow and debug.
I would like to know whether is it possible to simulate the mobile phone functionality on an emulator and communicate between an emulator and the bluetooth device. I have been using Netbeans4.1 and WTK2.3 in my development environment.
Is it possible to use a bluetooth dongle for the said purpose, if so how can i make use of it.

Krishna
16 years ago
Hi,
I'm communicating with the server using sockets. can anybody tell me is it possible to use ssl against socket connections. I think J2ME has an extension to its socket protocol(not sure).

Thanks
Krishna
16 years ago
Hi,
Currently i'm working on a project which involves developing gui that display tabbed panes. Could nay one tell me as to how to develop tabs in j2me.

Thanks
16 years ago
Hi,
I'm developing a mobile application wherein I first need to access the contents of the configuration file and then through need to erase the previous content of the configuration file with the new data entered thru the front end application (midlet). I was able to read the content of the existing file.. now i need to erase the already existing content with the new one. Kinldy please suggest me how do i fix the said problem.

A sample code of how i'm reading the existing file is stated below

InputStream in = this.getClass().getResourceAsStream("/Settings.cfg");

Thanks
16 years ago
Hi,
I'm facing some problems accessing files(text files) packaged along with midlet programs .

I have an application which consists of a midlet and a configuration file(text file). The configuration file is also bundled along with the midlet and deployed onto the mobile phone. Now I need to access the file and read its contents how do i do it. I tried it using FileConnection API and other methods, but in vain could not succeed. Given below is sample code form my application which i have written to access the file.

String url="file:///myfile.cfg"
InputConnection con = (InputConnection)Connector.open(url)

When i try runnignthe application it gives "Malformed url" Exception.

I request one and all to kindly suggest me how do I solve this problem. It is required very urgently.

Thanks
16 years ago
Hi,
I'm developing a j2me application to access a web-application residing on the remote server for the purpose i have to use socket's to establish a client - server communication. While doing so i get the following exception

java.lang.SecurityException: Target port denied to untrusted applications

I'm connecting tothe server using the following syntax:

SocketConnection sc = (SocketConnection)Connector.open("socket://localhost:8080");

I request to kindly provide me a solution and help me resolving the issue.
It is very urgent.

Thanks
Kumar
16 years ago