Android Question How to work with .jar external library

potduang

Member
Licensed User
Longtime User
Hi,

First, I've to say sorry for my english ability.
I'm new in working with external .jar file. May anyone can guide me how to work with it?

Suppose I've a .jar file (for example CRC.jar). It contains CRC16.class and CRC32.class.
In CRC16.class, there is a function

public static short calcrc16(byte[] data, int len)

How can I call and get result from calcrc16?

I've added
#AdditionalJar: CRC
in my test application. After that I added a sub

Sub GetCRC16 As JavaObject
Dim jo As JavaObject

End Sub

Please anyone guide me what to do next.

Best Regards,
Piyapong.
 
Top