Results 1 to 4 of 4
  1.    #1  
    Hello everybody!

    I'm a beginer in webos app development. Presently, I'm developping an app that use a textarea and I want to know how to send the text that is in this textarea to email or sms?

    Thank you very much and have a great day!
  2. #2  
    Hello,

    check out the official docs: https://developer.palm.com/index.php...547&Itemid=274

    Code:
    this.controller.serviceRequest(
        "palm://com.palm.applicationManager", {
            method: 'open',
            parameters: {
                id: "com.palm.app.email",
                params: {
                    summary: "test subject",
                    text: "Test email text.",
                    recipients: [{
                        type:"email",
                        role:1,
                        value:"
     address@email.com ",
                        contactDisplay:"Your name"
                    }]
                }
            }
        }
    );
  3.    #3  
    i am very begining in webos:

    where do i put this code? In my scene assistant then in my setup prototype?

    How can I do if I want to open the email app with my text when the user click on a button?

    How do I put the text of my textarea in this code?


    Thank you for your help!
  4. #4  
    if you have a textarea, then you should have a button that submits so that once you press the button it will open the email message with the text already populated. do you know how to set up a button, listen for it, and do "stuff" in the button's function? let us know what you need to do, and we'll definitely help.
    My site: Shanerooni, LLC
    Follow me on Twitter
    My apps: GuessWhat? | MazeHunter3D | Small Wonders | PhakePhoney | AutismAware | PicSketcher | Cubix | QuickSolve | QuickSpell | QuickTrace | QuickWhack | QuickSuite | Soccer Shots | Ballooning |
    Cubix

Posting Permissions