![Qeedji TAB10s Developer'S Manual Download Page 5](http://html2.mh-extra.com/html/qeedji/tab10s/tab10s_developers-manual_3139795005.webp)
5
1.2
APK Development
Prequisite
The so ware developer already knows how to develop Android APK and generate or debug APK with Android Studio.
AOSP Standard API
The standard API of AOSP 9.10.10 is based on the AOSP SDK 28.
The AOSP 9.10.10 for Qeedji embeds Chromium Web engine 83.
The
class allows to get the device iden fica on UUID value.
The
class allows to get the raw PSN.
The
sta c string of the
class allows to get the so ware version.
Q eedji System Java API
The
Qeedji
github is hos ng the
tech-qeedji-system-lib-classes.jar
Java library.
The
tech-qeedji-system-lib-classes.jar
Java library exposes an API for specific features.
public class SurroundLight {
public static final int OFF = 0;
public static final int RED = 1;
public static final int GREEN = 2;
public static final int ORANGE = 3;
public SurroundLight();
public void setColor(int color);
public int getColor();
}
public class Rfid125KHz {
public Rfid125KHz(Context c);
public void setEnabled(boolean value);
}
public class DipSwitch {
public DipSwitch(Context c);
public boolean camera();
public boolean microphone();
}
public class SharedPreferenceAPI {
public String getPreferenceAuthority();
public Object[][] initPreferences();
}
Q eedji System Javascript API
The
Qeedji
github is hos ng the
Android library.
The
Android library exposes an Javascript API for specific func onali es in a
.
The
Android library embeds the
tech-qeedji-system-lib-classes.jar
library.
String Host.Bluetooth().getHardwareAddress();
String Host.Device().getModel();
String Host.Device().getManufacturer();
String Host.Device().getSerial();
String Host.Device().getPsn();
String Host.Device().getSoftwareVersion();
String Host.Device().getDeviceName();
String Host.Device().getUUID();
String Host.Device().getHostname();
String Host.Device().getMacId();
String Host.Device().getField1();
String Host.Device().getField2();
String Host.Device().getField3();
String Host.Device().getField4();
String Host.Device().getField5();
boolean Host.DipSwitch().getCamera();
boolean Host.DipSwitch().getMicrophone();
int Host.NetworkInterfaces().length();
NetworkInterface Host.NetworkInterfaces().get(int index);
String NetworkInterface.getName();
String NetworkInterface.getHardwareAddress();
boolean NetworkInterface.isUp();
void Host.NFC().start();
void Host.NFC().stop();
// parameter type is unused
callback : void onHostNFCReading(String type, String id);
void Host.PowerManager().goToSleep();
void Host.PowerManager().wakeUp();
void Host.PowerManager().reboot();
void Host.ProximitySensor().start();
void Host.ProximitySensor().stop();
callback : void onHostProximitySensorReading(float distance);
void Host.Rfid125KHz().start();
void Host.Rfid125KHz().stop();
int Host.SurroundLight().OFF();
int Host.SurroundLight().RED();
int Host.SurroundLight().GREEN();
int Host.SurroundLight().ORANGE();
void Host.SurroundLight().setColor(int color);
int Host.SurroundLight().getColor();
void Host.SystemButton().start();
void Host.SystemButton().stop();
callback : void onHostSystemButtonReading(int count);