• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Open a word file from a midlet

 
bhuvan esh
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

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.


Thanks in advance.
 
bhuvan esh
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could any one help me out i am unable to open a word file from the phone memory using midlet
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
bhuvan esh
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply
 
bhuvan esh
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ulf,

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.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18212
53
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"bhu boo",

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.
 
bhuvan esh
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
bhuboo is my nick name and my full name is bhuvanesh
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18212
53
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks!
 
bhuvan esh
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,

I wasn't able to find any solution for opening a file from a midlet.

does any one could provide a solution for this.


Thanks in advance
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18212
53
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you have a built-in application that can open MS-Word files on the device (such as MS-Word Mobile?).
 
bhuvan esh
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a word processor application that can open MS-Word files on the device
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic