Results 1 to 2 of 2
  1.    #1  
    Hello, I am working on a webview app, and so far I have the newBrowsercard, newEmailcard working. What I would like to do is make a new card for calling as well. Although i am completely unsure how to do that. So when a telephone number is clicked in my webview, it opens my phone app. Below is my code for the email redirect, does anyone have the code for the phone redirect? I am a nooby completely at this, so please keep it simple. I should mention this is an enyo touchpad app 3.0.5 SDK. Thanks!

    {
    kind: "WebView",
    name: "myWebView",
    layoutKind: "HFlexLayout",
    url: "http://www.cayuga-cc.edu/iphone",
    onUrlRedirected: "redir",
    redirects: [

    // Intercept and redirect any link with 'mailto' in the url to our redir function
    {regex: "mailto", cookie: "newEmailCard", enable: true}
    }

    openEmail:function() {
    this.$.appManager.call({
    '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",
    }]
    }
    });
    }
    Last edited by childofthekorn1318; 02/22/2012 at 09:58 AM.
  2. twack's Avatar
    Posts
    634 Posts
    Global Posts
    638 Global Posts
    #2  
    You're probable better off posting your question at:

    https://developer.palm.com/distribution/index.php
    TWack
    On my 4G TouchPad, Pre3 or Panda-Veer.
    If you like our patches, please consider donating to the cause.



    |wackware|google+|facebook|twitter|shortcut|mylo|multiapp|flashfile|donate|

Posting Permissions