hi Archana,
I have given you an example only, you can use the screen capture without use of Database things. To pass byteArray, you need to make the Midlet as client of the servlet. Yes, you can send byteArray from servlet to Midlet. You need to use Canvas class in midlet.
Hi all,
I am Lokesh. I want to open any website on Mobile using J2ME. I have written code for that. However I am not getting the result ( website is not opening). Please help me.
hi, You can simply put Textboxes in MessageForm Class. You need to remove and insert the new textboxes as according to requirement. Hope it can solve the issue.
hi,
I am working on an application in which I made web service which produces reports in .pdf format and I have made a J2ME client for that as well. How can I view the .pdf format reports in J2ME. I am using the Base64 conversion for the data transfer from web services to J2ME client.
hi, you are right, we can do like that. However, I need to get the file as attachment to client side, not getting the Byte Array. Is this possible that, we get the text file and store it in RMS and then read it from RMS itself??
hi all,
I have made a java web service. Which takes SQL query, Username and password of Database to connect to and the file name which i want to give to the created text file as parameters and it returns a text file. Now, I want to receive the same file ( stored at server side) on J2ME client side. If i make a normal Java web service client then I can get the file using DataHandler. However, I am not able to get the file as attachment using the DataHandler at J2ME client side. It said it does not recognize DataHandler, however I tried and the server side code returns the datahandler as byte[]. I tried to take the advantage and in J2ME client took the result as byte[]. But no use It is giving me Uncaught exception java/lang/NullPointerException. Can you please look into it. I am attaching the files, Server side code and the client side code and the files made as stub.
The client side code is here
hi, I am using the same as you are saying. I am using computer name instead of localhost. However when i try to make j2me as client of web service then it does not ask for WSDL path. It simply accepts the web application and the methods in web application. That is the problem.
hi,
I have made a web service in java and using the j2me as client for that in Netbeans 6.1. This is working fine for the web service and j2me client made on same computer. However when I made the service on another computer, I do not get any idea, how to make j2me as client on my computer? I am using Netbeans 6.1 IDE. Please help me As Soon As Possible.