Java Question Extend BroadcastReceiver. End up with AbortBroadcast and abortBroadcast

tchart

Well-Known Member
Licensed User
Longtime User
Hi,

Im trying to wrap some exiting java code (an SDK) into a B4A library.

One of the classes extends the BroadcastReceiver which has the following public methods;

abortBroadcast()
getAbortBroadcast()

My library compiles okay but the XML file contains duplicate entries for the above methods (since the "get" is dropped off). I end up with;

abortBroadcast()
AbortBroadcast()

So I get an error when adding the library to B4A.

Any way to get around this? Since the methods coem from the base class I cant rename them :(

Thanks
 
Top