Win a copy of Terraform in Action this week in the Cloud forum!

Sayantan Auddy

Ranch Hand
+ Follow
since Dec 18, 2008
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 Sayantan Auddy

Oops!! MMAPI (JSR 135) is the JSR spec that you mentioned.
10 years ago
I have read about the Mobile Media API (MMAPI) but the problem is that there is only one device that supports MMAPI according to the article I read. Will try to find out about the JSR spec that you mentioned. Thanks for the info
10 years ago
Hi,

Is there any API which can be used to interact with a camera in a mobile device. I was thinking of a mobile application that can extract text from the photos clicked by the device's camera.
Thanks in advance.

Sayantan.
10 years ago
My requirement is as follows:
There is a java desktop application which runs a shell script. The shell script does an ssh to connect to a remote server and does some processing. The output of the shell script will be shown in the java application.

I started out with the following code but the program is getting hung. Any pointers regarding where I am going wrong will be highly appreciated.



11 years ago
Is there any standard library that I can use for uploading files to an sftp server?
Thanks a lot Srikant :-)
12 years ago
Theres another question I have:

Do bluetooth dongles support jsr 82, or is it that any device will do for an application built using j2me?
12 years ago
I have read on the internet that it is possible to use emulators that come with the sun wireless toolkit and other sdks supplied by phone manufacturers such as nokia. However till now I have been unable to find any simple tutorial that explains how to create a bluetooth application using these emulators. If anyone knows of any such tutorial then please let me know. Thank you.
12 years ago
Hi,
I am building a client application using J2ME which will run on a mobile phone and will send text data to a server that runs on a PC, using bluetooth. Is there any free software (simulator) available that allows me to test my application with bluetooth before I actually invest in buying a bluetooth dongle for my computer. If yes, then what are the steps required for using it from netbeans 6.0.1?
Any help will be greatly appreciated. Thanks in advance...
12 years ago
I am using apache commons net to create a telnet client program that sends requests programmatically.
Under certain situations the TelnetClient object may time out (the timeout has been set previously). When the
time out occurs I want to catch the exception and send a different request. Till now I haven't been able to
catch the exception. Is there a way out?



The error message looks like this:
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)

at java.net.SocketInputStream.read(SocketInputStream.java:129)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:254)
at java.io.BufferedInputStream.read(BufferedInputStream.java:313)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
at org.apache.commons.net.telnet.TelnetInputStream.__read(TelnetInputStream.java:114)
at org.apache.commons.net.telnet.TelnetInputStream.run(TelnetInputStream.java:535)
at java.lang.Thread.run(Thread.java:595)


Please help
What is the best way of writing errors to a log file that is a simple text file? Is using the java.util.logging package a good idea?
12 years ago
Thank you Ajay.Thats another way of doing it.Will try it out
I have to say this:
JavaRanch is the best place on earth for Java enthusiasts.
Thanks a lot to all of you at JavaRanch who have helped me whenever I've needed it,
and the promptness with which help arrives is quite amazing. Keep it up guys
12 years ago
Thank you so much Ulf. This solves my problem
Thank you James for the suggestion.