Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- components: [
- {name: "emailService", kind: "PalmService",
- service: "palm://com.palm.applicationManager/",
- method: "open",
- },
- {name: "messagingService", kind: "PalmService",
- service: "palm://com.palm.applicationManager/",
- method: "open",
- }
- ],
- sendEmail : function(inSender, inResponse) {
- var params = {
- "summary":"I found this on Reddit with Red It for webOS. Check it out!",
- "text":"Title: '"+this.storyStruct.title+"' URL: " +this.storyStruct.url+""
- };
- this.$.emailService.call({"id": "com.palm.app.email", "params":params});
- },
- sendMessage : function(inSender, inResponse) {
- var params = {
- "composeRecipients" :
- {
- "address" : "9193895334",
- },
- "messageText" : "Title: '"+this.storyStruct.title+"' URL: " +this.storyStruct.url+""
- };
- this.$.messagingService.call({"id": "com.palm.app.messaging", "params":params});
- },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement