Android Question how to use jar with b4a3.8

hzytsoft

Member
Licensed User
hi @Erel
i use a LaserApi jar
i upload this jar and mytrycodezip
can u fix a simple demo code tell us how to use it
just like open
open ();close ()
and i post this jar doc:
import com.zz.function.LaserApi.LaserManager.java
public class LaserManager {
final static String RECEIVERACTION ;
final static String RECEIVERDATA;
open ();
close ();
SoftScan();
init();
getLaserMode();
setLaserMode();
closeLaster();
SetParam(byte[] buf, int num);
GetParam(byte[] buf, int num);
RequestRevision();
enScanSound();
disScanSound();

////////////////////////
////////////use way
/////////////////////////

1.use jar need:
<uses-permission android:name="com.zz.SystemService" />
2.first
LaserManager laserManager= new LaserManager(context);
3.
IntentFilter mIntentFilter = new IntentFilter();
mIntentFilter.addAction(LaserManager.RECEIVERACTION);
String scandata= intent.getStringExtra(LaserManager.RECEIVERDATA);
tks @Erel and ba4
 

Attachments

Top