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
Contributor
Posts: 12
Registered: ‎07-05-2012
My Device: Playbook
My Carrier: nonce
Accepted Solution

Getting PIN with native SDK

Hello all, I'm having a weird issue since I added code to get the user's PIN. When I start my app on the playbook, i get this printed in the console and the app quits :

 

unknown symbol: deviceinfo_get_identifying_details
unknown symbol: deviceinfo_identifying_details_get_pin
unknown symbol: deviceinfo_free_identifying_details
ldd:FATAL: Could not resolve all symbols

 

libbps is linked in, as I use it for other things. I have also added the appropriate permissions in the BAR file by checking the "Device Identifying Information" box.

 

What could be causing this ? Thanks.

 

Developer
Posts: 43
Registered: ‎06-30-2012
My Device: Bold 9900
My Carrier: T-Mobile

Re: Getting PIN with native SDK

Is this really the error you get when you RUN the app or when you compile the app?

Contributor
Posts: 12
Registered: ‎07-05-2012
My Device: Playbook
My Carrier: nonce

Re: Getting PIN with native SDK

When I RUN the app... that's why I think it's so strange.

Developer
Posts: 43
Registered: ‎06-30-2012
My Device: Bold 9900
My Carrier: T-Mobile

Re: Getting PIN with native SDK

interesting...... those seem like compile errors.

 

I have code that reads PIN and dont get those errors (using 10.0.4 as 10.0.6 will not run on the PB at all)

 

 

Contributor
Posts: 12
Registered: ‎07-05-2012
My Device: Playbook
My Carrier: nonce

Re: Getting PIN with native SDK

Can you show me the libs you added to the linker ?

Developer
Posts: 43
Registered: ‎06-30-2012
My Device: Bold 9900
My Carrier: T-Mobile

Re: Getting PIN with native SDK

you will be sad to know I didn't add any libs to the linker.  I do have libs added to the BAR though.  The one that I think matters is "libbb.so.0"

 

 

Contributor
Posts: 12
Registered: ‎07-05-2012
My Device: Playbook
My Carrier: nonce

Re: Getting PIN with native SDK

Correct me if I'm wrong but you are targeting bb10 devices ?

 

I'm targeting playbook using ndk 2.1.0-beta1, and no such file exist (libbb.so)

Developer
Posts: 43
Registered: ‎06-30-2012
My Device: Bold 9900
My Carrier: T-Mobile

Re: Getting PIN with native SDK

Wellll....

 

You can target the PB with 10.0.4 if you do a little bit of work.  So no, I am not using 2.1.0 but 10.0.4.

 

Bryan

 

Contributor
Posts: 12
Registered: ‎07-05-2012
My Device: Playbook
My Carrier: nonce

Re: Getting PIN with native SDK

Thanks for your replies, I'd love a BB advisor to drop in though

Retired
Posts: 499
Registered: ‎05-07-2012
My Device: developer
My Carrier: developer

Re: Getting PIN with native SDK

[ Edited ]

(All: please confine comments to Playbook NDK2.  This thread is not about Cascades)

 

ldd error is consistent with missing .so or missing entries in the .so even at runtime.

 

Try statically linking and post any link errors.

 

Stuart