×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jun 2013
    Posts
    8

    Cool open default email/mail client from lwuit button

    Please tell me how do I open he default email client from a lwuit button? and also predefine its subject and email address.
    I know how to use buttons. I would appreciate code for email client. (cant find on internet)
    using nokia s40 sdk from eclipse

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,751

    Re: open default email/mail client from lwuit button

    You can try platformRequest with mailto as documented here: http://www.developer.nokia.com/Resou...n-java-me.html. I do not see the exact format, but discussion http://www.developer.nokia.com/Commu...tformRequest() contains a short example, for specifying the subject I would try using subject=... in a similar way as shown with body= in the example.

  3. #3
    Registered User
    Join Date
    Jun 2013
    Posts
    8

    Re: open default email/mail client from lwuit button

    Thanks I tried this. It works fine in the emulator but when I run it on my phone it only displays a web browser screen for a sec and returns back to my application.. and no email client is launched. I'm using nokia asha 311. Help

    Quote Originally Posted by wizard_hu_ View Post
    You can try platformRequest with mailto as documented here: http://www.developer.nokia.com/Resou...n-java-me.html. I do not see the exact format, but discussion http://www.developer.nokia.com/Commu...tformRequest() contains a short example, for specifying the subject I would try using subject=... in a similar way as shown with body= in the example.

Similar Threads

  1. Cannot open Mail client from other process
    By diorahman in forum Symbian
    Replies: 7
    Last Post: 2011-02-23, 10:40
  2. Question regarding the default email client
    By digitalsol in forum Symbian
    Replies: 7
    Last Post: 2011-01-05, 10:48
  3. Open the device's default e-mail client
    By eyalmnm in forum Mobile Java General
    Replies: 4
    Last Post: 2009-09-06, 09:45
  4. s603rd: MTM - how to become the default mail client
    By blizzz in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2006-07-13, 11:36

Posting Permissions

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