I am developing a application in which the user can download the files(text,word,excel and pdf) from server.
I have no issues in downloading the file, but i want to open the file after the download completes.
is there any possibility to open the file.
If the device in question doesn't have viewer applications for those file formats, then you'll have to write them yourself. For Excel and Word the Apache POI library may be helpful, while for PDF the PDFRenderer library may be best.
I want to develop a midlet which should open a word application.
For example i am using Nokia E61 mobile in which i have stored a word document in the image folder and i want the midlet to open and show that file in word processor application.
Is this possible using j2me.
The libraries I mentioned help with that on JSE. It's highly likely that they use classes that are not present in JME, though, but looking at their code may still be helpful.
Personally, I'd look into getting a proper doc viewer app that supports Word, Excel and PDF files instead of trying to do it in Java. It seems rather uncertain whether such an effort will be successful.
We don't have many rules here at the JavaRanch, but we do insist that you use your Real Name and not some sort of "handle" or obvious alias. If you're not sure about this, see
http://www.javaranch.com/name.jsp .
As far as opening documents goes, I have a phone whose OS is Windows Mobile, and even it can't open all MS-Word documents. The mobile versions of the MS-Office suite are considerably less powerful than the desktop versions.