Please could you help me in sending a data from Mobile appication to Web Server in WBXML format ? I have got a bit to convert xml to wbxml but not ... |
i'm trying to change a Skor4 game (feor two players) into tic tac toe. The problem is that in the source code that im trying to change sends only the x ... |
I want to know if an applet made in java, can send data to the server and store it on a data base. I'm trying to make something that is executed ... |
HI all
I need to send an dynamically generated html to server using html form, html can be bigger size at present it is 1MB
I m sending an dynamical generated html to ... |
I can't figure it out how I can send commands via Jsch shell channel.
I do this, but it doesn't work:
JSch shell = ...
|
I've been tasked with a project where the customer would like to send SMS, MMS messages from a mobile device. They would like to have a dedicated phone number to ... |
I want to send a msg to a web server from a mobile phone through USSD. Is it possible and if yes how can i do it?
|
|
So, I'm curious.
How would one go about sending XML, such as,
<request>
<playerID>Name</playerID>
</request>
to a server, using Java.
Is there a predefined method that exists within the Java API, or something of that sort?
Does sending ... |
I create my class in a client and use a server for communication between client and server, but I have a problem to convert this class. I send an object of ... |
We have an openfire server and some clients that send regular messages between them.
Let say 1 message every 3 to 5 second.
But after a few minutes, I got the error message ... |
I have a webpage that does a lot of processing in JavaScript and creates some nice tables/graphs/etc. I want to export this to Excel and have not found any PHP libraries ... |
Is there any free server which allows you to send and publish live video stream from your application to the server and other clients to join on the server and watch ... |
When i try to send a value "Login>Success" to server i get the value as Login%3ESuccess.
How can i send the greater than symbol in the java string.
|
Socket s1=new Socket("localhost",3001);
System.out.println("Client process");
byte b[]=new byte[150];
int n=4;
BufferedReader BR=new BufferedReader(new InputStreamReader(s1.getInputStream()));
String str=new String();
while((str=BR.readLine())!=null)
{
System.out.println();
System.out.println(str);
}
s1.close();
In the above code I'm trying to read a line from server ... |
I want to send the image stored in the RMS to server. For that I have stored the captured image in the RMS. I can access it successfully and can show ... |
Please consider a small car tracker project.
A GPS device is installed on each car, which sends data through the GPRS to a server.
Would you please tell me, what GPS ... |
I'm makinga Java server for the last version of the draft. I managed to make the connection, and that's working great.
The problem is that I don't understand how the data ... |
|
You have it the wrong way around: If a request is a GET, then doGet is invoked, and if it is a POST, then doPost is invoked. The service method contains the code to differentiate between the two, and dispatch a request to the appropriate doXXX method. If you use Firefox, check out the excellent LiveHTTPHeaders extension. It lets you view ... |
hi, i am trying to input a student name on a client(which is working for me) , which is then sent to a server and displayed on the server screen!! i just cant get this to work for me for some reason! It stops at "s = (Student)istream.readObject();" on the server, could someone please help me on this one as i've ... |
confused!!! Right let me explain..I have two other classes that do some calculations once those calculations have been done i return them into this class stc01 which is to be sent to a server which adds the two totals then sends the answers back. for some reason it just wont send. I have tested it to see if it is returning ... |
|
|
|
Hello! I downloaded some .jar files from htt * p://sourc * eforge.net/projects/cmusphinx/files/sphinx4/. I want to run sphinx4-1.0beta3-bin\sphinx4-1.0beta3\bin\HelloDigits.jar. This file is 4kB and is seen by system as "Executable Jar File" so everything should be all right. Unfortunately, there are some errors when running it with "java -jar Hello.jar" in Command Prompt. It looks like there is no required javax.speech.recognition.GrammarException. I found ... |
Hello :-)! In general I want to create application for CLDC (with the use of MIDlet). (And maybe later to try the same with CDC). I want my application to create some data based on communication with the user of mobile phone and then to send little text file to the application on server computer. I found that there exists such ... |
public void startServer() { try{ ServerSocket server = new ServerSocket(8558); if(server.getLocalSocketAddress()!=null) { System.out.printf("Server running.\n\tAddress:%s\n", server.getLocalSocketAddress(),server.getLocalPort()); }else { System.out.println("Failure"); } Socket client = server.accept(); this.client=client; reader = new InputStreamReader(this.client.getInputStream()); buffy = new BufferedReader(reader); }catch(Exception e) { e.printStackTrace(); } } public void receiveMessages() { System.out.println("Ready to receive messages."); while(client.isConnected()==true) { try{ if((this.incomingMessage=this.buffy.readLine())!=null) { this.serverActivityNumber++; System.out.printf("%d. Message Received from %s:\t %s.\n ", this.serverActivityNumber,this.client.getLocalAddress(),this.incomingMessage); } ... |
I'm trying to design a chat client that will be able to send messages to a server and receive messages simultaneously. Here is pseudo-code for what I have so far: while(true){ System.out.print("What do you want to write to the server?:"); userInput = reader.readLine(); //line 3 writeToServer(userInput); messagesFromServer = getServerMessages; System.out.println("Server: "+messagesFromServer); } My problem is that my program will pause and ... |
|
|
|
Hello! I downloaded some .jar files from http://sourceforge.net/projects/cmusphinx/files/sphinx4/. I want to run sphinx4-1.0beta3-bin\sphinx4-1.0beta3\bin\HelloDigits.jar. This file is 4kB and is seen by system as "Executable Jar File" so everything should be all right. Unfortunately, there are some errors when running it with "java -jar Hello.jar" in Command Prompt. [img]http://images42.fotosik.pl/108/e0ec49674bdb05d4.jpg[/img] It looks like there is no required javax.speech.recognition.GrammarException. I found this site http://java.sun.com/products/java-media/speech/index.jsp ... |
I am developing a java appllication which consist of a GUI(a text field and other components) and wants to implement this functionality. Anytime the user is typing in the text field and pauses for sometime, may be for 5 seconds or more,i want what he has typed to be sent to the server for validation without the user clicking on any ... |
hi, im working with jpg uploading php server side script. this is the php code part of it. 0) { echo "Return Code: " . $_FILES . " "; } else { echo "Upload: " . $_FILES . ... |
Hi, In my application I want to send messages through windows msg command to the coneected machines.I tried the following code, Process p=Runtime.getRuntime().exec("cmd /c msg * /SERVER:snatarajan.corp.com test"); But it is not sending the message properly.When I execute "msg * /SERVER:snatarajan.corp.com test" in the command prompt it sends a message to the snatarajan.corp.com server with message"test" in a dialog box. I ... |
|
As far as I know, you can send data over either by sending SMS messages (Wireless Mesaging APIs - JSR 120, JSR 205) or over Bluetooth (Bluetooth API - JSR 82). These two are the only two communication technology with APIs defined in J2ME at the moment. If you need to implement other technologies, Symbian C++ apparently is the one to ... |
Your Server is setup to both listen for the socket to be opened (constructor) and to process the data sent to the socket (run() method). You create a Server object which listen for the socket to be open (in the constructor); but, you never call the run() method which reads the input or startup a new thread with the Server object ... |
|
|
|
Hi all, I've been looking around in the forum but i still can't find a way of sending byte[] to my application server (jboss) using browser (ie). I've tried to dump all the bytes data into a hidden field and send thru html post, and then convert it back to byte[], but data seems not the same and the image can't ... |