×

Discussion Board

Results 1 to 4 of 4

Hybrid View

  1. #1
    Registered User
    Join Date
    Sep 2008
    Posts
    2

    Sending image programmatically, fallback using default email client?

    Hi!

    Using a J2ME midlet I need to capture and image on the N95 and send it programmatically to a location, either post it as data to a server or send it by email programmatically.

    In case of a network issue, as a fallback option I'd like my midlet to use the default email client and place a prefabricated email with the image in the Outbox. How can I achieve this?

    If this fallback scenario isn't possible, is there an alternative to temporarily store the image and resend it later, either programmatically or by the user using a default installed application?

    Regards, Ted

  2. #2
    Nokia Developer Moderator
    Join Date
    May 2007
    Location
    21.46 N 72.11 E
    Posts
    3,800

    Re: Sending image programmatically, fallback using default email client?

    Quote Originally Posted by tvinke View Post

    Using a J2ME midlet I need to capture and image on the N95 and send it programmatically to a location, either post it as data to a server or send it by email programmatically.
    I think these links might help:

    http://yanuperwira.wordpress.com/200...on-serverj2me/
    http://wiki.forum.nokia.com/index.ph...load_with_J2ME

    Best Regards,
    Croozeus
    Pankaj Nathani
    www.croozeus.com

  3. #3
    Nokia Developer Champion
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,406

    Re: Sending image programmatically, fallback using default email client?

    Hi tvinke,

    about your fallback scenario: you cannot create and place an email in device's default email client OutBox.

    So, the alternative could be the one you describe, locally storing the captured image (using RMS or FileConnection) and then resending it when network connection is newly available.

    To automatically check and retry to send the image you could use PushRegistry, to let your MIDlet automatically (and periodically) restart.

    Pit

  4. #4
    Registered User
    Join Date
    Sep 2008
    Posts
    2

    Re: Sending image programmatically, fallback using default email client?

    Is this a limitation of J2ME's security model perhaps?

    Quote Originally Posted by jappit View Post
    Hi tvinke,

    about your fallback scenario: you cannot create and place an email in device's default email client OutBox.

    Pit

Similar Threads

  1. nokia email client setup via code
    By morost in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2007-11-21, 07:58
  2. Camera API on Symbian 9.1 (Nokia N80)
    By srigans1 in forum Symbian Media (Closed)
    Replies: 4
    Last Post: 2007-10-20, 05:31
  3. Opening a JPEG Image
    By ummarbhutta in forum Mobile Java Media (Graphics & Sounds)
    Replies: 8
    Last Post: 2007-02-15, 06:34
  4. How to send an image with attachment in email
    By krtrivdi in forum Symbian
    Replies: 1
    Last Post: 2007-01-09, 12:07
  5. Problem with sending image
    By ckt in forum Symbian
    Replies: 5
    Last Post: 2007-01-03, 08:27

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×