Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
Ebscer
Posts: 875
Registered: ‎08-31-2009
My Device: 9530, 9630, 9800, 8530, 9900, 9810, 9930, PlayBook, Dev Alpha

Unable to invoke Twitter

According to the documentation at https://developer.blackberry.com/cascades/documentation/device_platform/invocation/twitter.html you should be able to directly invoke a Twitter profile. However, for me the following code does not do anything...

 

ActionItem
{
	title: "Twitter Profile"
	onTriggered:
	{
		invokeTwitter.trigger("bb.action.VIEW")
	}
	attachedObjects:
	[
		Invocation
		{
			id: invokeTwitter
			query: InvokeQuery
			{
				invokeTargetId:"com.twitter.urihandler"
				uri: "twitter:connect:blackberry"
			}
		}
	]
}

 Does anyone see what is wrong?


Read my thoughts on BlackBerry Development at news.ebscer.com