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: 17
Registered: ‎09-05-2012
My Device: 9780 Bold
My Carrier: Bouygues Telecom
Accepted Solution

Mixe Cascade SDK withNative SDK BB10

[ Edited ]

Hello everyone,

 

In my project, i need to developpe interface with Cascade SDK and i need to use some function like in <audio/audio_manager_voice_service.h> to manage the audio.

 

Could someone please tell me if i can use Cascade SDK with Native SDK for one project? If, it is possible, how i can do to use both of them.

 

Thanks

Developer
Posts: 1,068
Registered: ‎11-24-2011
My Device: PlayBook
My Carrier: x

Re: Mixe Cascade SDK withNative SDK BB10

I am pretty sure you can. How? Usual way - include proper headers, link with proper libraries.

Contributor
Posts: 17
Registered: ‎09-05-2012
My Device: 9780 Bold
My Carrier: Bouygues Telecom

Re: Mixe Cascade SDK withNative SDK BB10

Hello,

Thanks for your reply

 

I tried to add LIBS += -libaudio_manager in my .pro.

hen, in my .cpp file, i add these line: 

audio_manager_voice_service_t voiceservice = AUDIO_VOICE_CELLULAR;
	audio_manager_voice_service_status_t voiceservicestatus = AUDIO_VOICE_OFF;
audio_manager_set_voice_service_status(voiceservice, voiceservicestatus);

 Then i got an error when i compile

Description	Resource	Path	Location	Type
make[2]: *** [o.le-v7-g/[MyProjectName] Error 1	MyProjectName		 	C/C++ Problem

 

Developer
Posts: 1,068
Registered: ‎11-24-2011
My Device: PlayBook
My Carrier: x

Re: Mixe Cascade SDK withNative SDK BB10

can you post full console output?

Highlighted
Contributor
Posts: 17
Registered: ‎09-05-2012
My Device: 9780 Bold
My Carrier: Bouygues Telecom

Re: Mixe Cascade SDK withNative SDK BB10

Hello,

 

I finally got the solution to add this audio native lib to my project by adding:

#  Add library dependency
LIBS += -laudio_manager

 to my .pro.

 

Thanks for your suggestion.