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
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.