语言

Menu
Sites
Language
How to change content-type in tizen.email

Hi,

I use AppManager for launch email AppControl in my native app. But the content-type of the text is "text/plain".

I want to change this to "text/html".

I try to change the second parameter in Start() but it doesn't work.

This is my code :

String typeContent = L"text/html";
    AppControl* pAc = AppManager::FindAppControlN(L"tizen.email", L"http://tizen.org/appcontrol/operation/compose");
	if (pAc)
	{
		pAc->Start(	null,
				&typeContent,
				&extraData,
				null);
		delete pAc;
	}

Can you help me ?

Thanks.

响应

2 回复
Alex Ashirov

Hi,

AFAIK, MIME type isn't supported by email AppControl:

Base application  Operation                                                                       URI          MIME
Email                      http://tizen.org/appcontrol/operation/compose  mailto       ---

 

hgw7

HTML identifier "text/html" is defined in RFC 2854.

Tizen supports RFC 2046 MIME type data.