开发者

flex mobile project : send emails

I want to send email that contains form as a body f开发者_如何学运维rom my mobile app. I am searching in internet , but I am able to find help only for desktop or web applications. I came to know that I can use "mailto" protocol,but I dont know how can I use it for mobile project. Please help me with some examples or tutorials.


This works the same as it does inside a regular flex application. In your send method add something like this:

var urlRequest:URLRequest = new URLRequest("mailto:youremailhere@yourdomain.com"); navigateToURL(urlRequest);

I did notice that the mailto is case sensitive (mailTo worked in the emulator but not on the device, so make sure that it is "mailto"

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜