Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JavaMail or GSM with J2ME

843834May 19 2008 — edited May 19 2008
Hi guys,

I'm currently trying to tackle a problem where I will need to email some data from a Java enabled PDA/Cellphone. The idea here is that the user fills out a form, clicks a 'submit' button and then puts the device in their pocket. The J2ME application should then take the information from the form and send it over to a gmail email account. The data is retrived from the gmail account at a later stage.
I'm not fussed about the design on the J2ME form, but I'm slighly confused with communication.

This is my idea so far:

- Get the user to connect the device to the net via wireless so the J2ME app can send the email usinbg JavaMail.
- This requires the user of the device to be within a wireless AP.
- The device will need to be on a data plan (assumption)

or:

- Use an API (javax.wirelsss or some Nokia API) to send a GSM message to a email address (dont even know if you can do that). I assume that the device only needs a GSM connection.


Has any one does anything like this before? Or can anyone give me a pointer to where I might be able to find some useful information? Or can anyone help my clarify my (virually non-existant) understanding on mobile commnitation?

Everyone is welcome to comment.

Thanks in advance.

Wojtek K
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 16 2008
Added on May 19 2008
1 comment
111 views