Santhana Lakshmi.S

Ranch Hand
+ Follow
since Aug 16, 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 Santhana Lakshmi.S

hi

i am developing one bluetooth application like bluetooth remote control through mobile to PC in java.when i tried to run my Server in desktop i am getting this error.

"BlueCove version 1.2.2
Create server by uri: btspp://localhost:0000110100001000800000805f9b34fb;name=PC
ServerCOMM
Failed to create socket
java.io.IOException: Failed to create socket
at com.intel.bluetooth.BluetoothPeer.socket(Native Method)
at com.intel.bluetooth.BluetoothStreamConnectionNotifier.<init>(Bluetoot
hStreamConnectionNotifier.java:48)
at com.intel.bluetooth.MicroeditionConnector.openImpl(MicroeditionConnec
tor.java:133)
at com.intel.bluetooth.MicroeditionConnector.open(MicroeditionConnector.
java:74)
at javax.microedition.io.Connector.open(Connector.java:79)
at simple.PCServerCOMM.<init>(PCServerCOMM.java:80)
at simple.PCServerCOMM.main(PCServerCOMM.java:171)"

how to solve this problem.
can any one help me out..

thanks in advance
laxmi
11 years ago
hi
I want to restrict the user by making copy of that application and use it in other mobile phones.

Can you tell me how to achieve it?

Thanks a lot
11 years ago
hi
I am developing a J2ME mobile application.
I want to protect my application from piracy.
I read articles regarding provisioning and connecting to a web serverusing midlet's install notify property.
But the above two options need GPRS connection in mobile.

How can i provide security to my application if the mobile does not have GPRS?
Any other way of preventing priacy?

Thanks a lot in advance.
11 years ago
I am doing an application in J2me.In j2me,it is possible to transfer the application from one mobile to pc and from the pc to another mobile using USB Cable.
My application is not a freeware and the user has to buy it.If a user buys,then it is possible to transfer the application from his/her pc to "N" number of mobiles.
i want to prevent this kind of transfer.if one user downloads the application then how can i prevent the user to transfer the application to more than 1 mobile?
Can anyone help me in sorting out this problem?
11 years ago
Hi,
I want to do an J2ME application to read the messages(SMS) in the mobile inbox.
Is it possible to read the message in the inbox and display the contents?
Can anyone tell me how to do this?

Thanks and lot in advace.
11 years ago
hi,
i want to get the path of the file where i stored in my computer
i.e.,if stored my file in desktop the path will be C://Documents and Settings/Desktop/myfile.txt.

how can i get this file path in java?

Can anyone help me in this?

Thanks a lot
11 years ago
hi,
In my project,i am retrieving mails from a particular email id.
I am able to retrieve the latest mails and save it in a folder in my system.
The problem is whenever i run the program eventhough the most recently received mail in inbox is retrieved and saved,again it is retrieving the same one and saving it in the same folder(not repeating).

I tried to check the newmessages in the inbox using the folder.hasNewMessage() method in java mail api,but the method is returning false only regardless new mail is there in inbox or not.
I want to read the unread messages only.Dont want to retrieve the already read mails.
I got the mail retrieving code from the below site.(sorry not posting the code because it is so long and having 4 classes)
http://www.builderau.com.au/program/java/soa/Getting_the_mail_in_receiving_in_JavaMail/0,39024620,39228060,00.htm

Can anyone tell me how to read unread mails in the inbox?


Thanks a lot
11 years ago
hi,
To do background processing i tried using <jsp:include>
Using that tage i am able to retrieve the mail attachements.
But i added that tag in the main page of my project which will come after the login authentication,so the problem iam facing is,for login into the project itself taking somuch of time.

can anyone tell me how to retrieve the mailattachements dynamically in the server?

Thanks a lot
11 years ago
JSP
hi

can i add key listener and mouse listener in jsp if i can do that one tell me the solution, how to add this listeners in jsp.

can any one know send me reply as soon as possible.

thanks in advance
hi,
No need to display the content,Instead displaying a message to user indicating the content is retrieved and stored in the server is enough.

Do you have any idea of doing background processing?

Thanks a lot
11 years ago
JSP
hi,
I am doing one web application in JSP.In that project,i want to download the email contents and attachment came to a particular email.
I did this retreiving from emails whenever i clicks on a link.
it is working fine.and i am able to retrieve the email content perfectly.
Now i want to do thie retrieving without clicking any link or button,it has dynamically retreive the content from the mail.
Is it possible to make the retrieving code running in the background whenever i logs into the application?
If so can anyone tell me how to make a background process using jsp?

Thanks a lot
11 years ago
JSP
hi
check out this two links
http://developers.sun.com/techtopics/mobility/midp/ttips/platformRequest/index.html

http://developer.sonyericsson.com/site/global/techsupport/tipstrickscode/java/p_java_0804.jsp
11 years ago
hi

If possible to connect web sites in j2me application itself without using wap browser in mobile.

thanks a lot
11 years ago
hi,
In my project,
I created one client porgram in j2me,which will get the request from the browser and send that request to the proxy server and get the response from the proxyserver and send it back to the browser.
Browser<->Myapplication<->proxyserver.

my program is working fine in emulator.after installing my application in the mobile(i tested in Nokia6630 and also N70)the request from the browser in the mobile is not going to the proxyserver.
First, i run the application and then i opened the browser.by that time the connection between the browser and my application is getting established and nothing happens then.
If I close the browser then the request is going to proxyserver.
the following is the code i am using to send the request and getting back the request.

String str = "socket://203.199.200.4:9393";
s = (SocketConnection)Connector.open(str,Connector.READ_WRITE);
/*OutStream to write the request to the proxy server*/
out = s.openOutputStream();
outw = new PrintStream(out);
outw.print(requestHeader);//request from the browser
outw.print("\r\n\r\n");
outw.print("\r\n\r\n");
outw.flush();
/*Inputstream to read the response from the proxy server*/
in = s.openInputStream();
/* writing the response in the browser*/
while((len = in.read(buffer))!= -1) {
os.write(buffer, 0, len);
}

Can anyone help me to make this working in mobile?i am struggling for so long time to do.
thanks a lot.
11 years ago
hi,
I am trying to connect my client program written in j2me to the proxy server while reading the data from the proxyserver and writing it to the client i am getting the java.io.IOException: error 10054 during TCP read exception.
i didnt close the socket in my program.
Can anyone tell me how to overcome this exception?

Thanks a lot
11 years ago