aspose file tools*
The moose likes Java Micro Edition and the fly likes attachment to J2ME client Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "attachment to J2ME client" Watch "attachment to J2ME client" New topic
Author

attachment to J2ME client

lokesh jain
Ranch Hand

Joined: Feb 21, 2009
Posts: 58
hi all,
I am a newbie in J2ME. I successfully made J2me client for J2EE web service. However I am afraid if we can send any attachment like pdf or text file or any image to the J2me client. Can anyone help me please? Also do let me know what is the maximum size of the attachment we can send?

Thanks in advance
Lokesh
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16014
    
  20

When you say "send to client", you're making a contradiction. You "send to" a server. And mobile devices aren't networked in ways that make them very usable as server.

On the other hand, using a J2ME app as a client, you can contact a server and upload files using protocols like HTTP. There's no real restriction here, as long as your device has the bandwidth to do the transfer (in a reasonable amount of time) and there's enough available storage on the device to hold it.

Of course, when you upload a PDF file, that usually implies you have a PDF reader program. But that's a completely different matter.


Customer surveys are for companies who didn't pay proper attention to begin with.
carox kaur
Ranch Hand

Joined: Mar 19, 2009
Posts: 52
Hi all, I am also a newbie in j2me. I am making a mobile mail application. I want to give the clients a facility to send/recieve mails from mobile. I am also facing a similar situation: attachments with mail. Can I get hint as to how can we give the facility of attachments...I have made the screen of composing the mails...
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: attachment to J2ME client