Paremeters allowed for local/remote message ports
By Anton Ivanov
08 Aug 2013 09:45
English
1 Replies
I am curious which objects can be set to Tizen::Base::Collection::IMap that is passed as a message when communicating between apps using Tizen::Io::LocalMessagePort and Tizen::Io::RemoteMessagePort.
For example, when I tried to use this code (slightly modified example), my app crashed.
void MyAppClass::GetOnlineFriends(void)
{
HashMap* pMap = new HashMap(SingleObjectDeleter);
pMap->Construct();
pMap->Add(new String(L"RequestType"), new Integer(42));
pRemotePort->SendMessage(pLocalPort, pMap);
delete pMap;
}
Am I doing something wrong, or only Strings are allowed as values when using message ports?
Edited by: Brock Boland on 17 Mar, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.
You must log in to use this service. Log in now?
The tag you entered already exists.
Do you want to report this post as spam?
The post has been reported as spam.
cannot be empty.
Are you sure you want to cancel and return to the list?
The code has been copied to the clipboard.
Enter a title.
All Categories
General Support
Tizen .NET
Web Application Development
Native Application Development
SDK & IDE
--------
--------