Thanks Ahmed. But things are a bit confusing for me, it would be better if you can solve it.
You get connected to a servlet lying on web server. Then you open outputstream, add username and password to request and writing your request into bytes using the outputstream. Similarly with input sream you are reading till end of file.
> passing the two string as a request along with the url to the server
I am not understanding what exactly and how you are doing.
I also retrieve data from textFields of a form, and have to save them to a file lying on the server. Can you help me code how do I do this? Pass the parameters to the Servlet and do file saving operation in the servlet or directly access the fie lying on the server and save the details. Which option is better and how to code it? I can't make out and am confused.
Would be greatful if you can help me out.
Thanks
Trupti Mehta wrote:[quote=Ahmed Abdul Baqi
Hi Tripthi,
When any Mobile Application Development project comes the client will give the screen size on which the application should work like 240x320,176x280,320x240,So every screen size will have a base device based on the screen size and Device memory.The testing of the application will happen on these base devices like ex.6600,w580i and if the application works on these then it will work on n series and other w series devices.If you want to write a generic application that should be compatible for porting on all devices then you need to use geneirc methods in your MIDlet like getHeight(),getWidth and on the startApp() you need to check the screen size and then pass the height and width of the screen and the image or text box or pop up box will be printed on the canvas or form based on the screen size.But this practice will increse the lines of code in your MIDlet which will again give you another porting issue of wether the size of the application,so it depends people will create different applications for different screen sizes.
Ramesh Gudiya wrote:Hi...
Please advise me how to send vcards to my mail from my midlet...if it is not possible at least tell how can i retrieve it and store in my local system....as i am a newbie to j2me try to give me some sample code too...please its urgent respond me
bhuvanesh Lk wrote:how to find the rms size in total not one record store size... total size of the RMS?? if it depends upron the mobile device whats the size of RMS in motoming..one record store size is 1mb..i want to know int total how many 1mb record stores can it store??
malli sunkara arjun sunkara wrote:i am new to the j2me but familer with the j2se and j2ee , can any body pleas guide me how to learn the j2me
please.
Trupti Mehta wrote:
I have known that for professional mobile applications, it has to be available for all types of mobile screen sizes. Which is known as "Porting". Their are approximately 27 screen sizes. And the user selects mobile or screen size and we provide applicaiton for that size.
Can anyone help me know what is this and how to implement the it. Can't their be a way to develop a single application that is Ok with any screen size. Based on the screen size it fizes the components.
Any help is appreciated.