emailto link in native browser control?
Posted: Fri Oct 12, 2012 1:50 pm
I have a mobile app that loads a web page into the browser control. I'd like email links to open the email program.
If I go to this web page in the phone's browser (outside of the app) then email links work fine.
If I do the same from within the app, the app tries to load a web page instead of opening the email program, and the web page error shows "The webpage at xxxx@email.com might be temporarily down.." etc - basically a 404 error.
How do I let the app browser know what I want it to do here?
I tried using "on browserLoadRequest pURL, pType" to intercept, but it doesn't seem to catch it, or maybe I did it wrong. (I thought if I did catch it, I could use revMail to do the same thing.)
Thanks!
Mark
If I go to this web page in the phone's browser (outside of the app) then email links work fine.
If I do the same from within the app, the app tries to load a web page instead of opening the email program, and the web page error shows "The webpage at xxxx@email.com might be temporarily down.." etc - basically a 404 error.
How do I let the app browser know what I want it to do here?
I tried using "on browserLoadRequest pURL, pType" to intercept, but it doesn't seem to catch it, or maybe I did it wrong. (I thought if I did catch it, I could use revMail to do the same thing.)
Thanks!
Mark