lokesh jain

Ranch Hand
+ Follow
since Feb 21, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by lokesh jain

Hi,
That's good !! Can you tell me, how you did it. It will add to my knowledge base as well.


regards
Lokesh
14 years ago
Hi, Here I would like to give you a link, which performs servlet to midlet communication. webpage

I think your doubt will be cleared.

regards
Lokesh
14 years ago
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.
14 years ago
hi,
You need to treat midlet as the WebService client and you can call the method in the midlet then like this


here dbss.DB(DataQuery, UsrNam, Pswrd,FilNam) is the method of the web service .java file.

regards
Lokesh
14 years ago
Yes, you can do it. You can do it using Netbeans.

regards
Lokesh
14 years ago
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.


thanks in advance
14 years ago
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.

a million smiles
Lokesh
15 years ago
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.

regards
Lokesh
15 years ago
Why don't you add list in a form, it will be easy and will reduce the processing time as well.

regards
Lokesh
15 years ago
hi himanshu,
I am really sorry as I am new for recordstore things, however I will check and if get something for you, will message you

regards
Lokesh
15 years ago
hi, please visit any of these 3 links :

webpage


webpage2

webpage3

Hope so that these links will help you:)
15 years ago
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??

regards
Lokesh
15 years ago
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


The server side code is ::



Thanks in advance
Lokesh
15 years ago
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.
15 years ago
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.

Thanks in advance
Lokesh
15 years ago