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
Contributor
GENBB
Posts: 10
Registered: ‎08-12-2011
My Device: BOLD 9900
My Carrier: Vodafone

Button Share - who can help me ?

[ Edited ]

I have made a simple app of my blog, It`s publicated in AppWorld http://appworld.blackberry.com/webstore/content/132077/?lang=es

 

It`s my first aplication in cascades but now want to introduce a button share. The aplication has a  barr back and in the middle i had put the button. But now i want that it work and dont know how.

 

I had been reading guides but dont found how to sahre in Twitter, facebook, google, tumblr, etc... 

 

more or less i did that:

 

actions: [
   ActionItem {
            title: "Share"
           ActionBar.placement: ActionBarPlacement.OnBar
          onTriggered: {
          myLabel.text = "Share selected!"
          }
   }
]

 

 

i dont kwon how configurate it?

 

 

Thanks 

 

 

Edixon 

Devs, NewGenteBlackBerry
Please use plain text.
BlackBerry Development Advisor (Retired)
gperry
Posts: 138
Registered: ‎05-11-2012
My Device: Developer
My Carrier: Developer

Re: Button Share - who can help me ?

Have you looked at the Photo Bomber sample app? In it there is a share button defined and it shows how to link to an external function. Hopefully that will help you make some progress.

 

Regards

Graham

Please use plain text.
BlackBerry Development Advisor (Retired)
gperry
Posts: 138
Registered: ‎05-11-2012
My Device: Developer
My Carrier: Developer

Re: Button Share - who can help me ?

Sorry forgot to welcome you to the Forum's :-)

 

Sorry to be rude

Graham

Please use plain text.
Contributor
GENBB
Posts: 10
Registered: ‎08-12-2011
My Device: BOLD 9900
My Carrier: Vodafone

Re: Button Share - who can help me ?

Ha ha ha don' t worry friendo. Nice to meet you 

Devs, NewGenteBlackBerry
Please use plain text.
BlackBerry Development Advisor (Retired)
gperry
Posts: 138
Registered: ‎05-11-2012
My Device: Developer
My Carrier: Developer

Re: Button Share - who can help me ?

:-)

Please use plain text.
Contributor
ejup2009
Posts: 20
Registered: ‎05-18-2010
My Device: BOLD 9900
My Carrier: vodafone

Re: Button Share - who can help me ?

Hello friend.. i download the example you told me .. it appears a instruction but dont undestand it.. I need to set the buttom "SHARE" to add Twitter and Facebook... i want that when people push "share twitter" send me to Authentication & Authorization Twitter or FAcebook 

Enviado de mi BlackBerry Bold 9900

Ejup2009_Dev
Please use plain text.
BlackBerry Development Advisor (Retired)
gperry
Posts: 138
Registered: ‎05-11-2012
My Device: Developer
My Carrier: Developer

Re: Button Share - who can help me ?

Think this thread will give you the information that you are looking for.

 

http://supportforums.blackberry.com/t5/Cascades-Development/twitter-follow-me-button/td-p/1896947

 

Graham

Please use plain text.
BlackBerry Development Advisor (Retired)
gperry
Posts: 138
Registered: ‎05-11-2012
My Device: Developer
My Carrier: Developer

Re: Button Share - who can help me ?

Please use plain text.