==============================================================
The following are used in non-QT projects.
==============================================================
The BB10 IDE comes with a playaudio example program.
To create a clean project:
Select Menu New--BlackBerry C + + Project
Select Minimal Screen Application
1) Copy the playbook inside the source code, MP3 file over.
2) Modify the Bar-descriptor.xml and add the mp3 file to the assets.
3) The default program is not authorized to play sound.
Workaround:
Modify Bar-descriptor.xml to increase the permissions of play sounds.
4) Compile Error:
Undefined reference to ' Mmr_error_info '
Workaround:
A libraries:mmrndclient is added to the project properties, as pictured.
5) Compile again, the project has no Red fork, but the development tool console inside Error:
/home/jiyang/bbndk-10.0.4-beta/target/qnx6/x86/lib/libmmrndclient.so:undefined reference to ' Strm_dict_key_get '
Workaround:
A LIBRARIES:STRM is added to the project properties.
Note: The following words can be seen at compile time:
Qcc-o HelloWorld1 SRC/MAIN.O src/dialogutil.o-lbps-lpps-lscreen-lm-lmmrndclient-lstrm-v4.6.3,gcc_ntox86-w1-g-Wl ,-z,relro-wl,-z,now-l/home/jiyang/bbndk-10.0.4-beta/target/qnx6/. /target-override/x86/lib-l/home/jiyang/bbndk-10.0.4-beta/target/qnx6/. /target-override/x86/usr/lib