Getting Libraries to work

elitistnot

Member
Licensed User
Longtime User
My B4A is not recognizing any keywords from any of the library files.

For example;

Dim mp as mediastream produces an error even though mediastream is part of the Audio library.

So, basically my B4A is not recognizing any keywords or types from anything other than core.

How can I get it to recognize my libraries? And yes, the libraries are in the library folder.

Thanks.
 

NJDude

Expert
Licensed User
Longtime User
That's because it's:
B4X:
 Dim mp As MediaPlayerStream

And not:
B4X:
Dim mp as mediastream

More info HERE

Also, are you putting a checkmark on the library in the library tab on the IDE?
 
Last edited:
Upvote 0

elitistnot

Member
Licensed User
Longtime User
Thanks

Thanks NJDude. The typo in the post was my fault. But, the check mark in the LIB tab did the trick. Didn't even realize that was there. Thanks for pointing that out.
 
Upvote 0
Top