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


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
Developer
Posts: 614
Registered: ‎10-17-2010
My Device: (BlackBerry Z10)-> Q10/Passport Dual Use

Finally Solve OAuth on BB10

Hello devs!

Did you know that there are Oauth libraries for BlackBerry 10? They look great. They came out of BB10 Jam Orlando.

I am having one major issue. When I fork them from GitHub I cannot compile/build them. There are a bunch of errors, primarily with paths and inclusion of class header files. My use case is extending parts of this code into my application.


Here is the code

BlackBerry Oauth 2.0

https://github.com/kylefowler/bb-cascades-oauth

 

Foursquare(Oauth) BB10
https://github.com/kylefowler/foursquare

Tumblr(Oauth) BB10
https://github.com/kylefowler/tumblr

Twitter(Oauth) BB10
https://github.com/kylefowler/twitter-bb10

Have you successfully built and tested these projects?
If you have, please do share a step-by-step account on what you did.

 


Get featured on cascadescode.tumblr.com blog!
 

Contributors who help me figure this out will be featured on cascadescode.tumblr.com, where I am posting tips/videos/audio docs, and tutorials.


Thank you.

Developer
Posts: 144
Registered: ‎12-18-2010
My Device: Limited Edition Z10 & Blackberry Playbook
My Carrier: Rogers Wireless

Re: Finally Solve OAuth on BB10

Hello,

 

I was able to compile/build and deploy the Twitter project to my Dev Alpha device.  I had to add a translations folder.  I just copied it from one of my other projects I have on the go and renamed the files to match the project name.    I think that was all I did to get them to work.

 

What was the error that you are getting?

Playbook Apps:
Touch Painter, LinkShrink

BB10 Apps:
NoteToSelf , LinkShrink
Developer
Posts: 614
Registered: ‎10-17-2010
My Device: (BlackBerry Z10)-> Q10/Passport Dual Use

Re: Finally Solve OAuth on BB10

Here is the video of me cloning, importing project into the ide, building and getting the error. no edits made to source.

 

Video: [http://www.youtube.com/watch?v=-GlwRLKuXhc]

 

Error: "Launched failed, no binaries"

 

Can you post what you did/what you edited to make this sample code work?

Highlighted
Contributor
Posts: 20
Registered: ‎05-18-2010
My Device: BOLD 9900
My Carrier: vodafone

Re: Finally Solve OAuth on BB10

Hello i am trying to put a bottom share with twitter, facebook, etc. I saw hat you did it. how can i do in this sample:

 

Page {
ScrollView {
scrollViewProperties {
scrollMode: ScrollMode.Both
pinchToZoomEnabled: true
}
Container {
background: Color.create("#f8f8f8")
layout: StackLayout {
layoutDirection: LayoutDirection.TopToBottom
}
WebView {
url: "http://genteblackberry.wordpress.com/category/blackberry-10-2/noticias-bb10/"
}
}
}
actions: [
ActionItem {
title: "Share"
ActionBar.placement: ActionBarPlacement.OnBar
onTriggered: {
myLabel.text = "Share selected!"
}
}
]
}

 

i dont know how conect the buttom to send me an instruction to authorization or how verificate account 

 

Sorry my english 

Enviado de mi BlackBerry Bold 9900

Ejup2009_Dev
Developer
Posts: 265
Registered: ‎01-02-2011
My Device: Z30, PlayBook
My Carrier: AT&T

Re: Finally Solve OAuth on BB10

Any update on this?

_________________
Meetup for BlackBerry 10
Meetup Search Tool - not available at the moment