Android Question how to use jar with b4a3.8

hzytsoft

Member
Licensed User
Longtime 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

  • A1_Function_Api_v2.4.jar
    52 KB · Views: 124
  • mytry.zip
    7.3 KB · Views: 94
Top