Does appcelerator inbuilt anaylitics launch an Analytics server event that occasionally would prevent EmailDialog from working on the hardware, even though it works on the simulator?
I'm trying to replicate a bug - but don't know enough about what happens with analytics behind the scenes. The EmailDialog now seems to be working - but previously I would see the status bar spinner even though I'm not calling any server events, so I attribute it to some kind of analytics thing. Anyone have more info on this?
I'm using SDK 2.0.1 GA2, iPhone 4s, iOS 5.1
Cheers, Anthony
1 Answer
Hi,
As I understand your question it organized by unSupported() method.
Link: http://developer.appcelerator.com/apidoc/mobile/latest/Titanium.UI.EmailDialog.isSupported-method.html
For example
........................
var emailDialog = Titanium.UI.createEmailDialog();
if (!emailDialog.isSupported()) {
Ti.UI.createAlertDialog({
title:'Error',
message:'Email not available'
}).show();
return;
};
......................
I hope this helps you.
Regards, Mane H
Your Answer
Think you can help? Login to answer this question!