-
-
-### usbserialDisconnect(connID)
-
- Disconnect all USB-device
-
- :param str connID: connection ID
-
-### usbserialActiveConnections()
-
- Returns active USB-device connections.
-
- :return: Returns "Active USB-device connections by Map UUID vs device-name."
-
-
-### usbserialWriteBinary(base64, connID)
-
- Send bytes over the currently open USB Serial connection.
-
- :param str base64:
- :param str connId:
-
-### usbserialReadBinary(bufferSize, connID)
-
- Read up to bufferSize bytes and return a chunked, base64 encoded string
-
- :param int bufferSize:
- :param str connId:
-
-### usbserialConnect(hash, options)
-
- Connect to a device with USB-Host. request the connection and exit
-
- :param str hash:
- :param str options:
-
- :return: Returns messages the request status
-
-### usbserialHostEnable()
-
- Requests that the host be enable for USB Serial connections.
-
- :return: True if the USB Device is accesible
-
-### usbserialWrite(String ascii, String connID)
-
- Sends ASCII characters over the currently open USB Serial connection
-
- :param str ascii:
- :param str connID:
-
-### usbserialReadReady(connID)
-
- :param str connID:
-
- :return: True if the next read is guaranteed not to block
-
-
-### usbserialRead(connID, bufferSize)
-
- Read up to bufferSize ASCII characters.
-
- :param str connID:
- :param int bufferSize:
-
-### usbserialGetDeviceName(connID)
-
- Queries a remote device for it's name or null if it can't be resolved
-
- :param str connID:
diff --git a/source/qsl4a/Intent.html b/source/qsl4a/Intent.html
new file mode 100644
index 0000000..fa02180
--- /dev/null
+++ b/source/qsl4a/Intent.html
@@ -0,0 +1 @@
+Intent'Common Intent Constants , for more Intent Constants, please refer https://developer.android.google.cn/reference/android/content/Intent.html .\n\nYou can use them like droid.startActivityIntent(droid.makeIntent(action=droid.Intent.ACTION_VIEW,uri="http://www.baidu.com",flags=droid.Intent.FLAG_ACTIVITY_NEW_DOCUMENT).result) .'
ACTION_MAIN='android.intent.action.MAIN'
ACTION_VIEW='android.intent.action.VIEW'
ACTION_EDIT='android.intent.action.EDIT'
ACTION_PICK='android.intent.action.PICK'
ACTION_CHOOSER='android.intent.action.CHOOSER'
ACTION_INSERT='android.intent.action.INSERT'
ACTION_DELETE='android.intent.action.DELETE'
ACTION_RUN='android.intent.action.RUN'
ACTION_SEND='android.intent.action.SEND'
ACTION_SYNC='android.intent.action.SYNC'
ACTION_SEARCH='android.intent.action.SEARCH'
FLAG_ACTIVITY_SINGLE_TOP = 536870912
FLAG_ACTIVITY_MULTIPLE_TASK = 134217728
FLAG_ACTIVITY_NEW_DOCUMENT = 524288
FLAG_ACTIVITY_CLEAR_TASK = 32768
FLAG_ACTIVITY_NEW_TASK = 268435456
EXTRA_TEXT='android.intent.extra.TEXT'
EXTRA_STREAM='android.intent.extra.STREAM'
def _intentExtras(Extras):
if not isinstance(Extras,dict):
return Extras
for Key in Extras.keys():
Val = Extras[Key]
if isinstance( Val ,( bytes, bytearray )):
Extras[Key]='\x00byte\x00'+_encode(Val).decode()
elif isinstance( Val, str ):
if Val[0:1]=='\x00':
Extras[Key]='\x00str\x00'+Val
elif isinstance( Extras, dict ):
Extras[Key]=_intentExtras(Val)
elif isinstance( Val, Uri ):
Extras[Key]='\x00uri\x00'+Val
return Extras
class _uri(str):
def __new__(cls,arg):
HEAD='\x00uri\x00'
if arg[:5]!=HEAD:
arg=HEAD+arg
return super(_uri,cls).__new__(cls,arg)
def __repr__(self):
return 'Uri("'+self[5:]+'")'
def __str__(self):
return self[5:]
from .__init__ import Android as _encode
_uri.__doc__=_encode.Uri.__doc__
from base64 import b64encode as _encode
<back>
\ No newline at end of file
diff --git a/source/qsl4a/R.html b/source/qsl4a/R.html
new file mode 100644
index 0000000..e46b3a7
--- /dev/null
+++ b/source/qsl4a/R.html
@@ -0,0 +1 @@
+Randroid.R module, include id,layout,style Constants .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/R.id.html b/source/qsl4a/R.id.html
new file mode 100644
index 0000000..a350219
--- /dev/null
+++ b/source/qsl4a/R.id.html
@@ -0,0 +1 @@
+R.id'android.R.id Constants, for more id Constants, please refer https://developer.android.google.cn/reference/android/R.id.html .'
text1=16908308
text2=16908309
<back>
\ No newline at end of file
diff --git a/source/qsl4a/R.layout.html b/source/qsl4a/R.layout.html
new file mode 100644
index 0000000..f817f23
--- /dev/null
+++ b/source/qsl4a/R.layout.html
@@ -0,0 +1 @@
+R.layout'android.R.layout Constants, for more layout Constants, please refer https://developer.android.google.cn/reference/android/R.layout.html .'
simple_list_item_1=17367043
simple_list_item_2=17367044
simple_expandable_list_item_1=17367046
simple_expandable_list_item_2=17367047
simple_spinner_item=17367048
simple_spinner_dropdown_item=17367049
<back>
\ No newline at end of file
diff --git a/source/qsl4a/R.style.html b/source/qsl4a/R.style.html
new file mode 100644
index 0000000..a963a54
--- /dev/null
+++ b/source/qsl4a/R.style.html
@@ -0,0 +1 @@
+R.style'android.R.style Constants, for more style Constants, please refer https://developer.android.google.cn/reference/android/R.style.html .'
Default=0
Theme_Black=16973832
Theme_Black_NoTitleBar=16973833
Theme_Black_NoTitleBar_Fullscreen=16973834
Theme_Light=16973836
Theme_Light_NoTitleBar=16973837
Theme_Light_NoTitleBar_Fullscreen=16973838
Theme_Light_Panel=16973914
Theme_Wallpaper=16973918
Theme_Wallpaper_NoTitleBar=16973919
Theme_Wallpaper_NoTitleBar_Fullscreen=16973920
Theme_Holo=16973931
Theme_Holo_Wallpaper=16973949
Theme_DeviceDefault_Panel=16974138
Theme_DeviceDefault_Wallpaper=16974140
Theme_DeviceDefault_Wallpaper_NoTitleBar=16974141
TextAppearance_DeviceDefault_Large_Inverse=16974256
TextAppearance_DeviceDefault_Medium_Inverse=16974258
Theme_DeviceDefault_Settings=16974371
<back>
\ No newline at end of file
diff --git a/source/qsl4a/Uri.html b/source/qsl4a/Uri.html
new file mode 100644
index 0000000..932ec5d
--- /dev/null
+++ b/source/qsl4a/Uri.html
@@ -0,0 +1 @@
+UriUri(uriString)
Convert Uri String to Uri Object, use for droid.makeIntent / droid.startActivity / droid.startActivityForResult / droid.startActivityIntent extras .
return Uri Object .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/backgroundProtect.html b/source/qsl4a/backgroundProtect.html
new file mode 100644
index 0000000..846e92d
--- /dev/null
+++ b/source/qsl4a/backgroundProtect.html
@@ -0,0 +1 @@
+backgroundProtectbackgroundProtect(enabled = True)
Open the hide suspension window to prevent QPython from being accidentally closed in the background .
Only support Android >= 8.0 .
enabled (Boolean Optional) start or close Background Protect hide suspension window .
Return None .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/batteryCheckPresent.html b/source/qsl4a/batteryCheckPresent.html
new file mode 100644
index 0000000..1b827d1
--- /dev/null
+++ b/source/qsl4a/batteryCheckPresent.html
@@ -0,0 +1 @@
+batteryCheckPresentbatteryCheckPresent()
Returns the most recently received battery presence data.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/batteryGetCurrent.html b/source/qsl4a/batteryGetCurrent.html
new file mode 100644
index 0000000..2d50119
--- /dev/null
+++ b/source/qsl4a/batteryGetCurrent.html
@@ -0,0 +1 @@
+batteryGetCurrentbatteryGetCurrent()
Returns the most recently received battery Now Current mA .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/batteryGetHealth.html b/source/qsl4a/batteryGetHealth.html
new file mode 100644
index 0000000..d91bcb8
--- /dev/null
+++ b/source/qsl4a/batteryGetHealth.html
@@ -0,0 +1 @@
+batteryGetHealthbatteryGetHealth()
Returns the most recently received battery health data:1 - unknown;2 - good;3 - overheat;4 - dead;5 - over voltage;6 - unspecified failure;
<back>
\ No newline at end of file
diff --git a/source/qsl4a/batteryGetLevel.html b/source/qsl4a/batteryGetLevel.html
new file mode 100644
index 0000000..1309ae0
--- /dev/null
+++ b/source/qsl4a/batteryGetLevel.html
@@ -0,0 +1 @@
+batteryGetLevelbatteryGetLevel()
Returns the most recently received battery level (percentage).
<back>
\ No newline at end of file
diff --git a/source/qsl4a/batteryGetPlugType.html b/source/qsl4a/batteryGetPlugType.html
new file mode 100644
index 0000000..fa0ca42
--- /dev/null
+++ b/source/qsl4a/batteryGetPlugType.html
@@ -0,0 +1 @@
+batteryGetPlugTypebatteryGetPlugType()
Returns the most recently received plug type data:
-1 - unknown;
0 - unplugged;
1 - power source is an AC charger;
2 - power source is a USB port
<back>
\ No newline at end of file
diff --git a/source/qsl4a/batteryGetStatus.html b/source/qsl4a/batteryGetStatus.html
new file mode 100644
index 0000000..b75eaf0
--- /dev/null
+++ b/source/qsl4a/batteryGetStatus.html
@@ -0,0 +1 @@
+batteryGetStatusbatteryGetStatus()
Returns the most recently received battery status data:1 - unknown;2 - charging;3 - discharging;4 - not charging;5 - full;
<back>
\ No newline at end of file
diff --git a/source/qsl4a/batteryGetTechnology.html b/source/qsl4a/batteryGetTechnology.html
new file mode 100644
index 0000000..62a672f
--- /dev/null
+++ b/source/qsl4a/batteryGetTechnology.html
@@ -0,0 +1 @@
+batteryGetTechnologybatteryGetTechnology()
Returns the most recently received battery technology data.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/batteryGetTemperature.html b/source/qsl4a/batteryGetTemperature.html
new file mode 100644
index 0000000..3d112dc
--- /dev/null
+++ b/source/qsl4a/batteryGetTemperature.html
@@ -0,0 +1 @@
+batteryGetTemperaturebatteryGetTemperature()
Returns the most recently received battery temperature.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/batteryGetVoltage.html b/source/qsl4a/batteryGetVoltage.html
new file mode 100644
index 0000000..b1ebaa4
--- /dev/null
+++ b/source/qsl4a/batteryGetVoltage.html
@@ -0,0 +1 @@
+batteryGetVoltagebatteryGetVoltage()
Returns the most recently received battery voltage mV .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/batteryStartMonitoring.html b/source/qsl4a/batteryStartMonitoring.html
new file mode 100644
index 0000000..428c9cb
--- /dev/null
+++ b/source/qsl4a/batteryStartMonitoring.html
@@ -0,0 +1 @@
+batteryStartMonitoringbatteryStartMonitoring()
Starts tracking battery state.
throws "battery" events
<back>
\ No newline at end of file
diff --git a/source/qsl4a/batteryStopMonitoring.html b/source/qsl4a/batteryStopMonitoring.html
new file mode 100644
index 0000000..3a51214
--- /dev/null
+++ b/source/qsl4a/batteryStopMonitoring.html
@@ -0,0 +1 @@
+batteryStopMonitoringbatteryStopMonitoring()
Stops tracking battery state.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/bluetoothAccept.html b/source/qsl4a/bluetoothAccept.html
new file mode 100644
index 0000000..eca4c94
--- /dev/null
+++ b/source/qsl4a/bluetoothAccept.html
@@ -0,0 +1 @@
+bluetoothAcceptbluetoothAccept(uuid="457807c0-4897-11df-9879-0800200c9a66",timeout=0)
Listens for and accepts a Bluetooth connection. Blocks until the connection is established or fails.
uuid (String) (default=457807c0-4897-11df-9879-0800200c9a66)
timeout (Integer) How long to wait for a new connection, 0 is wait for ever (default=0)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/bluetoothActiveConnections.html b/source/qsl4a/bluetoothActiveConnections.html
new file mode 100644
index 0000000..c3e0a84
--- /dev/null
+++ b/source/qsl4a/bluetoothActiveConnections.html
@@ -0,0 +1 @@
+bluetoothActiveConnectionsbluetoothActiveConnections()
Returns true when there's an active Bluetooth connection.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/bluetoothConnect.html b/source/qsl4a/bluetoothConnect.html
new file mode 100644
index 0000000..61c66b2
--- /dev/null
+++ b/source/qsl4a/bluetoothConnect.html
@@ -0,0 +1 @@
+bluetoothConnectbluetoothConnect(uuid="457807c0-4897-11df-9879-0800200c9a66",address=None)
Connect to a device over Bluetooth. Blocks until the connection is established or fails.
uuid (String) The UUID passed here must match the UUID used by the server device. (default=457807c0-4897-11df-9879-0800200c9a66)
address (String) The user will be presented with a list of discovered devices to choose from if an address is not provided. (optional)
returns: (String) True if the connection was established successfully.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/bluetoothDiscoveryCancel.html b/source/qsl4a/bluetoothDiscoveryCancel.html
new file mode 100644
index 0000000..f85ecee
--- /dev/null
+++ b/source/qsl4a/bluetoothDiscoveryCancel.html
@@ -0,0 +1 @@
+bluetoothDiscoveryCancelbluetoothDiscoveryCancel()
Cancel Bluetooth Discovery
<back>
\ No newline at end of file
diff --git a/source/qsl4a/bluetoothDiscoveryStart.html b/source/qsl4a/bluetoothDiscoveryStart.html
new file mode 100644
index 0000000..546e90c
--- /dev/null
+++ b/source/qsl4a/bluetoothDiscoveryStart.html
@@ -0,0 +1 @@
+bluetoothDiscoveryStartbluetoothDiscoveryStart()
Start Bluetooth Discovery
<back>
\ No newline at end of file
diff --git a/source/qsl4a/bluetoothGetBondedDevices.html b/source/qsl4a/bluetoothGetBondedDevices.html
new file mode 100644
index 0000000..b691dc6
--- /dev/null
+++ b/source/qsl4a/bluetoothGetBondedDevices.html
@@ -0,0 +1 @@
+bluetoothGetBondedDevicesbluetoothGetBondedDevices()
Get bonded devices , with address,name,type,bondState,uuid .
You need to open Bluetooth with droid.toggleBluetoothState(True) .
If you call droid.bluetoothGetBondedDevicesRssi(interval) with interval>0 first , it will return rssi of connected device at the same time .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/bluetoothGetBondedDevicesRssi.html b/source/qsl4a/bluetoothGetBondedDevicesRssi.html
new file mode 100644
index 0000000..0677408
--- /dev/null
+++ b/source/qsl4a/bluetoothGetBondedDevicesRssi.html
@@ -0,0 +1 @@
+bluetoothGetBondedDevicesRssibluetoothGetBondedDevicesRssi(interval=None)
interval (Integer Optional)
If interval > 0 , start detect connected devices' Rssi,
if interval < 0 , stop detect connected devices' Rssi,
if interval == 0 or interval == None , return connected device's address and Rssi, or return unconnected devices' address , you need to call droid.bluetoothGetBondedDevicesRssi(interval) with interval>0 first .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/bluetoothGetConnectedDeviceName.html b/source/qsl4a/bluetoothGetConnectedDeviceName.html
new file mode 100644
index 0000000..c2698b1
--- /dev/null
+++ b/source/qsl4a/bluetoothGetConnectedDeviceName.html
@@ -0,0 +1 @@
+bluetoothGetConnectedDeviceNamebluetoothGetConnectedDeviceName(connID=None)
Returns the name of the connected device.
connID (String) Connection id (optional) (default=)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/bluetoothGetLocalName.html b/source/qsl4a/bluetoothGetLocalName.html
new file mode 100644
index 0000000..2ad18da
--- /dev/null
+++ b/source/qsl4a/bluetoothGetLocalName.html
@@ -0,0 +1 @@
+bluetoothGetLocalNamebluetoothGetLocalName()
Gets the Bluetooth Visible device name
<back>
\ No newline at end of file
diff --git a/source/qsl4a/bluetoothGetReceivedDevices.html b/source/qsl4a/bluetoothGetReceivedDevices.html
new file mode 100644
index 0000000..042878f
--- /dev/null
+++ b/source/qsl4a/bluetoothGetReceivedDevices.html
@@ -0,0 +1 @@
+bluetoothGetReceivedDevicesbluetoothGetReceivedDevices()
Get received Bluetooth devices after droid.bluetoothDiscoveryStart() function
<back>
\ No newline at end of file
diff --git a/source/qsl4a/bluetoothGetRemoteDeviceName.html b/source/qsl4a/bluetoothGetRemoteDeviceName.html
new file mode 100644
index 0000000..2a49cb2
--- /dev/null
+++ b/source/qsl4a/bluetoothGetRemoteDeviceName.html
@@ -0,0 +1 @@
+bluetoothGetRemoteDeviceNamebluetoothGetRemoteDeviceName(address)
Queries a remote device for it's name or null if it can't be resolved
address (String) Bluetooth Address For Target Device
<back>
\ No newline at end of file
diff --git a/source/qsl4a/bluetoothGetScanMode.html b/source/qsl4a/bluetoothGetScanMode.html
new file mode 100644
index 0000000..989f933
--- /dev/null
+++ b/source/qsl4a/bluetoothGetScanMode.html
@@ -0,0 +1 @@
+bluetoothGetScanModebluetoothGetScanMode()
Gets the scan mode for the local dongle.
Return values:
-1 when Bluetooth is disabled.
0 if non discoverable and non connectable.
1 connectable non discoverable.
3 connectable and discoverable.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/bluetoothMakeDiscoverable.html b/source/qsl4a/bluetoothMakeDiscoverable.html
new file mode 100644
index 0000000..116376f
--- /dev/null
+++ b/source/qsl4a/bluetoothMakeDiscoverable.html
@@ -0,0 +1 @@
+bluetoothMakeDiscoverablebluetoothMakeDiscoverable(duration=300)
Requests that the device be discoverable for Bluetooth connections.
duration (Integer) period of time, in seconds, during which the device should be discoverable (default=300)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/bluetoothRead.html b/source/qsl4a/bluetoothRead.html
new file mode 100644
index 0000000..5c7538c
--- /dev/null
+++ b/source/qsl4a/bluetoothRead.html
@@ -0,0 +1 @@
+bluetoothReadbluetoothRead(bufferSize=4096,connID=None)
Read up to bufferSize ASCII characters.
bufferSize (Integer) (default=4096)
connID (String) Connection id (optional) (default=)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/bluetoothReadBinary.html b/source/qsl4a/bluetoothReadBinary.html
new file mode 100644
index 0000000..0850140
--- /dev/null
+++ b/source/qsl4a/bluetoothReadBinary.html
@@ -0,0 +1 @@
+bluetoothReadBinarybluetoothReadBinary(bufferSize=4096,connID=None)
Read up to bufferSize bytes and return a chunked, base64 encoded string.
bufferSize (Integer) (default=4096)
connID (String) Connection id (optional) (default=)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/bluetoothReadLine.html b/source/qsl4a/bluetoothReadLine.html
new file mode 100644
index 0000000..eff4b2c
--- /dev/null
+++ b/source/qsl4a/bluetoothReadLine.html
@@ -0,0 +1 @@
+bluetoothReadLinebluetoothReadLine(connID=None)
Read the next line.
connID (String) Connection id (optional) (default=)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/bluetoothReadReady.html b/source/qsl4a/bluetoothReadReady.html
new file mode 100644
index 0000000..2329652
--- /dev/null
+++ b/source/qsl4a/bluetoothReadReady.html
@@ -0,0 +1 @@
+bluetoothReadReadybluetoothReadReady(connID=None)
Returns True if the next read is guaranteed not to block.
connID (String) Connection id (optional) (default=)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/bluetoothSetLocalName.html b/source/qsl4a/bluetoothSetLocalName.html
new file mode 100644
index 0000000..93df693
--- /dev/null
+++ b/source/qsl4a/bluetoothSetLocalName.html
@@ -0,0 +1 @@
+bluetoothSetLocalNamebluetoothSetLocalName(name)
Sets the Bluetooth Visible device name, returns True on success
name (String) New local name
<back>
\ No newline at end of file
diff --git a/source/qsl4a/bluetoothStop.html b/source/qsl4a/bluetoothStop.html
new file mode 100644
index 0000000..cc076da
--- /dev/null
+++ b/source/qsl4a/bluetoothStop.html
@@ -0,0 +1 @@
+bluetoothStopbluetoothStop(connID=None)
Stops Bluetooth connection.
connID (String) Connection id (optional) (default=)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/bluetoothWrite.html b/source/qsl4a/bluetoothWrite.html
new file mode 100644
index 0000000..c1ef9cb
--- /dev/null
+++ b/source/qsl4a/bluetoothWrite.html
@@ -0,0 +1 @@
+bluetoothWritebluetoothWrite(ascii,connID="")
Sends ASCII characters over the currently open Bluetooth connection.
ascii (String)
connID (String) Connection id (default=)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/bluetoothWriteBinary.html b/source/qsl4a/bluetoothWriteBinary.html
new file mode 100644
index 0000000..d2a5f22
--- /dev/null
+++ b/source/qsl4a/bluetoothWriteBinary.html
@@ -0,0 +1 @@
+bluetoothWriteBinarybluetoothWriteBinary(base64,connID=None)
Send bytes over the currently open Bluetooth connection.
base64 (String) A base64 encoded String of the bytes to be sent.
connID (String) Connection id (optional) (default=)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/cameraCapturePicture.html b/source/qsl4a/cameraCapturePicture.html
new file mode 100644
index 0000000..193e9e0
--- /dev/null
+++ b/source/qsl4a/cameraCapturePicture.html
@@ -0,0 +1 @@
+cameraCapturePicturecameraCapturePicture(targetPath = None, cameraId = 0, useAutoFocus = True)
Take a picture and save it to the specified path.
targetPath (String Optional) if omitted, use default path
cameraId (Integer Optional)
useAutoFocus (Boolean Optional)
returns: targetPath
cameraCapturePicture.CAMERA_FRONT = 1
cameraCapturePicture.CAMERA_BACK = 0
<back>
\ No newline at end of file
diff --git a/source/qsl4a/cameraSetTorchMode.html b/source/qsl4a/cameraSetTorchMode.html
new file mode 100644
index 0000000..9262db5
--- /dev/null
+++ b/source/qsl4a/cameraSetTorchMode.html
@@ -0,0 +1 @@
+cameraSetTorchModecameraSetTorchMode(enabled)
set Camera Torch on/off
enabled (Boolean) True=on, False=off.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/cameraStartPreview.html b/source/qsl4a/cameraStartPreview.html
new file mode 100644
index 0000000..a39631f
--- /dev/null
+++ b/source/qsl4a/cameraStartPreview.html
@@ -0,0 +1 @@
+cameraStartPreviewcameraStartPreview(resolutionLevel=0,jpegQuality=20,filepath=None)
Start Preview Mode. Throws \'preview\' events.
resolutionLevel (Integer) increasing this number provides higher resolution (default=0)
jpegQuality (Integer) a number from 0-100 (default=20)
filepath (String) Path to store jpeg files. (optional)
returns: (boolean) True if successful
<back>
\ No newline at end of file
diff --git a/source/qsl4a/cameraStopPreview.html b/source/qsl4a/cameraStopPreview.html
new file mode 100644
index 0000000..9d17367
--- /dev/null
+++ b/source/qsl4a/cameraStopPreview.html
@@ -0,0 +1 @@
+cameraStopPreviewcameraStopPreview()
Stop the preview mode.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/checkAirplaneMode.html b/source/qsl4a/checkAirplaneMode.html
new file mode 100644
index 0000000..88a881b
--- /dev/null
+++ b/source/qsl4a/checkAirplaneMode.html
@@ -0,0 +1 @@
+checkAirplaneModecheckAirplaneMode()
Checks the airplane mode setting.
returns: (Boolean) True if airplane mode is enabled.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/checkBluetoothState.html b/source/qsl4a/checkBluetoothState.html
new file mode 100644
index 0000000..5c9730c
--- /dev/null
+++ b/source/qsl4a/checkBluetoothState.html
@@ -0,0 +1 @@
+checkBluetoothStatecheckBluetoothState()
Checks Bluetooth state.
returns: (Boolean) True if Bluetooth is enabled.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/checkNetworkRoaming.html b/source/qsl4a/checkNetworkRoaming.html
new file mode 100644
index 0000000..7af0062
--- /dev/null
+++ b/source/qsl4a/checkNetworkRoaming.html
@@ -0,0 +1 @@
+checkNetworkRoamingcheckNetworkRoaming()
Returns true if the device is considered roaming on the current network, for GSM purposes.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/checkPermissions.html b/source/qsl4a/checkPermissions.html
new file mode 100644
index 0000000..265797d
--- /dev/null
+++ b/source/qsl4a/checkPermissions.html
@@ -0,0 +1 @@
+checkPermissionscheckPermissions()
Return a dict contains key "granted" and "denied", which indicate the permission that QPython have and not have .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/checkRingerSilentMode.html b/source/qsl4a/checkRingerSilentMode.html
new file mode 100644
index 0000000..a6253a7
--- /dev/null
+++ b/source/qsl4a/checkRingerSilentMode.html
@@ -0,0 +1 @@
+checkRingerSilentModecheckRingerSilentMode()
Checks the ringer silent mode setting.
returns: (Boolean) True if ringer silent mode is enabled.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/checkScreenOn.html b/source/qsl4a/checkScreenOn.html
new file mode 100644
index 0000000..b749b9a
--- /dev/null
+++ b/source/qsl4a/checkScreenOn.html
@@ -0,0 +1 @@
+checkScreenOncheckScreenOn()
Checks if the screen is on or off (requires API level 7).
returns: (Boolean) True if the screen is currently on.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/checkWifiState.html b/source/qsl4a/checkWifiState.html
new file mode 100644
index 0000000..8a384d6
--- /dev/null
+++ b/source/qsl4a/checkWifiState.html
@@ -0,0 +1 @@
+checkWifiStatecheckWifiState()
Checks Wifi state.
returns: (Boolean) True if Wifi is enabled.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/cipherInit.html b/source/qsl4a/cipherInit.html
new file mode 100644
index 0000000..c7c43fb
--- /dev/null
+++ b/source/qsl4a/cipherInit.html
@@ -0,0 +1 @@
+cipherInitcipherInit( key, algorithm = "AES/CBC/PKCS5Padding", encodingFormat = "", initialVector = "" )
Cipher Initialize
key (String / Bytes)
algorithm (String Optional)
encodingFormat (String Optional)
initialVector (String / Bytes Optional)
if encodingFormat is UTF-8 or GBK etc., key and initialVector are Normal ( UTF-8 or GBK etc. ) String, if encodingFormat is omitted ( empty default ) , key and initialVector are Base64 String or Bytes .
algorithm support AES or DES etc.
if algorithm is AES, key need 16/24/32 bytes, if algorithm is DES, key need 8 bytes.
If initialVector used in AES/CBC algorithm, it need 16 bytes; if initialVector used in DES/CBC algorithm, it need 8 bytes.
If initialVector is omitted ( empty default ), then initialVector is set to be the same as key.
If an error occred from other encrypt/decrypt function, you need to run this function with the same parameters first, otherwise subsequent encryption and decryption operations will not proceed properly .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/contactsGet.html b/source/qsl4a/contactsGet.html
new file mode 100644
index 0000000..b6bfdf0
--- /dev/null
+++ b/source/qsl4a/contactsGet.html
@@ -0,0 +1 @@
+contactsGetcontactsGet(attributes=None)
Returns a List of all contacts.
attributes (JSONArray) (optional)
returns: (List) a List of contacts as Maps
<back>
\ No newline at end of file
diff --git a/source/qsl4a/contactsGetAttributes.html b/source/qsl4a/contactsGetAttributes.html
new file mode 100644
index 0000000..0ba6d7d
--- /dev/null
+++ b/source/qsl4a/contactsGetAttributes.html
@@ -0,0 +1 @@
+contactsGetAttributescontactsGetAttributes()
Returns a List of all possible attributes for contacts.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/contactsGetById.html b/source/qsl4a/contactsGetById.html
new file mode 100644
index 0000000..26f23ad
--- /dev/null
+++ b/source/qsl4a/contactsGetById.html
@@ -0,0 +1 @@
+contactsGetByIdcontactsGetById(id,attributes=None)
Returns contacts by ID.
id (Integer)
attributes (JSONArray) (optional)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/contactsGetCount.html b/source/qsl4a/contactsGetCount.html
new file mode 100644
index 0000000..495f52d
--- /dev/null
+++ b/source/qsl4a/contactsGetCount.html
@@ -0,0 +1 @@
+contactsGetCountcontactsGetCount()
Returns the number of contacts.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/contactsGetIds.html b/source/qsl4a/contactsGetIds.html
new file mode 100644
index 0000000..ebada30
--- /dev/null
+++ b/source/qsl4a/contactsGetIds.html
@@ -0,0 +1 @@
+contactsGetIdscontactsGetIds()
Returns a List of all contact IDs.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/createScriptShortCut.html b/source/qsl4a/createScriptShortCut.html
new file mode 100644
index 0000000..273a7d0
--- /dev/null
+++ b/source/qsl4a/createScriptShortCut.html
@@ -0,0 +1 @@
+createScriptShortCutcreateScriptShortCut(scriptPath,label=None,iconPath=None,scriptArg=None)
create Python Script ShortCut, Create ShortCut Permission is Required .
scriptPath (String)
label (String Optional) Text to Show on ShortCut
iconPath (String Optional) Image Path to Show as ShortCut's Icon
scriptArg (String Optional)
return None
Need Android >= 8.0 .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/decryptBytes.html b/source/qsl4a/decryptBytes.html
new file mode 100644
index 0000000..eba7ac5
--- /dev/null
+++ b/source/qsl4a/decryptBytes.html
@@ -0,0 +1 @@
+decryptBytes decryptBytes( srcBytes )
Decrypt a Bytes to another Bytes,
needs to run droid.cipherInit first , and encodingFormat must omitted .
srcBytes (Bytes)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/decryptFile.html b/source/qsl4a/decryptFile.html
new file mode 100644
index 0000000..e304c54
--- /dev/null
+++ b/source/qsl4a/decryptFile.html
@@ -0,0 +1 @@
+decryptFile decryptFile( srcFile, dstFile )
Decrypt a File to another File,
needs to run droid.cipherInit first .
if you want to operate files in Media Storage Device or /sdcard/Android/data/<packagename> , run droid.documentTreeShowOpen first .
srcFile (String)
dstFile (String)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/decryptFileToBytes.html b/source/qsl4a/decryptFileToBytes.html
new file mode 100644
index 0000000..8e0c1a7
--- /dev/null
+++ b/source/qsl4a/decryptFileToBytes.html
@@ -0,0 +1 @@
+decryptFileToBytes decryptFileToBytes( srcFile )
Decrypt a File to another Bytes,
needs to run droid.cipherInit first , and encodingFormat must omitted .
if you want to operate files in Media Storage Device or /sdcard/Android/data/<packagename> , run droid.documentTreeShowOpen first .
srcFile (String)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/decryptFileToString.html b/source/qsl4a/decryptFileToString.html
new file mode 100644
index 0000000..4d16cb2
--- /dev/null
+++ b/source/qsl4a/decryptFileToString.html
@@ -0,0 +1 @@
+decryptFileToString decryptFileToString( srcFile )
Decrypt a File to another Normal / Base64 String,
needs to run droid.cipherInit first .
if you want to operate files in Media Storage Device or /sdcard/Android/data/<packagename> , run droid.documentTreeShowOpen first .
srcFile (String)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/decryptString.html b/source/qsl4a/decryptString.html
new file mode 100644
index 0000000..8325e9b
--- /dev/null
+++ b/source/qsl4a/decryptString.html
@@ -0,0 +1 @@
+decryptString decryptString( srcString )
Decrypt a Base64 String to another Normal / Base64 String,
needs to run droid.cipherInit first .
srcString (String)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/dialogCreateAlert.html b/source/qsl4a/dialogCreateAlert.html
new file mode 100644
index 0000000..dadb4c3
--- /dev/null
+++ b/source/qsl4a/dialogCreateAlert.html
@@ -0,0 +1 @@
+dialogCreateAlertdialogCreateAlert(title=None,message=None)
Create alert dialog.
title (String) (optional)
message (String) (optional)
Example (python)
import androidhelper
droid=androidhelper.Android()
droid.dialogCreateAlert("I like swords.","Do you like swords?")
droid.dialogSetPositiveButtonText("Yes")
droid.dialogSetNegativeButtonText("No")
droid.dialogShow()
response=droid.dialogGetResponse().result
droid.dialogDismiss()
if response.has_key("which"):
result=response["which"]
if result=="positive":
print("Yay! I like swords too!")
elif result=="negative":
print("Oh. How sad.")
elif response.has_key("canceled"): # Yes, I know it's mispelled.
print("You can't even make up your mind?")
else:
print("Unknown response=",response)
print("Done")
<back>
\ No newline at end of file
diff --git a/source/qsl4a/dialogCreateDatePicker.html b/source/qsl4a/dialogCreateDatePicker.html
new file mode 100644
index 0000000..9242557
--- /dev/null
+++ b/source/qsl4a/dialogCreateDatePicker.html
@@ -0,0 +1 @@
+dialogCreateDatePickerdialogCreateDatePicker(year=1970,month=1,day=1)
Create date picker dialog.
year (Integer) (default=1970)
month (Integer) (default=1)
day (Integer) (default=1)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/dialogCreateHorizontalProgress.html b/source/qsl4a/dialogCreateHorizontalProgress.html
new file mode 100644
index 0000000..c3a9162
--- /dev/null
+++ b/source/qsl4a/dialogCreateHorizontalProgress.html
@@ -0,0 +1 @@
+dialogCreateHorizontalProgressdialogCreateHorizontalProgress(title=None,message=None,maximum_progress=100)
Create a horizontal progress dialog.
title (String) (optional)
message (String) (optional)
maximum progress (Integer) (default=100)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/dialogCreateInput.html b/source/qsl4a/dialogCreateInput.html
new file mode 100644
index 0000000..db44a74
--- /dev/null
+++ b/source/qsl4a/dialogCreateInput.html
@@ -0,0 +1 @@
+dialogCreateInputdialogCreateInput(title="Value",message="Please enter value:",defaultText=None,inputType=None)
Create a text input dialog.
title (String) title of the input box (default=Value)
message (String) message to display above the input box (default=Please enter value:)
defaultText (String) text to insert into the input box (optional)
inputType (String) type of input data, ie number or text (optional)
For inputType, see InputTypes. Some useful ones are text, number, and textUri. Multiple flags can be
supplied, seperated by "|", ie: "textUri|textAutoComplete"
<back>
\ No newline at end of file
diff --git a/source/qsl4a/dialogCreatePassword.html b/source/qsl4a/dialogCreatePassword.html
new file mode 100644
index 0000000..3c962bd
--- /dev/null
+++ b/source/qsl4a/dialogCreatePassword.html
@@ -0,0 +1 @@
+dialogCreatePassworddialogCreatePassword(title="Password",message="Please enter password:")
Create a password input dialog.
title (String) title of the input box (default=Password)
message (String) message to display above the input box (default=Please enter password:)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/dialogCreateSeekBar.html b/source/qsl4a/dialogCreateSeekBar.html
new file mode 100644
index 0000000..190bf4c
--- /dev/null
+++ b/source/qsl4a/dialogCreateSeekBar.html
@@ -0,0 +1 @@
+dialogCreateSeekBardialogCreateSeekBar(starting_value=50,maximum_value=100,title,message)
Create seek bar dialog.
starting value (Integer) (default=50)
maximum value (Integer) (default=100)
title (String)
message (String)
Will produce "dialog" events on change, containing:
"progress" - Position chosen, between 0 and max
"which" = "seekbar"
"fromuser" = true/false change is from user input
Response will contain a "progress" element.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/dialogCreateSpinnerProgress.html b/source/qsl4a/dialogCreateSpinnerProgress.html
new file mode 100644
index 0000000..d05d1c7
--- /dev/null
+++ b/source/qsl4a/dialogCreateSpinnerProgress.html
@@ -0,0 +1 @@
+dialogCreateSpinnerProgressdialogCreateSpinnerProgress(title=None,message=None,maximum_progress=100)
Create a spinner progress dialog.
title (String) (optional)
message (String) (optional)
maximum progress (Integer) (default=100)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/dialogCreateTimePicker.html b/source/qsl4a/dialogCreateTimePicker.html
new file mode 100644
index 0000000..1053bb3
--- /dev/null
+++ b/source/qsl4a/dialogCreateTimePicker.html
@@ -0,0 +1 @@
+dialogCreateTimePickerdialogCreateTimePicker(hour=0,minute=0,is24hour=False)
Create time picker dialog.
hour (Integer) (default=0)
minute (Integer) (default=0)
is24hour (Boolean) Use 24 hour clock (default=false)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/dialogDismiss.html b/source/qsl4a/dialogDismiss.html
new file mode 100644
index 0000000..1cbdc46
--- /dev/null
+++ b/source/qsl4a/dialogDismiss.html
@@ -0,0 +1 @@
+dialogDismissdialogDismiss()
Dismiss dialog.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/dialogGetInput.html b/source/qsl4a/dialogGetInput.html
new file mode 100644
index 0000000..0c1231a
--- /dev/null
+++ b/source/qsl4a/dialogGetInput.html
@@ -0,0 +1 @@
+dialogGetInputdialogGetInput(title="Value",message="Please enter value:",defaultText=None)
Queries the user for a text input.
title (String) title of the input box (default=Value)
message (String) message to display above the input box (default=Please enter value:)
defaultText (String) text to insert into the input box (optional)
The result is the user's input, or None (null) if cancel was hit.
Example (python)
import android
droid=android.Android()
print droid.dialogGetInput("Title","Message","Default").result
<back>
\ No newline at end of file
diff --git a/source/qsl4a/dialogGetPassword.html b/source/qsl4a/dialogGetPassword.html
new file mode 100644
index 0000000..f057360
--- /dev/null
+++ b/source/qsl4a/dialogGetPassword.html
@@ -0,0 +1 @@
+dialogGetPassworddialogGetPassword(title="Password",message="Please enter password:")
Queries the user for a password.
title (String) title of the password box (default=Password)
message (String) message to display above the input box (default=Please enter password:)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/dialogGetResponse.html b/source/qsl4a/dialogGetResponse.html
new file mode 100644
index 0000000..6f27511
--- /dev/null
+++ b/source/qsl4a/dialogGetResponse.html
@@ -0,0 +1 @@
+dialogGetResponsedialogGetResponse()
Returns dialog response.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/dialogGetSelectedItems.html b/source/qsl4a/dialogGetSelectedItems.html
new file mode 100644
index 0000000..93511c7
--- /dev/null
+++ b/source/qsl4a/dialogGetSelectedItems.html
@@ -0,0 +1 @@
+dialogGetSelectedItemsdialogGetSelectedItems()
This method provides list of items user selected.
returns: (Set) Selected items
<back>
\ No newline at end of file
diff --git a/source/qsl4a/dialogSetCurrentProgress.html b/source/qsl4a/dialogSetCurrentProgress.html
new file mode 100644
index 0000000..a5a6e10
--- /dev/null
+++ b/source/qsl4a/dialogSetCurrentProgress.html
@@ -0,0 +1 @@
+dialogSetCurrentProgressdialogSetCurrentProgress(current)
Set progress dialog current value.
current (Integer)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/dialogSetItems.html b/source/qsl4a/dialogSetItems.html
new file mode 100644
index 0000000..db33a70
--- /dev/null
+++ b/source/qsl4a/dialogSetItems.html
@@ -0,0 +1 @@
+dialogSetItemsdialogSetItems(items)
Set alert dialog list items.
items (JSONArray)
This effectively creates list of options. Clicking on an item will immediately return an "item"
element, which is the index of the selected item.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/dialogSetMaxProgress.html b/source/qsl4a/dialogSetMaxProgress.html
new file mode 100644
index 0000000..ad56695
--- /dev/null
+++ b/source/qsl4a/dialogSetMaxProgress.html
@@ -0,0 +1 @@
+dialogSetMaxProgressdialogSetMaxProgress(max)
Set progress dialog maximum value.
max (Integer)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/dialogSetMessageIsHtml.html b/source/qsl4a/dialogSetMessageIsHtml.html
new file mode 100644
index 0000000..5ed2d6c
--- /dev/null
+++ b/source/qsl4a/dialogSetMessageIsHtml.html
@@ -0,0 +1 @@
+dialogSetMessageIsHtmldialogSetMessageIsHtml(messageIsHtml = True)
Make Alert Dialog Message from Plain Text to Html .
messageIsHtml (Boolean Optional)
Return None .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/dialogSetMultiChoiceItems.html b/source/qsl4a/dialogSetMultiChoiceItems.html
new file mode 100644
index 0000000..94630bf
--- /dev/null
+++ b/source/qsl4a/dialogSetMultiChoiceItems.html
@@ -0,0 +1 @@
+dialogSetMultiChoiceItemsdialogSetMultiChoiceItems(items,selected=None)
Set dialog multiple choice items and selection.
items (JSONArray)
selected (JSONArray) list of selected items (optional)
This creates a list of check boxes. You can select multiple items out of the list. A response
will not be returned until the dialog is closed, either with the Cancel key or a button
(positive/negative/neutral). Use dialogGetSelectedItems() to find out what was
selected.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/dialogSetNegativeButtonText.html b/source/qsl4a/dialogSetNegativeButtonText.html
new file mode 100644
index 0000000..22ddc2a
--- /dev/null
+++ b/source/qsl4a/dialogSetNegativeButtonText.html
@@ -0,0 +1 @@
+dialogSetNegativeButtonTextdialogSetNegativeButtonText(text)
Set alert dialog button text.
text (String)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/dialogSetNeutralButtonText.html b/source/qsl4a/dialogSetNeutralButtonText.html
new file mode 100644
index 0000000..96048a3
--- /dev/null
+++ b/source/qsl4a/dialogSetNeutralButtonText.html
@@ -0,0 +1 @@
+dialogSetNeutralButtonTextdialogSetNeutralButtonText(text)
Set alert dialog button text.
text (String)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/dialogSetPositiveButtonText.html b/source/qsl4a/dialogSetPositiveButtonText.html
new file mode 100644
index 0000000..0d27ece
--- /dev/null
+++ b/source/qsl4a/dialogSetPositiveButtonText.html
@@ -0,0 +1 @@
+dialogSetPositiveButtonTextdialogSetPositiveButtonText(text)
Set alert dialog positive button text.
text (String)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/dialogSetProgressMessage.html b/source/qsl4a/dialogSetProgressMessage.html
new file mode 100644
index 0000000..ccfee90
--- /dev/null
+++ b/source/qsl4a/dialogSetProgressMessage.html
@@ -0,0 +1 @@
+dialogSetProgressMessagedialogSetProgressMessage(message)
Set progress dialog message .
message (String)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/dialogSetSingleChoiceItems.html b/source/qsl4a/dialogSetSingleChoiceItems.html
new file mode 100644
index 0000000..1b47d8e
--- /dev/null
+++ b/source/qsl4a/dialogSetSingleChoiceItems.html
@@ -0,0 +1 @@
+dialogSetSingleChoiceItemsdialogSetSingleChoiceItems(items,selected=0)
Set dialog single choice items and selected item.
items (JSONArray)
selected (Integer) selected item index (default=0)
This creates a list of radio buttons. You can select one item out of the list. A response will
not be returned until the dialog is closed, either with the Cancel key or a button
(positive/negative/neutral). Use dialogGetSelectedItems() to find out what was
selected.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/dialogShow.html b/source/qsl4a/dialogShow.html
new file mode 100644
index 0000000..de808e3
--- /dev/null
+++ b/source/qsl4a/dialogShow.html
@@ -0,0 +1 @@
+dialogShowdialogShow()
Show dialog.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/documentFileCopy.html b/source/qsl4a/documentFileCopy.html
new file mode 100644
index 0000000..8a80bc3
--- /dev/null
+++ b/source/qsl4a/documentFileCopy.html
@@ -0,0 +1 @@
+documentFileCopy documentFileCopy( SrcFileOrTree, DestFileOrTree )
Return None .
Use This Function to Read/Write Media Storage Device or "/storage/emulated/0/Android/<subPath>" .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/documentFileDelete.html b/source/qsl4a/documentFileDelete.html
new file mode 100644
index 0000000..98719b9
--- /dev/null
+++ b/source/qsl4a/documentFileDelete.html
@@ -0,0 +1 @@
+documentFileDelete documentFileDelete( FileOrTree )
Return True if Success .
Use This Function to Read/Write Media Storage Device or "/storage/emulated/0/Android/<subPath>" .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/documentFileExists.html b/source/qsl4a/documentFileExists.html
new file mode 100644
index 0000000..6fab690
--- /dev/null
+++ b/source/qsl4a/documentFileExists.html
@@ -0,0 +1 @@
+documentFileExists documentFileExists(path)
Return a path is exists ,
path (String)
Use This Function to Read/Write Media Storage Device or "/storage/emulated/0/Android/<subPath>" .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/documentFileGetStat.html b/source/qsl4a/documentFileGetStat.html
new file mode 100644
index 0000000..324b3cf
--- /dev/null
+++ b/source/qsl4a/documentFileGetStat.html
@@ -0,0 +1 @@
+documentFileGetStat documentFileGetStat(path)
Return a dict of file length , last modified and file can read/write ,
if path not exists or not available , return None .
path (String)
Use This Function to Read/Write Media Storage Device or "/storage/emulated/0/Android/<subPath>" .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/documentFileGetUri.html b/source/qsl4a/documentFileGetUri.html
new file mode 100644
index 0000000..f6c45a7
--- /dev/null
+++ b/source/qsl4a/documentFileGetUri.html
@@ -0,0 +1 @@
+documentFileGetUri documentFileGetUri(path, isDirectory = None)
Return "content://com.android.externalstorage.documents/<ContentPaths>" according to the specific path .
path (String)
isDirectory (Boolean Optional) :
True - must be a directory , create an empty folder if not exist ;
False - must not be a directory , create an empty file if not exist ;
None - don't know if it is a directory , create nothing and return None if not exist .
Use This Function to Read/Write Media Storage Device or "/storage/emulated/0/Android/<subPath>" .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/documentFileInputStream.html b/source/qsl4a/documentFileInputStream.html
new file mode 100644
index 0000000..fd6a2aa
--- /dev/null
+++ b/source/qsl4a/documentFileInputStream.html
@@ -0,0 +1 @@
+documentFileInputStream documentFileInputStream( srcFile, EncodingFormat = "", skip = None, length = None )
documentFileReadFrom is the same as documentFileInputStream .
If EncodingFormat is omitted ( empty default ) , this function will return Bytes ;
If EncodingFormat is Base64 , this function will return Base64 String ;
If EncodingFormat is UTF-8 or GBK etc , this function will return Normal String .
If skip is None default, skip == 0 (start of srcFile) , otherwise skip bytes from srcFile's head,
If length is None default, length means rest of srcFile, read length bytes from skip place .
Use This Function to Read/Write Media Storage Device or "/storage/emulated/0/Android/<subPath>" .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/documentFileIsDirectory.html b/source/qsl4a/documentFileIsDirectory.html
new file mode 100644
index 0000000..5331550
--- /dev/null
+++ b/source/qsl4a/documentFileIsDirectory.html
@@ -0,0 +1 @@
+documentFileIsDirectory documentFileIsDirectory(path)
Return a path is a directory ,
if path not exists or not available , return None .
path (String)
Use This Function to Read/Write Media Storage Device or "/storage/emulated/0/Android/<subPath>" .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/documentFileIsFile.html b/source/qsl4a/documentFileIsFile.html
new file mode 100644
index 0000000..e4bfa82
--- /dev/null
+++ b/source/qsl4a/documentFileIsFile.html
@@ -0,0 +1 @@
+documentFileIsFile documentFileIsFile(path)
Return a path is a file ,
if path not exists or not available , return None .
path (String)
Use This Function to Read/Write Media Storage Device or "/storage/emulated/0/Android/<subPath>" .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/documentFileLastModified.html b/source/qsl4a/documentFileLastModified.html
new file mode 100644
index 0000000..02a117e
--- /dev/null
+++ b/source/qsl4a/documentFileLastModified.html
@@ -0,0 +1 @@
+documentFileLastModified documentFileLastModified(path)
Return a path's Last Modified time,
if path not exists or not available , return 0 .
path (String)
Use This Function to Read/Write Media Storage Device or "/storage/emulated/0/Android/<subPath>" .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/documentFileLength.html b/source/qsl4a/documentFileLength.html
new file mode 100644
index 0000000..1558879
--- /dev/null
+++ b/source/qsl4a/documentFileLength.html
@@ -0,0 +1 @@
+documentFileLength documentFileLength(path)
Return a path's file size,
if path not exists or not available , return 0 .
path (String)
Use This Function to Read/Write Media Storage Device or "/storage/emulated/0/Android/<subPath>" .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/documentFileListFiles.html b/source/qsl4a/documentFileListFiles.html
new file mode 100644
index 0000000..d7e2472
--- /dev/null
+++ b/source/qsl4a/documentFileListFiles.html
@@ -0,0 +1 @@
+documentFileListFiles documentFileListFiles( Folder )
Return List of Files of the Folder .
Use This Function to Read/Write Media Storage Device or "/storage/emulated/0/Android/<subPath>" .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/documentFileMkdir.html b/source/qsl4a/documentFileMkdir.html
new file mode 100644
index 0000000..c95000d
--- /dev/null
+++ b/source/qsl4a/documentFileMkdir.html
@@ -0,0 +1 @@
+documentFileMkdir documentFileMkdir( Dir )
Make New Directory(s)
documentFileMkdirs is the same as documentFileMkdir .
Return True if Success .
Use This Function to Read/Write Media Storage Device or "/storage/emulated/0/Android/<subPath>" .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/documentFileMkdirs.html b/source/qsl4a/documentFileMkdirs.html
new file mode 100644
index 0000000..3f83d3d
--- /dev/null
+++ b/source/qsl4a/documentFileMkdirs.html
@@ -0,0 +1 @@
+documentFileMkdirs documentFileMkdir( Dir )
Make New Directory(s)
documentFileMkdirs is the same as documentFileMkdir .
Return True if Success .
Use This Function to Read/Write Media Storage Device or "/storage/emulated/0/Android/<subPath>" .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/documentFileMoveTo.html b/source/qsl4a/documentFileMoveTo.html
new file mode 100644
index 0000000..4077ff4
--- /dev/null
+++ b/source/qsl4a/documentFileMoveTo.html
@@ -0,0 +1 @@
+documentFileMoveTo documentFileRenameTo( Src, Dest )
documentFileMoveTo is the same as documentFileRenameTo
Move or Rename Tree or File .
Return True if Success .
Use This Function to Read/Write Media Storage Device or "/storage/emulated/0/Android/<subPath>" .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/documentFileOutputStream.html b/source/qsl4a/documentFileOutputStream.html
new file mode 100644
index 0000000..b5437f7
--- /dev/null
+++ b/source/qsl4a/documentFileOutputStream.html
@@ -0,0 +1 @@
+documentFileOutputStream documentFileOutputStream( destFile, src, EncodingFormat = "", append = None )
documentFileWriteTo is the same as documentFileOutputStream .
If EncodingFormat is omitted (empty default) , src will be Bytes ;
If EncodingFormat is Base64 , src will be Base64 String ;
If EncodingFormat is UTF-8 or GBK etc , src will be Normal String ;
When a destFile exists, if append is True, append content to the end of the destFile, if append is False or None, overwrite the original destFile .
This Function always return None .
Use This Function to Read/Write Media Storage Device or "/storage/emulated/0/Android/<subPath>" .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/documentFileReadFrom.html b/source/qsl4a/documentFileReadFrom.html
new file mode 100644
index 0000000..b30507a
--- /dev/null
+++ b/source/qsl4a/documentFileReadFrom.html
@@ -0,0 +1 @@
+documentFileReadFrom documentFileInputStream( srcFile, EncodingFormat = "", skip = None, length = None )
documentFileReadFrom is the same as documentFileInputStream .
If EncodingFormat is omitted ( empty default ) , this function will return Bytes ;
If EncodingFormat is Base64 , this function will return Base64 String ;
If EncodingFormat is UTF-8 or GBK etc , this function will return Normal String .
If skip is None default, skip == 0 (start of srcFile) , otherwise skip bytes from srcFile's head,
If length is None default, length means rest of srcFile, read length bytes from skip place .
Use This Function to Read/Write Media Storage Device or "/storage/emulated/0/Android/<subPath>" .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/documentFileRenameTo.html b/source/qsl4a/documentFileRenameTo.html
new file mode 100644
index 0000000..f7de41b
--- /dev/null
+++ b/source/qsl4a/documentFileRenameTo.html
@@ -0,0 +1 @@
+documentFileRenameTo documentFileRenameTo( Src, Dest )
documentFileMoveTo is the same as documentFileRenameTo
Move or Rename Tree or File .
Return True if Success .
Use This Function to Read/Write Media Storage Device or "/storage/emulated/0/Android/<subPath>" .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/documentFileShowOpen.html b/source/qsl4a/documentFileShowOpen.html
new file mode 100644
index 0000000..d4e854b
--- /dev/null
+++ b/source/qsl4a/documentFileShowOpen.html
@@ -0,0 +1 @@
+documentFileShowOpendocumentTreeShowOpen( rootPath = '/storage/emulated/0' )
Request for Media Storage Write or "/storage/emulated/0/Android/<subPath>" Read/Write Permissions .
documentFileShowOpen is the same as documentTreeShowOpen .
rootPath (String)
Return Uri String if Success , if Fail return None .
Use This Function to Read/Write Media Storage Device or "/storage/emulated/0/Android/<subPath>" ,
documentTreeShowOpen will get all documentFile functions to androidhelper at the same time ,
documentFile functions are very slow .
For Media Storage Devices :
use rootPath = "/storage/ABCD-EFGH" or "/mnt/ext_sdcard" , return "content://com.android.externalstorage.documents/<ContentPaths>" .
For "/storage/emulated/0/Android/<subPath>" :
For Android 7-10 , use rootPath = "/storage/emulated/0/Android/data" , return "file://<paths>" ;
For Android 11-13 , use rootPath = "/storage/emulated/0/Android/data/the.package.name" , return "content://com.android.externalstorage.documents/<ContentPaths>" .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/documentFileWriteTo.html b/source/qsl4a/documentFileWriteTo.html
new file mode 100644
index 0000000..b92cdf9
--- /dev/null
+++ b/source/qsl4a/documentFileWriteTo.html
@@ -0,0 +1 @@
+documentFileWriteTo documentFileOutputStream( destFile, src, EncodingFormat = "", append = None )
documentFileWriteTo is the same as documentFileOutputStream .
If EncodingFormat is omitted (empty default) , src will be Bytes ;
If EncodingFormat is Base64 , src will be Base64 String ;
If EncodingFormat is UTF-8 or GBK etc , src will be Normal String ;
When a destFile exists, if append is True, append content to the end of the destFile, if append is False or None, overwrite the original destFile .
This Function always return None .
Use This Function to Read/Write Media Storage Device or "/storage/emulated/0/Android/<subPath>" .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/documentTreeShowOpen.html b/source/qsl4a/documentTreeShowOpen.html
new file mode 100644
index 0000000..0209f6d
--- /dev/null
+++ b/source/qsl4a/documentTreeShowOpen.html
@@ -0,0 +1 @@
+documentTreeShowOpendocumentTreeShowOpen( rootPath = '/storage/emulated/0' )
Request for Media Storage Write or "/storage/emulated/0/Android/<subPath>" Read/Write Permissions .
documentFileShowOpen is the same as documentTreeShowOpen .
rootPath (String)
Return Uri String if Success , if Fail return None .
Use This Function to Read/Write Media Storage Device or "/storage/emulated/0/Android/<subPath>" ,
documentTreeShowOpen will get all documentFile functions to androidhelper at the same time ,
documentFile functions are very slow .
For Media Storage Devices :
use rootPath = "/storage/ABCD-EFGH" or "/mnt/ext_sdcard" , return "content://com.android.externalstorage.documents/<ContentPaths>" .
For "/storage/emulated/0/Android/<subPath>" :
For Android 7-10 , use rootPath = "/storage/emulated/0/Android/data" , return "file://<paths>" ;
For Android 11-13 , use rootPath = "/storage/emulated/0/Android/data/the.package.name" , return "content://com.android.externalstorage.documents/<ContentPaths>" .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/elapsedRealtimeNanos.html b/source/qsl4a/elapsedRealtimeNanos.html
new file mode 100644
index 0000000..1a6a6b7
--- /dev/null
+++ b/source/qsl4a/elapsedRealtimeNanos.html
@@ -0,0 +1 @@
+elapsedRealtimeNanoselapsedRealtimeNanos()
return Nanoseconds after system startup
<back>
\ No newline at end of file
diff --git a/source/qsl4a/encryptBytes.html b/source/qsl4a/encryptBytes.html
new file mode 100644
index 0000000..bb32f54
--- /dev/null
+++ b/source/qsl4a/encryptBytes.html
@@ -0,0 +1 @@
+encryptBytes encryptBytes( srcBytes )
Encrypt a Bytes to another Bytes ,
needs to run droid.cipherInit first , and encodingFormat must omitted .
srcBytes (Bytes)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/encryptBytesToFile.html b/source/qsl4a/encryptBytesToFile.html
new file mode 100644
index 0000000..307bc9a
--- /dev/null
+++ b/source/qsl4a/encryptBytesToFile.html
@@ -0,0 +1 @@
+encryptBytesToFile encryptBytesToFile( srcBytes, dstFile )
Encrypt a Bytes to another File ,
needs to run droid.cipherInit first , and encodingFormat must omitted .
if you want to operate files in Media Storage Device or /sdcard/Android/data/<packagename> , run droid.documentTreeShowOpen first .
srcBytes (Bytes)
dstFile (String)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/encryptFile.html b/source/qsl4a/encryptFile.html
new file mode 100644
index 0000000..f60a836
--- /dev/null
+++ b/source/qsl4a/encryptFile.html
@@ -0,0 +1 @@
+encryptFile encryptFile( srcFile, dstFile )
Encrypt a File to another File,
needs to run droid.cipherInit first .
if you want to operate files in Media Storage Device or /sdcard/Android/data/<packagename> , run droid.documentTreeShowOpen first .
srcFile (String)
dstFile (String)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/encryptString.html b/source/qsl4a/encryptString.html
new file mode 100644
index 0000000..1f1f41e
--- /dev/null
+++ b/source/qsl4a/encryptString.html
@@ -0,0 +1 @@
+encryptString encryptString( srcString )
Encrypt a Normal / Base64 String to another Base64 String ,
needs to run droid.cipherInit first .
srcString (String)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/encryptStringToFile.html b/source/qsl4a/encryptStringToFile.html
new file mode 100644
index 0000000..8d8b2fd
--- /dev/null
+++ b/source/qsl4a/encryptStringToFile.html
@@ -0,0 +1 @@
+encryptStringToFile encryptStringToFile( srcString, dstFile )
Encrypt a Normal / Base64 String to another File ,
needs to run droid.cipherInit first .
if you want to operate files in Media Storage Device or /sdcard/Android/data/<packagename> , run droid.documentTreeShowOpen first .
srcString (String)
dstFile (String)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/environment.html b/source/qsl4a/environment.html
new file mode 100644
index 0000000..b3706f3
--- /dev/null
+++ b/source/qsl4a/environment.html
@@ -0,0 +1 @@
+environmentenvironment()
A map of various useful environment details
Map returned:
TZ = Timezone
id = Timezone ID
display = Timezone display name
offset = Offset from UTC (in ms)
SDK = SDK Version
download = default download path
appcache = Location of application cache
sdcard = Space on sdcard
availblocks = Available blocks
blockcount = Total Blocks
blocksize = size of block.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/eventClearBuffer.html b/source/qsl4a/eventClearBuffer.html
new file mode 100644
index 0000000..9124d87
--- /dev/null
+++ b/source/qsl4a/eventClearBuffer.html
@@ -0,0 +1 @@
+eventClearBuffereventClearBuffer()
Clears all events from the event buffer.
Example (python): droid.eventClearBuffer()
<back>
\ No newline at end of file
diff --git a/source/qsl4a/eventGetBrodcastCategories.html b/source/qsl4a/eventGetBrodcastCategories.html
new file mode 100644
index 0000000..adfc544
--- /dev/null
+++ b/source/qsl4a/eventGetBrodcastCategories.html
@@ -0,0 +1 @@
+eventGetBrodcastCategorieseventGetBrodcastCategories()
Lists all the broadcast signals we are listening for
<back>
\ No newline at end of file
diff --git a/source/qsl4a/eventPoll.html b/source/qsl4a/eventPoll.html
new file mode 100644
index 0000000..31219ec
--- /dev/null
+++ b/source/qsl4a/eventPoll.html
@@ -0,0 +1 @@
+eventPolleventPoll(number_of_events=1)
Returns and removes the oldest n events (i.e. location or sensor update, etc.) from the event buffer.
number_of_events (Integer) (default=1)
returns: (List) A List of Maps of event properties.
Actual data returned in the map will depend on the type of event.
Example (python):
import android, time
droid = android.Android()
droid.startSensing()
time.sleep(1)
droid.eventClearBuffer()
time.sleep(1)
e = eventPoll(1).result
event_entry_number = 0
x = e[event_entry_ number]['data']['xforce']
e has the format:
[{u'data': {u'accuracy': 0, u'pitch': -0.48766891956329345, u'xmag': -5.6875, u'azimuth':
0.3312483489513397, u'zforce': 8.3492730000000002, u'yforce': 4.5628165999999997, u'time':
1297072704.813, u'ymag': -11.125, u'zmag': -42.375, u'roll': -0.059393649548292161, u'xforce':
0.42223078000000003}, u'name': u'sensors', u'time': 1297072704813000L}]
x has the string value of the x force data (0.42223078000000003) at the time of the event
entry.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/eventPost.html b/source/qsl4a/eventPost.html
new file mode 100644
index 0000000..aa54278
--- /dev/null
+++ b/source/qsl4a/eventPost.html
@@ -0,0 +1 @@
+eventPosteventPost(name,data,enqueue=None)
Post an event to the event queue.
name (String) Name of event
data (String) Data contained in event.
enqueue (Boolean) Set to False if you don\'t want your events to be added to the event queue, just dispatched. (optional) (default=false)
Example:
import android
from datetime import datetime
droid = android.Android()
t = datetime.now()
droid.eventPost('Some Event', t)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/eventRegisterForBroadcast.html b/source/qsl4a/eventRegisterForBroadcast.html
new file mode 100644
index 0000000..22c2789
--- /dev/null
+++ b/source/qsl4a/eventRegisterForBroadcast.html
@@ -0,0 +1 @@
+eventRegisterForBroadcasteventRegisterForBroadcast(category,enqueue=True)
Registers a listener for a new broadcast signal
category (String)
enqueue (Boolean) Should this events be added to the event queue or only dispatched (default=true)
Registers a listener for a new broadcast signal
<back>
\ No newline at end of file
diff --git a/source/qsl4a/eventUnregisterForBroadcast.html b/source/qsl4a/eventUnregisterForBroadcast.html
new file mode 100644
index 0000000..d5eadb9
--- /dev/null
+++ b/source/qsl4a/eventUnregisterForBroadcast.html
@@ -0,0 +1 @@
+eventUnregisterForBroadcasteventUnregisterForBroadcast(category)
Stop listening for a broadcast signal
category (String)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/eventWait.html b/source/qsl4a/eventWait.html
new file mode 100644
index 0000000..0296127
--- /dev/null
+++ b/source/qsl4a/eventWait.html
@@ -0,0 +1 @@
+eventWaiteventWait(timeout=None)
Blocks until an event occurs. The returned event is removed from the buffer.
timeout (Integer) the maximum time to wait (optional)
returns: (Event) Map of event properties.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/eventWaitFor.html b/source/qsl4a/eventWaitFor.html
new file mode 100644
index 0000000..dc14d38
--- /dev/null
+++ b/source/qsl4a/eventWaitFor.html
@@ -0,0 +1 @@
+eventWaitForeventWaitFor(eventName,timeout=None)
Blocks until an event with the supplied name occurs. The returned event is not removed from the buffer.
eventName (String)
timeout (Integer) the maximum time to wait (in ms) (optional)
returns: (Event) Map of event properties.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/executeQPy.html b/source/qsl4a/executeQPy.html
new file mode 100644
index 0000000..1518850
--- /dev/null
+++ b/source/qsl4a/executeQPy.html
@@ -0,0 +1 @@
+executeQPyexecuteQPy(scriptPath='',arg=None)
Run a QPython script with path .
scriptPath (String)
arg (String Optional)
If scriptPath is empty, open python shell only .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/floatView.html b/source/qsl4a/floatView.html
new file mode 100644
index 0000000..0474def
--- /dev/null
+++ b/source/qsl4a/floatView.html
@@ -0,0 +1 @@
+floatViewfloatView(Args=None)
Show Float View .
Only support Android >= 8.0 .
# FloatView Args is a dict which default (empty) value is :
{
'text':"drag move\nlong click close",
# FloatView Drag Move , Long Click Close
'html':<omitted>,
# if has text, html will be omitted, if text is omitted and html has content, FloatView will use html
'width':300,
'height':150,
'x':0,
'y':0,
# original point (x=y=0) is the center of screen
# x,y,width,height can assign a String "last"
'backColor':'7f7f7f7f',
'textColor':'ff000000',
# backColor and textColor can assign a String "last"
'textSize':10,
'textAlign':0,
# floatView.TEXT_ALIGNMENT_INHERIT = 0
# textSize and textAlign can assign a String "last"
'script':<omitted>, # script path
# after Long Click Close the FloatView, run script with script arg, if script is omitted, do nothing after Long Click Close the FloatView
'arg':<omitted>, # script arg
# script arg is use with script
'index':-1,
# if index is omitted ( i.e. floatView.INDEX_NEW = -1 ) , create a new Float View,
# if index > 0, modify an existed Float View with index .
'clickRemove':True,
'flag':40
# floatView.FLAG_DEFAULT_TOUCHABLE = 40
}
Return Float View current chain list length (not the number of Float Views) .
floatView.INDEX_NEW = -1
floatView.FLAG_DEFAULT_TOUCHABLE = 40
floatView.FLAG_DEFAULT_NOT_TOUCHABLE = 24
floatView.FLAG_NOT_TOUCH_MODAL = 32
floatView.FLAG_NOT_FOCUSABLE = 8
floatView.FLAG_NOT_TOUCHABLE = 16
floatView.TEXT_ALIGNMENT_INHERIT = 0
floatView.TEXT_ALIGNMENT_GRAVITY = 1
floatView.TEXT_ALIGNMENT_TEXT_START = 2
floatView.TEXT_ALIGNMENT_TEXT_END = 3
floatView.TEXT_ALIGNMENT_CENTER = 4
floatView.TEXT_ALIGNMENT_VIEW_START = 5
floatView.TEXT_ALIGNMENT_VIEW_END = 6
<back>
\ No newline at end of file
diff --git a/source/qsl4a/floatViewCount.html b/source/qsl4a/floatViewCount.html
new file mode 100644
index 0000000..5e42f30
--- /dev/null
+++ b/source/qsl4a/floatViewCount.html
@@ -0,0 +1 @@
+floatViewCountfloatViewCount()
Count Float View number ,
Returns an integer .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/floatViewRemove.html b/source/qsl4a/floatViewRemove.html
new file mode 100644
index 0000000..cbf9373
--- /dev/null
+++ b/source/qsl4a/floatViewRemove.html
@@ -0,0 +1 @@
+floatViewRemovefloatViewRemove(index = -1)
Remove Float View with index,
index (Integer Optional) If index is omitted ( i.e. floatViewRemove.ALL = -1 ) , Remove All Float Views ,
Return the number of removed Float Views .
floatViewRemove.ALL = -1
<back>
\ No newline at end of file
diff --git a/source/qsl4a/floatViewResult.html b/source/qsl4a/floatViewResult.html
new file mode 100644
index 0000000..531a380
--- /dev/null
+++ b/source/qsl4a/floatViewResult.html
@@ -0,0 +1 @@
+floatViewResultfloatViewResult(index = -1)
Return Float View Result with index:
x, y, time (miliseconds) , operation, index .
Only support Android >= 8.0 .
index (Integer Optional) if index is omitted ( i.e. floatViewResult.LAST = -1 ) , return the Result of the last Float View .
floatViewResult.LAST = -1
<back>
\ No newline at end of file
diff --git a/source/qsl4a/forceStopPackage.html b/source/qsl4a/forceStopPackage.html
new file mode 100644
index 0000000..abaef63
--- /dev/null
+++ b/source/qsl4a/forceStopPackage.html
@@ -0,0 +1 @@
+forceStopPackageforceStopPackage(packageName)
Force stops a package.
packageName (String) name of package
<back>
\ No newline at end of file
diff --git a/source/qsl4a/ftpGet.html b/source/qsl4a/ftpGet.html
new file mode 100644
index 0000000..7a44580
--- /dev/null
+++ b/source/qsl4a/ftpGet.html
@@ -0,0 +1 @@
+ftpGetftpGet()
ftp get ip address and port number .
return a list of ftp address like ["ftp://12.34.56.78:4321", "ftp://12.34.56.90:4321"], if ftp address is "ftp://0.0.0.0:4321", means ftp address not valid, you should connect wifi or open wifi hotspot .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/ftpIsRunning.html b/source/qsl4a/ftpIsRunning.html
new file mode 100644
index 0000000..ac31645
--- /dev/null
+++ b/source/qsl4a/ftpIsRunning.html
@@ -0,0 +1 @@
+ftpIsRunningftpIsRunning()
return True/False
<back>
\ No newline at end of file
diff --git a/source/qsl4a/ftpSet.html b/source/qsl4a/ftpSet.html
new file mode 100644
index 0000000..294620b
--- /dev/null
+++ b/source/qsl4a/ftpSet.html
@@ -0,0 +1 @@
+ftpSetftpSet(port = None, chrootDir = None, username = "ftp", password = "ftp")
port (Integer Optional) default is 2121
chrootDir (String Optional) default is "/sdcard"
username / password (String Optional) default is "ftp"
return None
If the current ftp server is running, you need to restart the ftp server to take effect .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/ftpStart.html b/source/qsl4a/ftpStart.html
new file mode 100644
index 0000000..13ce846
--- /dev/null
+++ b/source/qsl4a/ftpStart.html
@@ -0,0 +1 @@
+ftpStartftpStart()
Start ftp server .
return a list of ftp address like ["ftp://12.34.56.78:4321", "ftp://12.34.56.90:4321"], if ftp address is "ftp://0.0.0.0:4321", means ftp address not valid, you should connect wifi or open wifi hotspot .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/ftpStop.html b/source/qsl4a/ftpStop.html
new file mode 100644
index 0000000..c61a6c3
--- /dev/null
+++ b/source/qsl4a/ftpStop.html
@@ -0,0 +1 @@
+ftpStopftpStop()
Stop ftp server .
return None
<back>
\ No newline at end of file
diff --git a/source/qsl4a/fullDismiss.html b/source/qsl4a/fullDismiss.html
new file mode 100644
index 0000000..4a00bf3
--- /dev/null
+++ b/source/qsl4a/fullDismiss.html
@@ -0,0 +1 @@
+fullDismissfullDismiss()
Dismiss Full Screen.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/fullGetProperties.html b/source/qsl4a/fullGetProperties.html
new file mode 100644
index 0000000..bd2095d
--- /dev/null
+++ b/source/qsl4a/fullGetProperties.html
@@ -0,0 +1 @@
+fullGetPropertiesfullGetProperties(ids,property)
Get a fullscreen property for many specific widgets
ids (String List) ids of layout widgets
property (String) property of layout widgets
<back>
\ No newline at end of file
diff --git a/source/qsl4a/fullGetProperty.html b/source/qsl4a/fullGetProperty.html
new file mode 100644
index 0000000..f986971
--- /dev/null
+++ b/source/qsl4a/fullGetProperty.html
@@ -0,0 +1 @@
+fullGetPropertyfullGetProperty(id,property)
Get a fullscreen property for a specific widget
id (String) id of layout widget
property (String) property of layout widget
<back>
\ No newline at end of file
diff --git a/source/qsl4a/fullGetScreenShot.html b/source/qsl4a/fullGetScreenShot.html
new file mode 100644
index 0000000..66b0611
--- /dev/null
+++ b/source/qsl4a/fullGetScreenShot.html
@@ -0,0 +1 @@
+fullGetScreenShotfullGetScreenShot(path = None)
Get the Full Screen Activity ScreenShot to path .
path (String Optional) jpeg file path, if omitted, use default path
return path
<back>
\ No newline at end of file
diff --git a/source/qsl4a/fullQuery.html b/source/qsl4a/fullQuery.html
new file mode 100644
index 0000000..c1e5ea2
--- /dev/null
+++ b/source/qsl4a/fullQuery.html
@@ -0,0 +1 @@
+fullQueryfullQuery()
Get Fullscreen Properties
<back>
\ No newline at end of file
diff --git a/source/qsl4a/fullQueryDetail.html b/source/qsl4a/fullQueryDetail.html
new file mode 100644
index 0000000..d0ecf6d
--- /dev/null
+++ b/source/qsl4a/fullQueryDetail.html
@@ -0,0 +1 @@
+fullQueryDetailfullQueryDetail(id)
Get fullscreen properties for a specific widget
id (String) id of layout widget
<back>
\ No newline at end of file
diff --git a/source/qsl4a/fullSetList.html b/source/qsl4a/fullSetList.html
new file mode 100644
index 0000000..f7eacc0
--- /dev/null
+++ b/source/qsl4a/fullSetList.html
@@ -0,0 +1 @@
+fullSetListfullSetList(id,list)
Attach a text list to a fullscreen widget
id (String) id of layout widget
list (JSONArray) Text List to set
<back>
\ No newline at end of file
diff --git a/source/qsl4a/fullSetList2.html b/source/qsl4a/fullSetList2.html
new file mode 100644
index 0000000..0f682dc
--- /dev/null
+++ b/source/qsl4a/fullSetList2.html
@@ -0,0 +1 @@
+fullSetList2fullSetList2(id,list,intRes)
Attach a 2-line list to a fullscreen widget
id (String) id of layout widget
list (JSONArray) List to set like [1Up,1Down,2Up,2Down,……]
intRes (JSONArray) constant integer like :
[R.layout.simple_list_item_2,R.id.text1,R.id.text2]
[R.layout.simple_list_item_1,R.id.text1]
[R.layout.simple_spinner_item,R.id.text1,R.layout.simple_spinner_dropdown_item]
R is (
from androidhelper.R import R
R=R()
)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/fullSetListHtml.html b/source/qsl4a/fullSetListHtml.html
new file mode 100644
index 0000000..7648425
--- /dev/null
+++ b/source/qsl4a/fullSetListHtml.html
@@ -0,0 +1 @@
+fullSetListHtmlfullSetListHtml(id,list)
Attach a html list to a fullscreen widget
id (String) id of layout widget
list (JSONArray) Html List to set
<back>
\ No newline at end of file
diff --git a/source/qsl4a/fullSetProperties.html b/source/qsl4a/fullSetProperties.html
new file mode 100644
index 0000000..88076e7
--- /dev/null
+++ b/source/qsl4a/fullSetProperties.html
@@ -0,0 +1 @@
+fullSetPropertiesfullSetProperties(ids,property,value)
Set many fullscreen widgets' a property
ids (String List) ids of layout widgets
property (String) name of property to set
value (String) value to set property to
<back>
\ No newline at end of file
diff --git a/source/qsl4a/fullSetProperty.html b/source/qsl4a/fullSetProperty.html
new file mode 100644
index 0000000..383dde8
--- /dev/null
+++ b/source/qsl4a/fullSetProperty.html
@@ -0,0 +1 @@
+fullSetPropertyfullSetProperty(id,property,value)
Set a fullscreen widget's a property
id (String) id of layout widget
property (String) name of property to set
value (String) value to set property to
<back>
\ No newline at end of file
diff --git a/source/qsl4a/fullShow.html b/source/qsl4a/fullShow.html
new file mode 100644
index 0000000..78af5c3
--- /dev/null
+++ b/source/qsl4a/fullShow.html
@@ -0,0 +1 @@
+fullShowfullShow(layout,title=None,theme=None)
Show Full Screen.
layout (String) String containing View layout
title (String Optional)
theme (Integer Optional) See https://developer.android.google.cn/reference/android/R.style for Integer constant .
Commonly used theme please use :
from androidhelper.R import R
R=R()
R.style
<back>
\ No newline at end of file
diff --git a/source/qsl4a/generateDtmfTones.html b/source/qsl4a/generateDtmfTones.html
new file mode 100644
index 0000000..260ab65
--- /dev/null
+++ b/source/qsl4a/generateDtmfTones.html
@@ -0,0 +1 @@
+generateDtmfTonesgenerateDtmfTones(phoneNumber,toneDuration=100)
Generate DTMF tones for the given phone number.
phoneNumber (String)
toneDuration (Integer) duration of each tone in milliseconds (default=100)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/geocode.html b/source/qsl4a/geocode.html
new file mode 100644
index 0000000..0fd5fc6
--- /dev/null
+++ b/source/qsl4a/geocode.html
@@ -0,0 +1 @@
+geocodegeocode(latitude,longitude,maxResults=1)
Returns a list of addresses for the given latitude and longitude.
latitude (Double)
longitude (Double)
maxResults (Integer) maximum number of results (default=1)
returns: (List) A list of addresses.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/getAllCellInfo.html b/source/qsl4a/getAllCellInfo.html
new file mode 100644
index 0000000..345bff8
--- /dev/null
+++ b/source/qsl4a/getAllCellInfo.html
@@ -0,0 +1 @@
+getAllCellInfogetAllCellInfo()
Returns all the neighboring cell information of the device.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/getAllCellsLocation.html b/source/qsl4a/getAllCellsLocation.html
new file mode 100644
index 0000000..724f074
--- /dev/null
+++ b/source/qsl4a/getAllCellsLocation.html
@@ -0,0 +1 @@
+getAllCellsLocationgetAllCellsLocation()
Returns all the cells location : LAC/CID/SID/NID/BID/MccMnc/Arcfn and signal dbm of NR/LTE/WCDMA/CDMA/GSM .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/getAndroidID.html b/source/qsl4a/getAndroidID.html
new file mode 100644
index 0000000..df93318
--- /dev/null
+++ b/source/qsl4a/getAndroidID.html
@@ -0,0 +1 @@
+getAndroidIDgetAndroidID()
Returns Android ID .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/getApplicationInfo.html b/source/qsl4a/getApplicationInfo.html
new file mode 100644
index 0000000..4921091
--- /dev/null
+++ b/source/qsl4a/getApplicationInfo.html
@@ -0,0 +1 @@
+getApplicationInfogetApplicationInfo(packageName = None)
Get Application Information with Package Name .
packageName (String Optional)
If omitted, use QPython Package Name .
If Package Name not exists , android.content.pm.PackageManager$NameNotFoundException will be ocured .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/getCellLocation.html b/source/qsl4a/getCellLocation.html
new file mode 100644
index 0000000..e48e83b
--- /dev/null
+++ b/source/qsl4a/getCellLocation.html
@@ -0,0 +1 @@
+getCellLocationgetCellLocation()
Returns the current cell location : LAC/CID/SID/NID/BID and signal dbm of NR/LTE/WCDMA/CDMA/GSM ,
and cells count around .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/getClipboard.html b/source/qsl4a/getClipboard.html
new file mode 100644
index 0000000..e615e44
--- /dev/null
+++ b/source/qsl4a/getClipboard.html
@@ -0,0 +1 @@
+getClipboardgetClipboard()
Read text from the clipboard.
returns: (String) The text in the clipboard.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/getConnectedInfo.html b/source/qsl4a/getConnectedInfo.html
new file mode 100644
index 0000000..113f9ec
--- /dev/null
+++ b/source/qsl4a/getConnectedInfo.html
@@ -0,0 +1 @@
+getConnectedInfogetConnectedInfo()
return Dict in List of IpAddress,MacAddress,Device .
Only support Android <= 9 .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/getConstants.html b/source/qsl4a/getConstants.html
new file mode 100644
index 0000000..c1cf20a
--- /dev/null
+++ b/source/qsl4a/getConstants.html
@@ -0,0 +1 @@
+getConstantsgetConstants(classname)
Get list of constants (static final fields) for a class
classname (String) Class to get constants from
<back>
\ No newline at end of file
diff --git a/source/qsl4a/getDeviceSoftwareVersion.html b/source/qsl4a/getDeviceSoftwareVersion.html
new file mode 100644
index 0000000..3ba3265
--- /dev/null
+++ b/source/qsl4a/getDeviceSoftwareVersion.html
@@ -0,0 +1 @@
+getDeviceSoftwareVersiongetDeviceSoftwareVersion()
Returns the software version number for the device, for example, the IMEI/SV for GSM phones. Return null if the software version is not available.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/getDhcpInfo.html b/source/qsl4a/getDhcpInfo.html
new file mode 100644
index 0000000..02ca582
--- /dev/null
+++ b/source/qsl4a/getDhcpInfo.html
@@ -0,0 +1 @@
+getDhcpInfogetDhcpInfo(ipConvertToString=True)
return DHCP Infomation Dict .
If ipConvertToString is True, IP address is like "10.0.3.193",
If ipConvertToString is False, IP address is like 167773121.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/getFileStat.html b/source/qsl4a/getFileStat.html
new file mode 100644
index 0000000..e8d43bc
--- /dev/null
+++ b/source/qsl4a/getFileStat.html
@@ -0,0 +1 @@
+getFileStatgetFileStat(path)
Return a dict of file length , last modified , file can read/write and disk space .
path (String)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/getHarmonyOsInformation.html b/source/qsl4a/getHarmonyOsInformation.html
new file mode 100644
index 0000000..193107d
--- /dev/null
+++ b/source/qsl4a/getHarmonyOsInformation.html
@@ -0,0 +1 @@
+getHarmonyOsInformationgetHarmonyOsInformation()
Returns a dict of isHarmonyOs and HarmonyVersion(if isHarmonyOs is true) .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/getImei.html b/source/qsl4a/getImei.html
new file mode 100644
index 0000000..0941d5c
--- /dev/null
+++ b/source/qsl4a/getImei.html
@@ -0,0 +1 @@
+getImeigetImei( slotIndex = None )
Returns IMEI for GSM phones .
Return null if IMEI is not available.
slotIndex (Integer Optional)
If Android <= 7.1, return legacy deviceId .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/getInstalledPackages.html b/source/qsl4a/getInstalledPackages.html
new file mode 100644
index 0000000..ab62a95
--- /dev/null
+++ b/source/qsl4a/getInstalledPackages.html
@@ -0,0 +1 @@
+getInstalledPackagesgetInstalledPackages(flag = 4)
Returns a list of installed packages with application name .
flag (Integer Optional) :
5 - All apps
4 - User apps (default)
3 - System apps
2 - Updated System apps
1 - Not Updated System apps
getInstalledPackages.APPS_ALL = 5
getInstalledPackages.APPS_USER = 4
getInstalledPackages.APPS_SYSTEM = 3
getInstalledPackages.APPS_SYSTEM_UPDATED = 2
getInstalledPackages.APPS_SYSTEM_NOT_UPDATED = 1
<back>
\ No newline at end of file
diff --git a/source/qsl4a/getIntent.html b/source/qsl4a/getIntent.html
new file mode 100644
index 0000000..807ba5d
--- /dev/null
+++ b/source/qsl4a/getIntent.html
@@ -0,0 +1 @@
+getIntentgetIntent()
Returns the intent that launched the script.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/getInternetInterfaceAddress.html b/source/qsl4a/getInternetInterfaceAddress.html
new file mode 100644
index 0000000..43da95f
--- /dev/null
+++ b/source/qsl4a/getInternetInterfaceAddress.html
@@ -0,0 +1 @@
+getInternetInterfaceAddressgetInternetInterfaceAddress()
Returns a dict of InterfaceName and InetAddressList .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/getLastKnownLocation.html b/source/qsl4a/getLastKnownLocation.html
new file mode 100644
index 0000000..d5fd240
--- /dev/null
+++ b/source/qsl4a/getLastKnownLocation.html
@@ -0,0 +1 @@
+getLastKnownLocationgetLastKnownLocation()
Returns the last known location of the device.
returns: (Map) A map of location information by provider.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/getLastLog.html b/source/qsl4a/getLastLog.html
new file mode 100644
index 0000000..3c48cfc
--- /dev/null
+++ b/source/qsl4a/getLastLog.html
@@ -0,0 +1 @@
+getLastLoggetLastLog(logFileName='last.log')
Return Log with Log File Name
<back>
\ No newline at end of file
diff --git a/source/qsl4a/getLaunchablePackages.html b/source/qsl4a/getLaunchablePackages.html
new file mode 100644
index 0000000..c17f803
--- /dev/null
+++ b/source/qsl4a/getLaunchablePackages.html
@@ -0,0 +1 @@
+getLaunchablePackagesgetLaunchablePackages(needClassName=False)
If needClassName is True , returns a list of all launchable packages with class name and application name .
If needClassName is False default , returns a list of all launchable packages with application name .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/getLine1Number.html b/source/qsl4a/getLine1Number.html
new file mode 100644
index 0000000..bc07289
--- /dev/null
+++ b/source/qsl4a/getLine1Number.html
@@ -0,0 +1 @@
+getLine1NumbergetLine1Number()
Returns the phone number string for line 1, for example, the MSISDN for a GSM phone. Return null if it is unavailable.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/getLocale.html b/source/qsl4a/getLocale.html
new file mode 100644
index 0000000..30dc61c
--- /dev/null
+++ b/source/qsl4a/getLocale.html
@@ -0,0 +1 @@
+getLocalegetLocale()
Get system language and country .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/getMaxMediaVolume.html b/source/qsl4a/getMaxMediaVolume.html
new file mode 100644
index 0000000..de7849a
--- /dev/null
+++ b/source/qsl4a/getMaxMediaVolume.html
@@ -0,0 +1 @@
+getMaxMediaVolumegetMaxMediaVolume()
Returns the maximum media volume.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/getMaxRingerVolume.html b/source/qsl4a/getMaxRingerVolume.html
new file mode 100644
index 0000000..4b20154
--- /dev/null
+++ b/source/qsl4a/getMaxRingerVolume.html
@@ -0,0 +1 @@
+getMaxRingerVolumegetMaxRingerVolume()
Returns the maximum ringer volume.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/getMediaVolume.html b/source/qsl4a/getMediaVolume.html
new file mode 100644
index 0000000..e1b1059
--- /dev/null
+++ b/source/qsl4a/getMediaVolume.html
@@ -0,0 +1 @@
+getMediaVolumegetMediaVolume()
Returns the current media volume.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/getMeid.html b/source/qsl4a/getMeid.html
new file mode 100644
index 0000000..dda946f
--- /dev/null
+++ b/source/qsl4a/getMeid.html
@@ -0,0 +1 @@
+getMeidgetMeid( slotIndex = None )
Returns MEID for CDMA phones .
Return null if MEID is not available.
slotIndex (Integer Optional)
If Android <= 7.1, return legacy deviceId .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/getMemoryInfo.html b/source/qsl4a/getMemoryInfo.html
new file mode 100644
index 0000000..ec3aa77
--- /dev/null
+++ b/source/qsl4a/getMemoryInfo.html
@@ -0,0 +1 @@
+getMemoryInfogetMemoryInfo()
get Memory Information
<back>
\ No newline at end of file
diff --git a/source/qsl4a/getNetworkOperator.html b/source/qsl4a/getNetworkOperator.html
new file mode 100644
index 0000000..51a5684
--- /dev/null
+++ b/source/qsl4a/getNetworkOperator.html
@@ -0,0 +1 @@
+getNetworkOperatorgetNetworkOperator()
Returns the numeric name (MCC+MNC) of current registered operator.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/getNetworkOperatorName.html b/source/qsl4a/getNetworkOperatorName.html
new file mode 100644
index 0000000..53fb1e5
--- /dev/null
+++ b/source/qsl4a/getNetworkOperatorName.html
@@ -0,0 +1 @@
+getNetworkOperatorNamegetNetworkOperatorName()
Returns the alphabetic name of current registered operator.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/getNetworkType.html b/source/qsl4a/getNetworkType.html
new file mode 100644
index 0000000..72cee06
--- /dev/null
+++ b/source/qsl4a/getNetworkType.html
@@ -0,0 +1 @@
+getNetworkTypegetNetworkType()
Returns a the radio technology (network type) currently in use on the device.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/getPackageVersion.html b/source/qsl4a/getPackageVersion.html
new file mode 100644
index 0000000..3d8f9db
--- /dev/null
+++ b/source/qsl4a/getPackageVersion.html
@@ -0,0 +1 @@
+getPackageVersiongetPackageVersion(packageName)
Returns package version name.
packageName (String)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/getPackageVersionCode.html b/source/qsl4a/getPackageVersionCode.html
new file mode 100644
index 0000000..b9ae720
--- /dev/null
+++ b/source/qsl4a/getPackageVersionCode.html
@@ -0,0 +1 @@
+getPackageVersionCodegetPackageVersionCode(packageName)
Returns package version code.
packageName (String)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/getPhoneType.html b/source/qsl4a/getPhoneType.html
new file mode 100644
index 0000000..8941937
--- /dev/null
+++ b/source/qsl4a/getPhoneType.html
@@ -0,0 +1 @@
+getPhoneTypegetPhoneType()
Returns the device phone type.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/getRingerVolume.html b/source/qsl4a/getRingerVolume.html
new file mode 100644
index 0000000..57a879f
--- /dev/null
+++ b/source/qsl4a/getRingerVolume.html
@@ -0,0 +1 @@
+getRingerVolumegetRingerVolume()
Returns the current ringer volume.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/getRunningPackages.html b/source/qsl4a/getRunningPackages.html
new file mode 100644
index 0000000..e17d954
--- /dev/null
+++ b/source/qsl4a/getRunningPackages.html
@@ -0,0 +1 @@
+getRunningPackagesgetRunningPackages()
Returns a list of packages running activities or services.
returns: (List) List of packages running activities.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/getScreenBrightness.html b/source/qsl4a/getScreenBrightness.html
new file mode 100644
index 0000000..44ed73c
--- /dev/null
+++ b/source/qsl4a/getScreenBrightness.html
@@ -0,0 +1 @@
+getScreenBrightnessgetScreenBrightness()
Returns the screen backlight brightness.
returns: (Integer) the current screen brightness between 0 and 255
<back>
\ No newline at end of file
diff --git a/source/qsl4a/getScreenInfo.html b/source/qsl4a/getScreenInfo.html
new file mode 100644
index 0000000..9e1c776
--- /dev/null
+++ b/source/qsl4a/getScreenInfo.html
@@ -0,0 +1 @@
+getScreenInfogetScreenInfo()
get screen information
<back>
\ No newline at end of file
diff --git a/source/qsl4a/getScreenTimeout.html b/source/qsl4a/getScreenTimeout.html
new file mode 100644
index 0000000..0a9fb9b
--- /dev/null
+++ b/source/qsl4a/getScreenTimeout.html
@@ -0,0 +1 @@
+getScreenTimeoutgetScreenTimeout()
Returns the current screen timeout in seconds.
returns: (Integer) the current screen timeout in seconds.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/getSdCardPaths.html b/source/qsl4a/getSdCardPaths.html
new file mode 100644
index 0000000..183a3e8
--- /dev/null
+++ b/source/qsl4a/getSdCardPaths.html
@@ -0,0 +1 @@
+getSdCardPathsgetSdCardPaths()
Return Paths of Emulated, SD Card and USB Disk .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/getSimCountryIso.html b/source/qsl4a/getSimCountryIso.html
new file mode 100644
index 0000000..da9a828
--- /dev/null
+++ b/source/qsl4a/getSimCountryIso.html
@@ -0,0 +1 @@
+getSimCountryIsogetSimCountryIso()
Returns the ISO country code equivalent for the SIM provider\'s country code.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/getSimOperator.html b/source/qsl4a/getSimOperator.html
new file mode 100644
index 0000000..69d1fa3
--- /dev/null
+++ b/source/qsl4a/getSimOperator.html
@@ -0,0 +1 @@
+getSimOperatorgetSimOperator()
Returns the MCC+MNC (mobile country code + mobile network code) of the provider of the SIM. 5 or 6 decimal digits.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/getSimOperatorName.html b/source/qsl4a/getSimOperatorName.html
new file mode 100644
index 0000000..7118cc2
--- /dev/null
+++ b/source/qsl4a/getSimOperatorName.html
@@ -0,0 +1 @@
+getSimOperatorNamegetSimOperatorName()
Returns the Service Provider Name (SPN).
<back>
\ No newline at end of file
diff --git a/source/qsl4a/getSimSerialNumber.html b/source/qsl4a/getSimSerialNumber.html
new file mode 100644
index 0000000..c3418dd
--- /dev/null
+++ b/source/qsl4a/getSimSerialNumber.html
@@ -0,0 +1 @@
+getSimSerialNumbergetSimSerialNumber()
Returns the serial number of the SIM, if applicable. Return null if it is unavailable.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/getSimState.html b/source/qsl4a/getSimState.html
new file mode 100644
index 0000000..21174b1
--- /dev/null
+++ b/source/qsl4a/getSimState.html
@@ -0,0 +1 @@
+getSimStategetSimState()
Returns the state of the device SIM card.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/getSubscriberId.html b/source/qsl4a/getSubscriberId.html
new file mode 100644
index 0000000..1aa303e
--- /dev/null
+++ b/source/qsl4a/getSubscriberId.html
@@ -0,0 +1 @@
+getSubscriberIdgetSubscriberId()
Returns the unique subscriber ID, for example, the IMSI for a GSM phone. Return null if it is unavailable.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/getSysInfo.html b/source/qsl4a/getSysInfo.html
new file mode 100644
index 0000000..01ca227
--- /dev/null
+++ b/source/qsl4a/getSysInfo.html
@@ -0,0 +1 @@
+getSysInfogetSysInfo()
get system information
<back>
\ No newline at end of file
diff --git a/source/qsl4a/getTelephoneSignalStrengthDetail.html b/source/qsl4a/getTelephoneSignalStrengthDetail.html
new file mode 100644
index 0000000..e75ff07
--- /dev/null
+++ b/source/qsl4a/getTelephoneSignalStrengthDetail.html
@@ -0,0 +1 @@
+getTelephoneSignalStrengthDetailgetTelephoneSignalStrengthDetail()
Return Signal Strength Detail Information,
like RSRP, RSRQ, SNR .
need Android >= 9.0 .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/getTelephoneSignalStrengthLevel.html b/source/qsl4a/getTelephoneSignalStrengthLevel.html
new file mode 100644
index 0000000..6d971cb
--- /dev/null
+++ b/source/qsl4a/getTelephoneSignalStrengthLevel.html
@@ -0,0 +1 @@
+getTelephoneSignalStrengthLevelgetTelephoneSignalStrengthLevel()
Return Signal Strength Level,
for different models have (0 to 5) or (0 to 4) ,
need Android >= 9.0 .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/getTrafficStats.html b/source/qsl4a/getTrafficStats.html
new file mode 100644
index 0000000..d6b83bb
--- /dev/null
+++ b/source/qsl4a/getTrafficStats.html
@@ -0,0 +1 @@
+getTrafficStatsgetTrafficStats(flags=7)
flags (Integer Optional) ALL(7,Default) = TOTAL(1) + MOBILE(2) + QPYTHON(4)
Return a map of Rx/Tx Bytes since startup and Startup Time millis .
getTrafficStats.TOTAL = 1
getTrafficStats.MOBILE = 2
getTrafficStats.QPYTHON = 4
<back>
\ No newline at end of file
diff --git a/source/qsl4a/getVibrateMode.html b/source/qsl4a/getVibrateMode.html
new file mode 100644
index 0000000..28a979a
--- /dev/null
+++ b/source/qsl4a/getVibrateMode.html
@@ -0,0 +1 @@
+getVibrateModegetVibrateMode(ringer=None)
Checks Vibration setting. If ringer=true then query Ringer setting, else query Notification setting
ringer (Boolean) (optional)
returns: (Boolean) True if vibrate mode is enabled.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/getVoiceMailAlphaTag.html b/source/qsl4a/getVoiceMailAlphaTag.html
new file mode 100644
index 0000000..4a48987
--- /dev/null
+++ b/source/qsl4a/getVoiceMailAlphaTag.html
@@ -0,0 +1 @@
+getVoiceMailAlphaTaggetVoiceMailAlphaTag()
Retrieves the alphabetic identifier associated with the voice mail number.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/getVoiceMailNumber.html b/source/qsl4a/getVoiceMailNumber.html
new file mode 100644
index 0000000..9700294
--- /dev/null
+++ b/source/qsl4a/getVoiceMailNumber.html
@@ -0,0 +1 @@
+getVoiceMailNumbergetVoiceMailNumber()
Returns the voice mail number. Return null if it is unavailable.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/htmlPictureGetSize.html b/source/qsl4a/htmlPictureGetSize.html
new file mode 100644
index 0000000..f498a50
--- /dev/null
+++ b/source/qsl4a/htmlPictureGetSize.html
@@ -0,0 +1 @@
+htmlPictureGetSizehtmlPictureGetSize()
Return a dict of widthFixed , heightFixed , widthRatio , heightRatio .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/htmlPictureSetSize.html b/source/qsl4a/htmlPictureSetSize.html
new file mode 100644
index 0000000..329c138
--- /dev/null
+++ b/source/qsl4a/htmlPictureSetSize.html
@@ -0,0 +1 @@
+htmlPictureSetSizehtmlPictureSetSize(widthFixed = None, heightFixed = None, widthRatio = None, heightRatio = None)
widthFixed , heightFixed (Integer Optional) :
set the picture fixed size,
if ommitted to None, use intrinsic width and height .
widthRatio , heightRatio (Float Optional) :
set the picture size ratio,
if >1.0 , pictures will zoom in ,
if <1.0 , pictures will zoom out,
if ommitted to None or is 1.0 , the picture width and height will not zoom .
Return None .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/imageCompress.html b/source/qsl4a/imageCompress.html
new file mode 100644
index 0000000..b1eac03
--- /dev/null
+++ b/source/qsl4a/imageCompress.html
@@ -0,0 +1 @@
+imageCompressimageCompress(srcPath,destPath,targetByteSize=0,targetWidth=0,targetHeight=0)
Compress images based on given parameters .
srcPath (String) source image path
destPath (String) destination image path
targetByteSize (Integer Optional) size of bytes of target image , if omitted to 0 , do not limit size of target image
targetWidth (Integer Optional) width of target image , if omitted to 0 , do not limit width of target image
targetHeight (Integer Optional) height of target image , if omitted to 0 , do not limit height of target image
<back>
\ No newline at end of file
diff --git a/source/qsl4a/imageReaderGetScreenShot.html b/source/qsl4a/imageReaderGetScreenShot.html
new file mode 100644
index 0000000..0014d57
--- /dev/null
+++ b/source/qsl4a/imageReaderGetScreenShot.html
@@ -0,0 +1 @@
+imageReaderGetScreenShotimageReaderGetScreenShot(path = None, delayMilliSec = 1000)
Get Screen Shot to path .
path (String Optional) jpeg file path, if omitted, use default path
delayMilliSec (Integer Optional) wait delayMilliSec to get Screen Shot
return path
<back>
\ No newline at end of file
diff --git a/source/qsl4a/isExternalStorageManager.html b/source/qsl4a/isExternalStorageManager.html
new file mode 100644
index 0000000..0520540
--- /dev/null
+++ b/source/qsl4a/isExternalStorageManager.html
@@ -0,0 +1 @@
+isExternalStorageManagerisExternalStorageManager()
return None if Android <= 10 .
return QPython is External Storage Manager (True or False) if Android >= 11 .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/launch.html b/source/qsl4a/launch.html
new file mode 100644
index 0000000..ba297ae
--- /dev/null
+++ b/source/qsl4a/launch.html
@@ -0,0 +1 @@
+launchlaunch(classname=None,packagename=None,wait=True)
Start activity with the given classname and/or packagename .
If classname is packagename.sub0, packagename can be omitted,
if classname is packagename.sub1.sub2.…, packagename must be specified,
if classname is omitted, packagename must be specified .
classname (String Optional)
packagename (String Optional)
wait (Boolean Optional) wait for the launched application operation end
<back>
\ No newline at end of file
diff --git a/source/qsl4a/log.html b/source/qsl4a/log.html
new file mode 100644
index 0000000..53f8fa8
--- /dev/null
+++ b/source/qsl4a/log.html
@@ -0,0 +1 @@
+loglog(message)
Writes message to logcat.
message (String)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/makeIntent.html b/source/qsl4a/makeIntent.html
new file mode 100644
index 0000000..45159a6
--- /dev/null
+++ b/source/qsl4a/makeIntent.html
@@ -0,0 +1 @@
+makeIntentmakeIntent(action,uri=None,type=None,extras=None,categories=None,packagename=None,classname=None,flags=None)
Create an Intent.
action (String)
uri (String) (optional)
type (String) MIME type/subtype of the URI (optional)
extras (JSONObject) a Map of extras to add to the Intent (optional) :
elements of extras support Integer, Float, String, List, Dict, single Bytes, Uri(String) .
categories (JSONArray) a List of categories to add to the Intent (optional)
packagename (String) name of package. If used, requires classname to be useful (optional)
classname (String) name of class. If used, requires packagename to be useful (optional)
flags (Integer) Intent flags (optional)
returns: (Intent) An object representing an Intent
<back>
\ No newline at end of file
diff --git a/source/qsl4a/makeToast.html b/source/qsl4a/makeToast.html
new file mode 100644
index 0000000..30c413b
--- /dev/null
+++ b/source/qsl4a/makeToast.html
@@ -0,0 +1 @@
+makeToastmakeToast(message,length=0,isHtml=False,backColor=None,textColor=None,textSize=0,textAlign=0)
Displays a Toast notification.
message (String)
length (Integer Optional) 0 is 2 second , 1 is 3.5 second
isHtml (Boolean Optional) Indicates that the message is html, the values are True (HTML, HyperText Markup Language) / False (Default, Plain Text with new Toast) / None (Plain Text with original Toast, Background support)
If isHtml is not None, you can also use these parameters, but not support Background:
backColor (String Optional) default is 'efefefef'
textColor (String Optional) default is 'ff000000'
textSize (Interger Optional) default determined by the system
textAlign (Interger Optional) default determined by the system
makeToast.SHORT = 0 # 2.0 seconds
makeToast.LONG = 1 # 3.5 seconds
makeToast.TEXT_ALIGNMENT_INHERIT = 0
makeToast.TEXT_ALIGNMENT_GRAVITY = 1
makeToast.TEXT_ALIGNMENT_TEXT_START = 2
makeToast.TEXT_ALIGNMENT_TEXT_END = 3
makeToast.TEXT_ALIGNMENT_CENTER = 4
makeToast.TEXT_ALIGNMENT_VIEW_START = 5
makeToast.TEXT_ALIGNMENT_VIEW_END = 6
<back>
\ No newline at end of file
diff --git a/source/qsl4a/mediaIsPlaying.html b/source/qsl4a/mediaIsPlaying.html
new file mode 100644
index 0000000..0111cce
--- /dev/null
+++ b/source/qsl4a/mediaIsPlaying.html
@@ -0,0 +1 @@
+mediaIsPlayingmediaIsPlaying(tag="default")
Checks if media file is playing.
tag (String) string identifying resource (default=default)
returns: (boolean) true if playing
<back>
\ No newline at end of file
diff --git a/source/qsl4a/mediaPlay.html b/source/qsl4a/mediaPlay.html
new file mode 100644
index 0000000..b93dc70
--- /dev/null
+++ b/source/qsl4a/mediaPlay.html
@@ -0,0 +1 @@
+mediaPlaymediaPlay(url,tag="default",play=True)
Open a media file
url (String) url of media resource
tag (String) string identifying resource (default=default)
play (Boolean) start playing immediately (default=true)
returns: (boolean) true if play successful
<back>
\ No newline at end of file
diff --git a/source/qsl4a/mediaPlayClose.html b/source/qsl4a/mediaPlayClose.html
new file mode 100644
index 0000000..03fc01f
--- /dev/null
+++ b/source/qsl4a/mediaPlayClose.html
@@ -0,0 +1 @@
+mediaPlayClosemediaPlayClose(tag="default")
Close media file
tag (String) string identifying resource (default=default)
returns: (boolean) true if successful
<back>
\ No newline at end of file
diff --git a/source/qsl4a/mediaPlayInfo.html b/source/qsl4a/mediaPlayInfo.html
new file mode 100644
index 0000000..f9ac1b4
--- /dev/null
+++ b/source/qsl4a/mediaPlayInfo.html
@@ -0,0 +1 @@
+mediaPlayInfomediaPlayInfo(tag="default")
Information on current media
tag (String) string identifying resource (default=default)
returns: (Map) Media Information
<back>
\ No newline at end of file
diff --git a/source/qsl4a/mediaPlayList.html b/source/qsl4a/mediaPlayList.html
new file mode 100644
index 0000000..0c2138b
--- /dev/null
+++ b/source/qsl4a/mediaPlayList.html
@@ -0,0 +1 @@
+mediaPlayListmediaPlayList()
Lists currently loaded media
returns: (Set) List of Media Tags
<back>
\ No newline at end of file
diff --git a/source/qsl4a/mediaPlayPause.html b/source/qsl4a/mediaPlayPause.html
new file mode 100644
index 0000000..2b3145b
--- /dev/null
+++ b/source/qsl4a/mediaPlayPause.html
@@ -0,0 +1 @@
+mediaPlayPausemediaPlayPause(tag="default")
pause playing media file
tag (String) string identifying resource (default=default)
returns: (boolean) true if successful
<back>
\ No newline at end of file
diff --git a/source/qsl4a/mediaPlaySeek.html b/source/qsl4a/mediaPlaySeek.html
new file mode 100644
index 0000000..52f8753
--- /dev/null
+++ b/source/qsl4a/mediaPlaySeek.html
@@ -0,0 +1 @@
+mediaPlaySeekmediaPlaySeek(msec,tag="default")
Seek To Position
msec (Integer) Position in millseconds
tag (String) string identifying resource (default=default)
returns: (int) New Position (in ms)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/mediaPlaySetLooping.html b/source/qsl4a/mediaPlaySetLooping.html
new file mode 100644
index 0000000..efd7b26
--- /dev/null
+++ b/source/qsl4a/mediaPlaySetLooping.html
@@ -0,0 +1 @@
+mediaPlaySetLoopingmediaPlaySetLooping(enabled=True,tag="default")
Set Looping
enabled (Boolean) (default=true)
tag (String) string identifying resource (default=default)
returns: (boolean) True if successful
<back>
\ No newline at end of file
diff --git a/source/qsl4a/mediaPlayStart.html b/source/qsl4a/mediaPlayStart.html
new file mode 100644
index 0000000..04f5ccc
--- /dev/null
+++ b/source/qsl4a/mediaPlayStart.html
@@ -0,0 +1 @@
+mediaPlayStartmediaPlayStart(tag="default")
start playing media file
tag (String) string identifying resource (default=default)
returns: (boolean) true if successful
<back>
\ No newline at end of file
diff --git a/source/qsl4a/notify.html b/source/qsl4a/notify.html
new file mode 100644
index 0000000..b546a3a
--- /dev/null
+++ b/source/qsl4a/notify.html
@@ -0,0 +1 @@
+notifynotify(title, message, uri=None, arg=None)
Displays a notification that will be disappeared when the user clicks on it.
title (String)
message (String)
uri (String Optional)
arg (String Optional)
If uri is not None, after the user clicks on it, these operation will be doing :
# uri is web url like http:// or https:// --> open system browser
# uri is .py script path --> run .py script with script arg
<back>
\ No newline at end of file
diff --git a/source/qsl4a/openFile.html b/source/qsl4a/openFile.html
new file mode 100644
index 0000000..db8dfc4
--- /dev/null
+++ b/source/qsl4a/openFile.html
@@ -0,0 +1 @@
+openFileopenFile(path, type=None, wait=True)
Open the file in the default open mode with content:// .
path (String) file path
type (String Optional) MIME-type self-defined
wait (Boolean Optional) wait for the end of the file open operation
<back>
\ No newline at end of file
diff --git a/source/qsl4a/pathToUri.html b/source/qsl4a/pathToUri.html
new file mode 100644
index 0000000..7b3870b
--- /dev/null
+++ b/source/qsl4a/pathToUri.html
@@ -0,0 +1 @@
+pathToUripathToUri(path, fileProvider=True, uriObject=False)
Convert normal path to content:// .
path (String) file path
fileProvider (Boolean Optional)
True is default means content://<qpython>.provider/ ,
False is default means content://media/external/ .
uriObject (Boolean Optional)
True means return uriObject ,
False means return uriString .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/phoneCall.html b/source/qsl4a/phoneCall.html
new file mode 100644
index 0000000..63bddbd
--- /dev/null
+++ b/source/qsl4a/phoneCall.html
@@ -0,0 +1 @@
+phoneCallphoneCall(uri)
Calls a contact/phone number by URI.
uri (String)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/phoneCallNumber.html b/source/qsl4a/phoneCallNumber.html
new file mode 100644
index 0000000..9c01bb5
--- /dev/null
+++ b/source/qsl4a/phoneCallNumber.html
@@ -0,0 +1 @@
+phoneCallNumberphoneCallNumber(phone_number)
Calls a phone number.
phone number (String)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/phoneDial.html b/source/qsl4a/phoneDial.html
new file mode 100644
index 0000000..05d300a
--- /dev/null
+++ b/source/qsl4a/phoneDial.html
@@ -0,0 +1 @@
+phoneDialphoneDial(uri)
Dials a contact/phone number by URI.
uri (String)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/phoneDialNumber.html b/source/qsl4a/phoneDialNumber.html
new file mode 100644
index 0000000..f4f75e1
--- /dev/null
+++ b/source/qsl4a/phoneDialNumber.html
@@ -0,0 +1 @@
+phoneDialNumberphoneDialNumber(phone_number)
Dials a phone number.
phone number (String)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/pick.html b/source/qsl4a/pick.html
new file mode 100644
index 0000000..2ca2ed3
--- /dev/null
+++ b/source/qsl4a/pick.html
@@ -0,0 +1 @@
+pickpick(uri)
Display content to be picked by URI (e.g. contacts)
uri (String)
returns: (Intent) A map of result values.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/pickContact.html b/source/qsl4a/pickContact.html
new file mode 100644
index 0000000..b7cfb83
--- /dev/null
+++ b/source/qsl4a/pickContact.html
@@ -0,0 +1 @@
+pickContactpickContact()
Displays a list of contacts to pick from.
returns: (Intent) A map of result values.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/pickPhone.html b/source/qsl4a/pickPhone.html
new file mode 100644
index 0000000..5ba91e0
--- /dev/null
+++ b/source/qsl4a/pickPhone.html
@@ -0,0 +1 @@
+pickPhonepickPhone()
Displays a list of phone numbers to pick from.
returns: (String) The selected phone number.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/prefGetAll.html b/source/qsl4a/prefGetAll.html
new file mode 100644
index 0000000..cb3e54c
--- /dev/null
+++ b/source/qsl4a/prefGetAll.html
@@ -0,0 +1 @@
+prefGetAllprefGetAll(filename=None)
Get list of Shared Preference Values
filename (String) Desired preferences file. If not defined, uses the default Shared Preferences. (optional)
returns: (Map) Map of key,value
<back>
\ No newline at end of file
diff --git a/source/qsl4a/prefGetValue.html b/source/qsl4a/prefGetValue.html
new file mode 100644
index 0000000..9871f5e
--- /dev/null
+++ b/source/qsl4a/prefGetValue.html
@@ -0,0 +1 @@
+prefGetValueprefGetValue(key,filename=None)
Read a value from shared preferences
key (String)
filename (String) Desired preferences file. If not defined, uses the default Shared Preferences. (optional)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/prefPutValue.html b/source/qsl4a/prefPutValue.html
new file mode 100644
index 0000000..d673f52
--- /dev/null
+++ b/source/qsl4a/prefPutValue.html
@@ -0,0 +1 @@
+prefPutValueprefPutValue(key,value,filename=None)
Write a value to shared preferences
key (String)
value (Object)
filename (String) Desired preferences file. If not defined, uses the default Shared Preferences. (optional)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/prefRemoveValue.html b/source/qsl4a/prefRemoveValue.html
new file mode 100644
index 0000000..bf47907
--- /dev/null
+++ b/source/qsl4a/prefRemoveValue.html
@@ -0,0 +1 @@
+prefRemoveValueprefRemoveValue(key,filename=None)
Remove a value from shared preferences
key (String)
filename (String) Desired preferences file. If not defined, uses the default Shared Preferences. (optional)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/provider.Settings.html b/source/qsl4a/provider.Settings.html
new file mode 100644
index 0000000..b904289
--- /dev/null
+++ b/source/qsl4a/provider.Settings.html
@@ -0,0 +1 @@
+provider.Settings'android.provider.Settings Constants, for more Settings Constants, please refer https://developer.android.google.cn/reference/android/provider/Settings.html .\n\nYou can use them like droid.startActivity(droid.provider.Settings.ACTION_SETTINGS) .'
ACTION_SETTINGS='android.settings.SETTINGS'
ACTION_SOUND_SETTINGS='android.settings.SOUND_SETTINGS'
ACTION_WIRELESS_SETTINGS='android.settings.WIRELESS_SETTINGS'
ACTION_APPLICATION_SETTINGS='android.settings.APPLICATION_SETTINGS'
ACTION_BLUETOOTH_SETTINGS='android.settings.BLUETOOTH_SETTINGS'
ACTION_CAPTIONING_SETTINGS='android.settings.CAPTIONING_SETTINGS'
ACTION_DATA_USAGE_SETTINGS='android.settings.DATA_USAGE_SETTINGS'
ACTION_DATE_SETTINGS='android.settings.DATE_SETTINGS'
ACTION_DEVICE_INFO_SETTINGS='android.settings.DEVICE_INFO_SETTINGS'
ACTION_DISPLAY_SETTINGS='android.settings.DISPLAY_SETTINGS'
ACTION_HARD_KEYBOARD_SETTINGS='android.settings.HARD_KEYBOARD_SETTINGS'
ACTION_INPUT_METHOD_SETTINGS='android.settings.INPUT_METHOD_SETTINGS'
ACTION_INTERNAL_STORAGE_SETTINGS='android.settings.INTERNAL_STORAGE_SETTINGS'
ACTION_LOCALE_SETTINGS='android.settings.LOCALE_SETTINGS'
ACTION_LOCATION_SOURCE_SETTINGS='android.settings.LOCATION_SOURCE_SETTINGS'
ACTION_IGNORE_BATTERY_OPTIMIZATION_SETTINGS='android.settings.IGNORE_BATTERY_OPTIMIZATION_SETTINGS'
ACTION_BATTERY_SAVER_SETTINGS="android.settings.BATTERY_SAVER_SETTINGS"
<back>
\ No newline at end of file
diff --git a/source/qsl4a/provider.html b/source/qsl4a/provider.html
new file mode 100644
index 0000000..3b2a8b5
--- /dev/null
+++ b/source/qsl4a/provider.html
@@ -0,0 +1 @@
+providerandroid.provider module, include Settings .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/queryAttributes.html b/source/qsl4a/queryAttributes.html
new file mode 100644
index 0000000..e9b7db9
--- /dev/null
+++ b/source/qsl4a/queryAttributes.html
@@ -0,0 +1 @@
+queryAttributesqueryAttributes(uri)
Content Resolver Query Attributes
uri (String) The URI, using the content:// scheme, for the content to retrieve.
returns: (JSONArray) a list of available columns for a given content uri
<back>
\ No newline at end of file
diff --git a/source/qsl4a/queryContent.html b/source/qsl4a/queryContent.html
new file mode 100644
index 0000000..5ad5332
--- /dev/null
+++ b/source/qsl4a/queryContent.html
@@ -0,0 +1 @@
+queryContentqueryContent(uri,attributes=None,selection=None,selectionArgs=None,order=None)
Content Resolver Query
uri (String) The URI, using the content:// scheme, for the content to retrieve.
attributes (JSONArray) A list of which columns to return. Passing null will return all columns (optional)
selection (String) A filter declaring which rows to return (optional)
selectionArgs (JSONArray) You may include ?s in selection, which will be replaced by the values from selectionArgs (optional)
order (String) How to order the rows (optional)
returns: (List) result of query as Maps
Exactly as per ContentResolver.query
<back>
\ No newline at end of file
diff --git a/source/qsl4a/readBatteryData.html b/source/qsl4a/readBatteryData.html
new file mode 100644
index 0000000..d6b3f5a
--- /dev/null
+++ b/source/qsl4a/readBatteryData.html
@@ -0,0 +1 @@
+readBatteryDatareadBatteryData()
Returns the most recently recorded battery data.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/readGnssStatus.html b/source/qsl4a/readGnssStatus.html
new file mode 100644
index 0000000..0e1a4a3
--- /dev/null
+++ b/source/qsl4a/readGnssStatus.html
@@ -0,0 +1 @@
+readGnssStatusreadGnssStatus()
Returns the current Global Navigation Satellite System status , data type is dict in list .
Need Android >= 8 .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/readLocation.html b/source/qsl4a/readLocation.html
new file mode 100644
index 0000000..45a8daa
--- /dev/null
+++ b/source/qsl4a/readLocation.html
@@ -0,0 +1 @@
+readLocationreadLocation()
Returns the current location as indicated by all available providers.
returns: (Map) A map of location information by provider.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/readPhoneState.html b/source/qsl4a/readPhoneState.html
new file mode 100644
index 0000000..c8ca53c
--- /dev/null
+++ b/source/qsl4a/readPhoneState.html
@@ -0,0 +1 @@
+readPhoneStatereadPhoneState()
Returns the current phone state and incoming number.
returns: (Bundle) A Map of \"state\" and \"incomingNumber\"
<back>
\ No newline at end of file
diff --git a/source/qsl4a/readSensors.html b/source/qsl4a/readSensors.html
new file mode 100644
index 0000000..3e6e641
--- /dev/null
+++ b/source/qsl4a/readSensors.html
@@ -0,0 +1 @@
+readSensorsreadSensors()
Returns the most recently recorded sensor data.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/readSignalStrengths.html b/source/qsl4a/readSignalStrengths.html
new file mode 100644
index 0000000..efab46e
--- /dev/null
+++ b/source/qsl4a/readSignalStrengths.html
@@ -0,0 +1 @@
+readSignalStrengthsreadSignalStrengths()
Returns the current signal strengths. GSM/CDMA/EVDO/LTE
returns: (Bundle) A map of "signal_strength"
<back>
\ No newline at end of file
diff --git a/source/qsl4a/receiveEvent.html b/source/qsl4a/receiveEvent.html
new file mode 100644
index 0000000..95574f5
--- /dev/null
+++ b/source/qsl4a/receiveEvent.html
@@ -0,0 +1 @@
+receiveEventreceiveEvent()
Returns and removes the oldest event (i.e. location or sensor update, etc.) from the event buffer.
returns: (Event) Map of event properties.
Deprecated in r4. Use eventPoll instead.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/recordAudio.html b/source/qsl4a/recordAudio.html
new file mode 100644
index 0000000..c94ecbb
--- /dev/null
+++ b/source/qsl4a/recordAudio.html
@@ -0,0 +1 @@
+recordAudiorecordAudio()
Record Audio with system soundrecorder .
return path if success, return None if canceled .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/recorderCaptureVideo.html b/source/qsl4a/recorderCaptureVideo.html
new file mode 100644
index 0000000..24415f1
--- /dev/null
+++ b/source/qsl4a/recorderCaptureVideo.html
@@ -0,0 +1 @@
+recorderCaptureVideorecorderCaptureVideo(targetPath = None, duration = 10, cameraId = 0, quality = 8)
Records video from the camera and saves it to the given location.
targetPath (String Optional) if omitted, use default path
duration (Integer Optional) seconds
cameraId (Integer Optional)
quality (Integer Optional)
returns: targetPath
recorderCaptureVideo.QUALITY_8KUHD = 13
recorderCaptureVideo.QUALITY_2K = 12
recorderCaptureVideo.QUALITY_4KDCI = 10
recorderCaptureVideo.QUALITY_2160P = 8
recorderCaptureVideo.QUALITY_1080P = 6
recorderCaptureVideo.QUALITY_720P = 5
recorderCaptureVideo.CAMERA_FRONT = 1
recorderCaptureVideo.CAMERA_BACK = 0
<back>
\ No newline at end of file
diff --git a/source/qsl4a/recorderPause.html b/source/qsl4a/recorderPause.html
new file mode 100644
index 0000000..3222961
--- /dev/null
+++ b/source/qsl4a/recorderPause.html
@@ -0,0 +1 @@
+recorderPauserecorderPause()
Pause a previously started recording.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/recorderResume.html b/source/qsl4a/recorderResume.html
new file mode 100644
index 0000000..259598f
--- /dev/null
+++ b/source/qsl4a/recorderResume.html
@@ -0,0 +1 @@
+recorderResumerecorderResume()
Resume a previously paused recording.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/recorderSoundVolumeDetect.html b/source/qsl4a/recorderSoundVolumeDetect.html
new file mode 100644
index 0000000..b9d2fb8
--- /dev/null
+++ b/source/qsl4a/recorderSoundVolumeDetect.html
@@ -0,0 +1 @@
+recorderSoundVolumeDetectrecorderSoundVolumeDetect(interval = 100)
Start or Stop to detect Sound Volume Decibel,
interval (Integer Optional)
interval > 0 --> start to detect sound volume decibel according to the time interval (miliseconds),
interval <= 0 --> stop to detect sound volume decibel,
Return None .
If you want to detect Sound Volume Decibel while record sound , you need run recorderStartMicrophone first , then call recorderSoundVolumeDetect .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/recorderSoundVolumeGetDb.html b/source/qsl4a/recorderSoundVolumeGetDb.html
new file mode 100644
index 0000000..b43bf64
--- /dev/null
+++ b/source/qsl4a/recorderSoundVolumeGetDb.html
@@ -0,0 +1 @@
+recorderSoundVolumeGetDbrecorderSoundVolumeGetDb()
Get current Sound Volume Decibel,
Return Sound Volume Decibel float .
Need to run droid.recorderSoundVolumeDetect(interval = 100) first .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/recorderStart.html b/source/qsl4a/recorderStart.html
new file mode 100644
index 0000000..744f6fd
--- /dev/null
+++ b/source/qsl4a/recorderStart.html
@@ -0,0 +1 @@
+recorderStartrecorderStart()
Start a prepared recording.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/recorderStartMicrophone.html b/source/qsl4a/recorderStartMicrophone.html
new file mode 100644
index 0000000..b9aa6dc
--- /dev/null
+++ b/source/qsl4a/recorderStartMicrophone.html
@@ -0,0 +1 @@
+recorderStartMicrophonerecorderStartMicrophone(targetPath=None)
Records audio from the microphone and saves it to the given location.
targetPath (String Optional) if omitted, use default path
If you want to detect Sound Volume Decibel while record sound , you need run recorderStartMicrophone first , then call recorderSoundVolumeDetect .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/recorderStartScreenRecord.html b/source/qsl4a/recorderStartScreenRecord.html
new file mode 100644
index 0000000..a33bd5e
--- /dev/null
+++ b/source/qsl4a/recorderStartScreenRecord.html
@@ -0,0 +1 @@
+recorderStartScreenRecordrecorderStartScreenRecord(path = None, audio = True, quality = 1, rotation = False, autoStart = True)
Record Screen to path .
path (String Optional) mpeg4 file path, if omitted, use default path
audio (Boolean Optional) record audio
quality (Integer Optional) 1 is high, 0 is low
rotation (Boolean Optional) width and height rotation exchange
autoStart (Boolean Optional) Auto Start Record after Prepare
{ rotation = True and autoStart = False } : {
is for some incompatible devices horizontal screen record,
which can only prepare screen record on the vertical screen,
then switch to the horizontal screen,
then start recording with recorderStart() .
}
return path
recorderStartScreenRecord.QUALITY_HIGH = 1
recorderStartScreenRecord.QUALITY_LOW = 0
<back>
\ No newline at end of file
diff --git a/source/qsl4a/recorderStop.html b/source/qsl4a/recorderStop.html
new file mode 100644
index 0000000..38f9ab9
--- /dev/null
+++ b/source/qsl4a/recorderStop.html
@@ -0,0 +1 @@
+recorderStoprecorderStop()
Stops a previously started recording.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/requestPermissions.html b/source/qsl4a/requestPermissions.html
new file mode 100644
index 0000000..2385aec
--- /dev/null
+++ b/source/qsl4a/requestPermissions.html
@@ -0,0 +1 @@
+requestPermissionsrequestPermissions(permissions = None)
Request Permissions that QPython do not have, some permission cannot be granted succesfully,
permissions (List of String, Optional) if permissions is None, use all denied permissions .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/rpcPostEvent.html b/source/qsl4a/rpcPostEvent.html
new file mode 100644
index 0000000..5c00c42
--- /dev/null
+++ b/source/qsl4a/rpcPostEvent.html
@@ -0,0 +1 @@
+rpcPostEventrpcPostEvent(name,data)
Post an event to the event queue.
name (String)
data (String)
Deprecated in r4. Use eventPost instead.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/scanBarcode.html b/source/qsl4a/scanBarcode.html
new file mode 100644
index 0000000..f7aca2e
--- /dev/null
+++ b/source/qsl4a/scanBarcode.html
@@ -0,0 +1 @@
+scanBarcodescanBarcode( title = None )
Starts the barcode scanner.
returns the result String of Barcode .
title (String Optional)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/scanBarcodeFromImage.html b/source/qsl4a/scanBarcodeFromImage.html
new file mode 100644
index 0000000..4b010b4
--- /dev/null
+++ b/source/qsl4a/scanBarcodeFromImage.html
@@ -0,0 +1 @@
+scanBarcodeFromImagescanBarcodeFromImage( path, compressRatio = 0, x = 0, y = 0, width = 0, height = 0)
Scan the QR code from the picture,
path (String):
original Picture path;
compressRatio (Integer Optional):
if a Picture is 1000x800;
if compressRatio == 0 or 1, the Picture will not compress;
if compressRatio == 2, the Picture will compress to 500x400;
if compressRatio == 4, the Picture will compress to 250x200;
and so on;
x or y (Integer Optional):
Position of the original Picture, x==y==0 is the top left corner;
width or height (Integer Optional):
Intercept Size of the original Picture, width==height==0 means original width and height;
returns the result String of Barcode .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/search.html b/source/qsl4a/search.html
new file mode 100644
index 0000000..31e0796
--- /dev/null
+++ b/source/qsl4a/search.html
@@ -0,0 +1 @@
+searchsearch(query)
Starts a search for the given query.
query (String)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/send.html b/source/qsl4a/send.html
new file mode 100644
index 0000000..31ef755
--- /dev/null
+++ b/source/qsl4a/send.html
@@ -0,0 +1 @@
+sendsend(uri,type=None,extras=None,wait=True)
Start activity with send action by URI (i.e. browser, contacts, etc.).
uri (String)
type (String) MIME type/subtype of the URI (optional)
extras (JSONObject) a Map of extras to add to the Intent (optional)
wait (Boolean Optional) wait for the send operation end
<back>
\ No newline at end of file
diff --git a/source/qsl4a/sendBroadcast.html b/source/qsl4a/sendBroadcast.html
new file mode 100644
index 0000000..650ee0c
--- /dev/null
+++ b/source/qsl4a/sendBroadcast.html
@@ -0,0 +1 @@
+sendBroadcastsendBroadcast(action,uri=None,type=None,extras=None,packagename=None,classname=None)
Send a broadcast.
action (String)
uri (String) (optional)
type (String) MIME type/subtype of the URI (optional)
extras (JSONObject) a Map of extras to add to the Intent (optional)
packagename (String) name of package. If used, requires classname to be useful (optional)
classname (String) name of class. If used, requires packagename to be useful (optional)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/sendBroadcastIntent.html b/source/qsl4a/sendBroadcastIntent.html
new file mode 100644
index 0000000..93e6f03
--- /dev/null
+++ b/source/qsl4a/sendBroadcastIntent.html
@@ -0,0 +1 @@
+sendBroadcastIntentsendBroadcastIntent(intent)
Send Broadcast Intent
intent (Intent) Intent in the format as returned from makeIntent
<back>
\ No newline at end of file
diff --git a/source/qsl4a/sendEmail.html b/source/qsl4a/sendEmail.html
new file mode 100644
index 0000000..2a4f048
--- /dev/null
+++ b/source/qsl4a/sendEmail.html
@@ -0,0 +1 @@
+sendEmailsendEmail(to,subject,body,attachmentUri=None)
Launches an activity that sends an e-mail message to a given recipient.
to (String) A comma separated list of recipients.
subject (String)
body (String)
attachmentUri (String) (optional)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/sendFile.html b/source/qsl4a/sendFile.html
new file mode 100644
index 0000000..67240bf
--- /dev/null
+++ b/source/qsl4a/sendFile.html
@@ -0,0 +1 @@
+sendFilesendFile(path, type=None, extras=None, wait=True)
Send file(s) with the type and extras with content:// .
path (single String or List of Strings) file path(s)
type (String Optional) MIME-type self-defined
extras (Dict Optional) Extras self-defined, it is not recommended to fill in droid.Intent.EXTRA_STREAM ( "android.intent.extra.STREAM" )
wait (Boolean Optional) wait for the end of the file send operation
<back>
\ No newline at end of file
diff --git a/source/qsl4a/sendText.html b/source/qsl4a/sendText.html
new file mode 100644
index 0000000..1b979fe
--- /dev/null
+++ b/source/qsl4a/sendText.html
@@ -0,0 +1 @@
+sendTextsendText(text,extras=None,wait=True)
Start activity with send action by text .
text (String)
extras (Dict Optional) Extras self-defined, it is not recommended to fill in droid.Intent.EXTRA_TEXT ( "android.intent.extra.TEXT" )
wait (Boolean Optional) wait for the send operation end
<back>
\ No newline at end of file
diff --git a/source/qsl4a/sensorsGetAccuracy.html b/source/qsl4a/sensorsGetAccuracy.html
new file mode 100644
index 0000000..4b93b45
--- /dev/null
+++ b/source/qsl4a/sensorsGetAccuracy.html
@@ -0,0 +1 @@
+sensorsGetAccuracysensorsGetAccuracy()
Returns the most recently received accuracy value.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/sensorsGetLight.html b/source/qsl4a/sensorsGetLight.html
new file mode 100644
index 0000000..32e61eb
--- /dev/null
+++ b/source/qsl4a/sensorsGetLight.html
@@ -0,0 +1 @@
+sensorsGetLightsensorsGetLight()
Returns the most recently received light value.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/sensorsGetStepCounter.html b/source/qsl4a/sensorsGetStepCounter.html
new file mode 100644
index 0000000..e152c57
--- /dev/null
+++ b/source/qsl4a/sensorsGetStepCounter.html
@@ -0,0 +1 @@
+sensorsGetStepCountersensorsGetStepCounter()
Returns the most recently Step Counter.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/sensorsReadAccelerometer.html b/source/qsl4a/sensorsReadAccelerometer.html
new file mode 100644
index 0000000..008e032
--- /dev/null
+++ b/source/qsl4a/sensorsReadAccelerometer.html
@@ -0,0 +1 @@
+sensorsReadAccelerometersensorsReadAccelerometer()
Returns the most recently received accelerometer values.
returns: (List) a List of Floats [(acceleration on the) X axis, Y axis, Z axis].
<back>
\ No newline at end of file
diff --git a/source/qsl4a/sensorsReadGyroscope.html b/source/qsl4a/sensorsReadGyroscope.html
new file mode 100644
index 0000000..74741ae
--- /dev/null
+++ b/source/qsl4a/sensorsReadGyroscope.html
@@ -0,0 +1 @@
+sensorsReadGyroscopesensorsReadGyroscope()
Returns the most recently received gyroscope value.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/sensorsReadMagnetometer.html b/source/qsl4a/sensorsReadMagnetometer.html
new file mode 100644
index 0000000..8b59a13
--- /dev/null
+++ b/source/qsl4a/sensorsReadMagnetometer.html
@@ -0,0 +1 @@
+sensorsReadMagnetometersensorsReadMagnetometer()
Returns the most recently received magnetic field values.
returns: (List) a List of Floats [(magnetic field value for) X axis, Y axis, Z axis].
<back>
\ No newline at end of file
diff --git a/source/qsl4a/sensorsReadOrientation.html b/source/qsl4a/sensorsReadOrientation.html
new file mode 100644
index 0000000..0808396
--- /dev/null
+++ b/source/qsl4a/sensorsReadOrientation.html
@@ -0,0 +1 @@
+sensorsReadOrientationsensorsReadOrientation()
Returns the most recently received orientation values.
returns: (List) a List of Doubles [azimuth, pitch, roll].
<back>
\ No newline at end of file
diff --git a/source/qsl4a/setClipboard.html b/source/qsl4a/setClipboard.html
new file mode 100644
index 0000000..d5f7556
--- /dev/null
+++ b/source/qsl4a/setClipboard.html
@@ -0,0 +1 @@
+setClipboardsetClipboard(text)
Put text in the clipboard.
text (String)
Creates a new AndroidFacade that simplifies the interface to various Android APIs.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/setMediaVolume.html b/source/qsl4a/setMediaVolume.html
new file mode 100644
index 0000000..781992d
--- /dev/null
+++ b/source/qsl4a/setMediaVolume.html
@@ -0,0 +1 @@
+setMediaVolumesetMediaVolume(volume)
Sets the media volume.
volume (Integer)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/setRingerVolume.html b/source/qsl4a/setRingerVolume.html
new file mode 100644
index 0000000..fda08d8
--- /dev/null
+++ b/source/qsl4a/setRingerVolume.html
@@ -0,0 +1 @@
+setRingerVolumesetRingerVolume(volume)
Sets the ringer volume.
volume (Integer)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/setScreenBrightness.html b/source/qsl4a/setScreenBrightness.html
new file mode 100644
index 0000000..33e55b5
--- /dev/null
+++ b/source/qsl4a/setScreenBrightness.html
@@ -0,0 +1 @@
+setScreenBrightnesssetScreenBrightness(value=None)
Sets the the screen backlight brightness.
value (Integer) brightness value between 0 and 255,
if value defaults to None, use automatic brightness .
returns: (Integer) the original screen brightness.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/setScreenTimeout.html b/source/qsl4a/setScreenTimeout.html
new file mode 100644
index 0000000..2ac9d3d
--- /dev/null
+++ b/source/qsl4a/setScreenTimeout.html
@@ -0,0 +1 @@
+setScreenTimeoutsetScreenTimeout(value)
Sets the screen timeout to this number of seconds.
value (Integer)
returns: (Integer) The original screen timeout.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/sharedVariableGet.html b/source/qsl4a/sharedVariableGet.html
new file mode 100644
index 0000000..ab1374d
--- /dev/null
+++ b/source/qsl4a/sharedVariableGet.html
@@ -0,0 +1 @@
+sharedVariableGetsharedVariableGet(key)
Get Shared Variable of SL4A which can be use by other QPython scripts .
key (String)
Return the value string corresponding to the key string .
If the key does not exist, an error will be reported.
Note: when qpython is closed, these shared variables will be cleared.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/sharedVariableRemove.html b/source/qsl4a/sharedVariableRemove.html
new file mode 100644
index 0000000..ba264ed
--- /dev/null
+++ b/source/qsl4a/sharedVariableRemove.html
@@ -0,0 +1 @@
+sharedVariableRemovesharedVariableRemove(key)
remove Shared Variable of SL4A which will cannot use by other QPython scripts .
key (String) which need to remove
If the key exists, return the original value string corresponding to the key string ,
If the key not exist, return None .
note: when qpython is closed, these shared variables will be cleared.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/sharedVariableSet.html b/source/qsl4a/sharedVariableSet.html
new file mode 100644
index 0000000..b3f7ef2
--- /dev/null
+++ b/source/qsl4a/sharedVariableSet.html
@@ -0,0 +1 @@
+sharedVariableSetsharedVariableSet(key, value)
set Shared Variable of SL4A which can be use by other QPython scripts .
key (String)
value (String)
If the key exists, return the original value string corresponding to the key string ,
If the key not exist, return None .
note: when qpython is closed, these shared variables will be cleared.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/showScreenLock.html b/source/qsl4a/showScreenLock.html
new file mode 100644
index 0000000..6a0407c
--- /dev/null
+++ b/source/qsl4a/showScreenLock.html
@@ -0,0 +1 @@
+showScreenLockshowScreenLock()
Show Screen Lock Verify with password or fingerprint .
return True if verify ok ,
return False if verify fail .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/sl4aHelp.py b/source/qsl4a/sl4aHelp.py
new file mode 100644
index 0000000..2539ecf
--- /dev/null
+++ b/source/qsl4a/sl4aHelp.py
@@ -0,0 +1,82 @@
+from WinGui.ListCmd import *
+from WinGui.LongHtml import *
+from androidhelper import *
+droid = Android()
+droid.cipherInit(b's'*16)
+droid.documentTreeShowOpen()
+droid.batteryStartMonitoring()
+droid.batteryStopMonitoring()
+droid.startSensingTimed(5,100)
+droid.stopSensing()
+droid.checkBluetoothState()
+p1='/storage/emulated/0/Download/QSL4A/'
+p2=p1+'qsl4a/%s.html'
+p3=p1+'qsl4a.html'
+open(p3,'w').write('QSL4A Functions\n')
+Functions = ['R.id','R.layout','R.style','provider.Settings']
+for i in dir(droid):
+ if i[0]!='_':
+ Functions.append(i)
+Functions.sort()
+o='
按 确认 调用 百度翻译url 成 简体中文,只提示一次'
+def Text2Html(s,u=None):
+ t=['']
+ r=t.append
+ firstLine=True
+ for i in s:
+ j=ord(i)
+ if j==10:
+ if firstLine:
+ if len(t)==1:
+ continue
+ r('')
+ firstLine=False
+ r('
')
+ elif j==32:
+ r(' ')
+ elif j<256 and not (i.isalpha() or i.isdigit()):
+ r('');r(str(j));r(";")
+ else:
+ r(i)
+ t=''.join(t)
+ if u:
+ t=t.replace(u,""+u+"")
+ return t
+def sl4aHelp(Title):
+ global o,Functions
+ for a in Functions:
+ #c=ListCmd('%s:%s个'%(Title,len(Functions)),Functions)
+ #if None==c:
+ #break
+ #a=Functions[c]
+ if a.split('.',1)[0] in ('R','provider','Intent'):
+ try:
+ b=open(eval(f'droid.{a}.__file__')).read()
+ except:
+ b=eval(f'droid.{a}.__doc__')
+ else:
+ b=eval(f'droid.{a}.__doc__')
+ #Functions=Functions[c:]+Functions[:c]
+ h1=Text2Html(a)+o
+ h2=Text2Html(b,a)
+ #a=LongHtml(h1,h2)
+ open(p2%a,'w').write(f'{a}{h2}
<back>')
+ open(p3,'a').write(f'{a}
\n')
+ if o:
+ o=''
+ if a==None and len(a)>0:
+ a=bytes(b,'utf-8')
+ b=[];d=-1
+ for c in a:
+ if 65<=c<=90 and ( 97<=d<=122 or 48<=d<=57 ):
+ b.append('%20')
+ d=c
+ c=hex(c)
+ if len(c)==4:
+ b.append('%'+c[2:])
+ else:
+ b.append('%0'+c[2:])
+ b=''.join(b)
+ droid.viewHtml('https://fanyi.baidu.com/?tpltype=sigma#en/zh/'+b)
+open(p3,'a').write('')
+#by 乘着船 Bilibili
diff --git a/source/qsl4a/smsDeleteMessage.html b/source/qsl4a/smsDeleteMessage.html
new file mode 100644
index 0000000..0d4775a
--- /dev/null
+++ b/source/qsl4a/smsDeleteMessage.html
@@ -0,0 +1 @@
+smsDeleteMessagesmsDeleteMessage(id)
Deletes a message.
id (Integer)
returns: (Boolean) True if the message was deleted
<back>
\ No newline at end of file
diff --git a/source/qsl4a/smsGetAttributes.html b/source/qsl4a/smsGetAttributes.html
new file mode 100644
index 0000000..b1905bf
--- /dev/null
+++ b/source/qsl4a/smsGetAttributes.html
@@ -0,0 +1 @@
+smsGetAttributessmsGetAttributes()
Returns a List of all possible message attributes.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/smsGetMessageById.html b/source/qsl4a/smsGetMessageById.html
new file mode 100644
index 0000000..0074123
--- /dev/null
+++ b/source/qsl4a/smsGetMessageById.html
@@ -0,0 +1 @@
+smsGetMessageByIdsmsGetMessageById(id,attributes=None)
Returns message attributes.
id (Integer) message ID
attributes (JSONArray) (optional)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/smsGetMessageCount.html b/source/qsl4a/smsGetMessageCount.html
new file mode 100644
index 0000000..a4e8c29
--- /dev/null
+++ b/source/qsl4a/smsGetMessageCount.html
@@ -0,0 +1 @@
+smsGetMessageCountsmsGetMessageCount(unreadOnly,folder="inbox")
Returns the number of messages.
unreadOnly (Boolean)
folder (String) (default=inbox)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/smsGetMessageIds.html b/source/qsl4a/smsGetMessageIds.html
new file mode 100644
index 0000000..ce22f41
--- /dev/null
+++ b/source/qsl4a/smsGetMessageIds.html
@@ -0,0 +1 @@
+smsGetMessageIdssmsGetMessageIds(unreadOnly,folder="inbox")
Returns a List of all message IDs.
unreadOnly (Boolean)
folder (String) (default=inbox)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/smsGetMessages.html b/source/qsl4a/smsGetMessages.html
new file mode 100644
index 0000000..5172c2d
--- /dev/null
+++ b/source/qsl4a/smsGetMessages.html
@@ -0,0 +1 @@
+smsGetMessagessmsGetMessages(unreadOnly,folder="inbox",attributes=None)
Returns a List of all messages.
unreadOnly (Boolean)
folder (String) (default=inbox)
attributes (JSONArray) (optional)
returns: (List) a List of messages as Maps
<back>
\ No newline at end of file
diff --git a/source/qsl4a/smsMarkMessageRead.html b/source/qsl4a/smsMarkMessageRead.html
new file mode 100644
index 0000000..4140637
--- /dev/null
+++ b/source/qsl4a/smsMarkMessageRead.html
@@ -0,0 +1 @@
+smsMarkMessageReadsmsMarkMessageRead(ids,read)
Marks messages as read.
ids (JSONArray) List of message IDs to mark as read.
read (Boolean)
returns: (Integer) number of messages marked read
<back>
\ No newline at end of file
diff --git a/source/qsl4a/smsSend.html b/source/qsl4a/smsSend.html
new file mode 100644
index 0000000..50db3b7
--- /dev/null
+++ b/source/qsl4a/smsSend.html
@@ -0,0 +1 @@
+smsSendsmsSend(destinationAddress,text)
Sends an SMS. You need start SMS permission first .
destinationAddress (String) typically a phone number
text (String)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/speechToText.html b/source/qsl4a/speechToText.html
new file mode 100644
index 0000000..56a1e23
--- /dev/null
+++ b/source/qsl4a/speechToText.html
@@ -0,0 +1 @@
+speechToTextspeechToText(RecordSecond = 10, AmrFile = None, Language = None)
RecordSecond ( Integer , Optional ) Recording duration ,
AmrFile ( String , Optional ) Temporary stored amr file ,
If RecordSecond is None , use only AmrFile to input speech content .
If AmrFile is None , use AmrFile = os.environ['TMP']+'/tmp.amr' .
If Language is None, use system language .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/startActivity.html b/source/qsl4a/startActivity.html
new file mode 100644
index 0000000..75deb49
--- /dev/null
+++ b/source/qsl4a/startActivity.html
@@ -0,0 +1 @@
+startActivitystartActivity(action,uri=None,type=None,extras=None,wait=None,packagename=None,classname=None)
Starts an activity.
action (String)
uri (String) (optional)
type (String) MIME type/subtype of the URI (optional)
extras (JSONObject) a Map of extras to add to the Intent (optional)
wait (Boolean) block until the user exits the started activity (optional)
packagename (String) name of package. If used, requires classname to be useful (optional)
classname (String) name of class. If used, requires packagename to be useful (optional)
packagename and classname, if provided, are used in a 'setComponent' call.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/startActivityForResult.html b/source/qsl4a/startActivityForResult.html
new file mode 100644
index 0000000..7e05178
--- /dev/null
+++ b/source/qsl4a/startActivityForResult.html
@@ -0,0 +1 @@
+startActivityForResultstartActivityForResult(action,uri=None,type=None,extras=None,packagename=None,classname=None)
Starts an activity and returns the result.
action (String)
uri (String) (optional)
type (String) MIME type/subtype of the URI (optional)
extras (JSONObject) a Map of extras to add to the Intent (optional)
packagename (String) name of package. If used, requires classname to be useful (optional)
classname (String) name of class. If used, requires packagename to be useful (optional)
returns: (Intent) A Map representation of the result Intent.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/startActivityForResultIntent.html b/source/qsl4a/startActivityForResultIntent.html
new file mode 100644
index 0000000..df72857
--- /dev/null
+++ b/source/qsl4a/startActivityForResultIntent.html
@@ -0,0 +1 @@
+startActivityForResultIntentstartActivityForResultIntent(intent)
Starts an activity and returns the result.
intent (Intent) Intent in the format as returned from makeIntent
returns: (Intent) A Map representation of the result Intent.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/startActivityIntent.html b/source/qsl4a/startActivityIntent.html
new file mode 100644
index 0000000..ba85cd5
--- /dev/null
+++ b/source/qsl4a/startActivityIntent.html
@@ -0,0 +1 @@
+startActivityIntentstartActivityIntent(intent,wait=None)
Start Activity using Intent
intent (Intent) Intent in the format as returned from makeIntent
wait (Boolean) block until the user exits the started activity (optional)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/startEventDispatcher.html b/source/qsl4a/startEventDispatcher.html
new file mode 100644
index 0000000..7326bad
--- /dev/null
+++ b/source/qsl4a/startEventDispatcher.html
@@ -0,0 +1 @@
+startEventDispatcherstartEventDispatcher(port=None)
Opens up a socket where you can read for events posted
port (Integer) Port to use (optional) (default=0)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/startLocating.html b/source/qsl4a/startLocating.html
new file mode 100644
index 0000000..ba313b2
--- /dev/null
+++ b/source/qsl4a/startLocating.html
@@ -0,0 +1 @@
+startLocatingstartLocating(minUpdateTime=60000,minUpdateDistance=30,updateGnssStatus=False)
Starts collecting location data.
minUpdateTime (Integer) minimum time between updates in milliseconds (default=60000) ,
minUpdateDistance (Integer) minimum distance between updates in meters (default=30) ,
updateGnssStatus (Boolean) if Android >= 9 and updateGnssStatus is True (default=False) , update Global Navigation Satellite System status .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/startSensingThreshold.html b/source/qsl4a/startSensingThreshold.html
new file mode 100644
index 0000000..69c3797
--- /dev/null
+++ b/source/qsl4a/startSensingThreshold.html
@@ -0,0 +1 @@
+startSensingThresholdstartSensingThreshold(sensorNumber,threshold,axis)
Records to the Event Queue sensor data exceeding a chosen threshold.
sensorNumber (Integer) 1 = All, 2 = Accelerometer, 3 = Magnetometer, 4 = Light, 5 = StepCounter, 6 = Gyroscope
threshold (Integer) Threshold level for chosen sensor (integer)
axis (Integer) 0 = No axis, 1 = X, 2 = Y, 3 = X+Y, 4 = Z, 5= X+Z, 6 = Y+Z, 7 = X+Y+Z
startSensingThreshold.ALL = 1
startSensingThreshold.ACCELEROMETER = 2
startSensingThreshold.MAGNETOMETER = 3
startSensingThreshold.LIGHT = 4
startSensingThreshold.STEP_COUNTER = 5
startSensingThreshold.GYROSCOPE = 6
<back>
\ No newline at end of file
diff --git a/source/qsl4a/startSensingTimed.html b/source/qsl4a/startSensingTimed.html
new file mode 100644
index 0000000..bd53a6d
--- /dev/null
+++ b/source/qsl4a/startSensingTimed.html
@@ -0,0 +1 @@
+startSensingTimedstartSensingTimed(sensorNumber,delayTime)
Starts recording sensor data to be available for polling.
sensorNumber (Integer) 1 = All, 2 = Accelerometer, 3 = Magnetometer, 4 = Light, 5 = StepCounter, 6 = Gyroscope
delayTime (Integer) Minimum time between readings in milliseconds
startSensingTimed.ALL = 1
startSensingTimed.ACCELEROMETER = 2
startSensingTimed.MAGNETOMETER = 3
startSensingTimed.LIGHT = 4
startSensingTimed.STEP_COUNTER = 5
startSensingTimed.GYROSCOPE = 6
<back>
\ No newline at end of file
diff --git a/source/qsl4a/startTrackingPhoneState.html b/source/qsl4a/startTrackingPhoneState.html
new file mode 100644
index 0000000..7c9b519
--- /dev/null
+++ b/source/qsl4a/startTrackingPhoneState.html
@@ -0,0 +1 @@
+startTrackingPhoneStatestartTrackingPhoneState()
Starts tracking phone state.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/startTrackingSignalStrengths.html b/source/qsl4a/startTrackingSignalStrengths.html
new file mode 100644
index 0000000..347f6fe
--- /dev/null
+++ b/source/qsl4a/startTrackingSignalStrengths.html
@@ -0,0 +1 @@
+startTrackingSignalStrengthsstartTrackingSignalStrengths()
Starts tracking signal strengths. GSM/CDMA/EVDO
<back>
\ No newline at end of file
diff --git a/source/qsl4a/stopEventDispatcher.html b/source/qsl4a/stopEventDispatcher.html
new file mode 100644
index 0000000..82c7e5b
--- /dev/null
+++ b/source/qsl4a/stopEventDispatcher.html
@@ -0,0 +1 @@
+stopEventDispatcherstopEventDispatcher()
Stops the event server, you can\'t read in the port anymore
<back>
\ No newline at end of file
diff --git a/source/qsl4a/stopLocating.html b/source/qsl4a/stopLocating.html
new file mode 100644
index 0000000..4e9b7c0
--- /dev/null
+++ b/source/qsl4a/stopLocating.html
@@ -0,0 +1 @@
+stopLocatingstopLocating()
Stops collecting location data.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/stopSensing.html b/source/qsl4a/stopSensing.html
new file mode 100644
index 0000000..2d7dbd8
--- /dev/null
+++ b/source/qsl4a/stopSensing.html
@@ -0,0 +1 @@
+stopSensingstopSensing()
Stops collecting sensor data.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/stopTrackingPhoneState.html b/source/qsl4a/stopTrackingPhoneState.html
new file mode 100644
index 0000000..4788ec9
--- /dev/null
+++ b/source/qsl4a/stopTrackingPhoneState.html
@@ -0,0 +1 @@
+stopTrackingPhoneStatestopTrackingPhoneState()
Stops tracking phone state.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/stopTrackingSignalStrengths.html b/source/qsl4a/stopTrackingSignalStrengths.html
new file mode 100644
index 0000000..39e0c59
--- /dev/null
+++ b/source/qsl4a/stopTrackingSignalStrengths.html
@@ -0,0 +1 @@
+stopTrackingSignalStrengthsstopTrackingSignalStrengths()
Stops tracking signal strength. GSM/CDMA/EVDO
<back>
\ No newline at end of file
diff --git a/source/qsl4a/takePicture.html b/source/qsl4a/takePicture.html
new file mode 100644
index 0000000..6ffdc98
--- /dev/null
+++ b/source/qsl4a/takePicture.html
@@ -0,0 +1 @@
+takePicturetakePicture(path = None)
Take Picture with system camera .
path (String Optional) if omitted, use default path
return path if success, return None if canceled .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/takeVideo.html b/source/qsl4a/takeVideo.html
new file mode 100644
index 0000000..939807c
--- /dev/null
+++ b/source/qsl4a/takeVideo.html
@@ -0,0 +1 @@
+takeVideotakeVideo(path = None, quality = 1)
Take Video with system camera .
path (String Optional) if omitted, use default path
quality (Integer Optional) default 1 is high quality, 0 is low quality.
return path if success, return None if canceled .
takeVideo.QUALITY_HIGH = 1
takeVideo.QUALITY_LOW = 0
<back>
\ No newline at end of file
diff --git a/source/qsl4a/textToSpeech.html b/source/qsl4a/textToSpeech.html
new file mode 100644
index 0000000..035b613
--- /dev/null
+++ b/source/qsl4a/textToSpeech.html
@@ -0,0 +1 @@
+textToSpeechtextToSpeech(Text, AutoPlay = True, WavFile = None, VoiceName = None)
Text (String) the String to convert to speech ,
AutoPlay (Boolean Optional) auto play the speech ,
WavFile (String Optional) the wav file to store the speech, if it is None, means os.environ['TMP']+'/tmp.wav' ,
VoiceName (String Optional)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/toggleBluetoothState.html b/source/qsl4a/toggleBluetoothState.html
new file mode 100644
index 0000000..7895f36
--- /dev/null
+++ b/source/qsl4a/toggleBluetoothState.html
@@ -0,0 +1 @@
+toggleBluetoothStatetoggleBluetoothState(enabled=None,prompt=True)
Toggle Bluetooth on and off.
enabled (Boolean) (optional)
prompt (Boolean) Prompt the user to confirm changing the Bluetooth state. (default=true)
returns: (Boolean) True if Bluetooth is enabled.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/toggleRingerSilentMode.html b/source/qsl4a/toggleRingerSilentMode.html
new file mode 100644
index 0000000..2b3e8e3
--- /dev/null
+++ b/source/qsl4a/toggleRingerSilentMode.html
@@ -0,0 +1 @@
+toggleRingerSilentModetoggleRingerSilentMode(enabled=None)
Toggles ringer silent mode on and off.
enabled (Boolean) (optional)
returns: (Boolean) True if ringer silent mode is enabled.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/toggleVibrateMode.html b/source/qsl4a/toggleVibrateMode.html
new file mode 100644
index 0000000..8dde1d3
--- /dev/null
+++ b/source/qsl4a/toggleVibrateMode.html
@@ -0,0 +1 @@
+toggleVibrateModetoggleVibrateMode(enabled=None,ringer=None)
Toggles vibrate mode on and off. If ringer=true then set Ringer setting, else set Notification setting
enabled (Boolean) (optional)
ringer (Boolean) (optional)
returns: (Boolean) True if vibrate mode is enabled.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/toggleWifiState.html b/source/qsl4a/toggleWifiState.html
new file mode 100644
index 0000000..d446e40
--- /dev/null
+++ b/source/qsl4a/toggleWifiState.html
@@ -0,0 +1 @@
+toggleWifiStatetoggleWifiState(enabled=None)
Toggle Wifi on and off.
enabled (Boolean) (optional)
returns: (Boolean) True if Wifi is enabled.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/ttsIsSpeaking.html b/source/qsl4a/ttsIsSpeaking.html
new file mode 100644
index 0000000..bdf3aa2
--- /dev/null
+++ b/source/qsl4a/ttsIsSpeaking.html
@@ -0,0 +1 @@
+ttsIsSpeakingttsIsSpeaking()
Returns True if speech is currently in progress.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/ttsSpeak.html b/source/qsl4a/ttsSpeak.html
new file mode 100644
index 0000000..1d99c0b
--- /dev/null
+++ b/source/qsl4a/ttsSpeak.html
@@ -0,0 +1 @@
+ttsSpeakttsSpeak(message,pitch=1,pitchRate=1)
Speaks the provided message via TTS.
message (String)
pitch (Float Optional) speech pitch
pitchRate (Float Optional) speech pitch rate
<back>
\ No newline at end of file
diff --git a/source/qsl4a/ttsStop.html b/source/qsl4a/ttsStop.html
new file mode 100644
index 0000000..f88f7b5
--- /dev/null
+++ b/source/qsl4a/ttsStop.html
@@ -0,0 +1 @@
+ttsStopttsStop()
Stop the speaking TTS .
<back>
\ No newline at end of file
diff --git a/source/qsl4a/usbserialConnect.html b/source/qsl4a/usbserialConnect.html
new file mode 100644
index 0000000..0304c23
--- /dev/null
+++ b/source/qsl4a/usbserialConnect.html
@@ -0,0 +1 @@
+usbserialConnectusbserialConnect(hash = "", options ="")
Connect to a device with USB-Host. request the connection and exit.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/usbserialDisconnect.html b/source/qsl4a/usbserialDisconnect.html
new file mode 100644
index 0000000..0b2060f
--- /dev/null
+++ b/source/qsl4a/usbserialDisconnect.html
@@ -0,0 +1 @@
+usbserialDisconnectusbserialDisconnect(connID = "")
Disconnect all USB-device.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/usbserialGetDeviceList.html b/source/qsl4a/usbserialGetDeviceList.html
new file mode 100644
index 0000000..2980cb0
--- /dev/null
+++ b/source/qsl4a/usbserialGetDeviceList.html
@@ -0,0 +1 @@
+usbserialGetDeviceListusbserialGetDeviceList()
Returns USB devices reported by USB Host API.,
returns Map of id and string information ',' separated
<back>
\ No newline at end of file
diff --git a/source/qsl4a/usbserialRead.html b/source/qsl4a/usbserialRead.html
new file mode 100644
index 0000000..f3936ae
--- /dev/null
+++ b/source/qsl4a/usbserialRead.html
@@ -0,0 +1 @@
+usbserialReadusbserialRead(connID = "", bufferSize = 4096)
Read up to bufferSize ASCII characters.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/usbserialReadReady.html b/source/qsl4a/usbserialReadReady.html
new file mode 100644
index 0000000..70e7a5d
--- /dev/null
+++ b/source/qsl4a/usbserialReadReady.html
@@ -0,0 +1 @@
+usbserialReadReadyusbserialReadReady(connID = "")
Returns True if the next read is guaranteed not to block.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/usbserialWrite.html b/source/qsl4a/usbserialWrite.html
new file mode 100644
index 0000000..332be7d
--- /dev/null
+++ b/source/qsl4a/usbserialWrite.html
@@ -0,0 +1 @@
+usbserialWriteusbserialWrite(ascii, connID = "")
Sends ASCII characters over the currently open USB Serial connection.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/vibrate.html b/source/qsl4a/vibrate.html
new file mode 100644
index 0000000..b931760
--- /dev/null
+++ b/source/qsl4a/vibrate.html
@@ -0,0 +1 @@
+vibratevibrate(duration=300)
Vibrates the phone or a specified duration in milliseconds.
duration (Integer) duration in milliseconds (default=300)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/videoPlay.html b/source/qsl4a/videoPlay.html
new file mode 100644
index 0000000..d8bb5e8
--- /dev/null
+++ b/source/qsl4a/videoPlay.html
@@ -0,0 +1 @@
+videoPlayvideoPlay(path, wait=True)
Play a video file
path (String) video file path
wait (Boolean Optional) wait for the end of video file viewing
<back>
\ No newline at end of file
diff --git a/source/qsl4a/view.html b/source/qsl4a/view.html
new file mode 100644
index 0000000..6c9cea1
--- /dev/null
+++ b/source/qsl4a/view.html
@@ -0,0 +1 @@
+viewview(uri,type=None,extras=None,wait=True)
Start activity with view action by URI (i.e. browser, contacts, etc.).
uri (String)
type (String) MIME type/subtype of the URI (optional)
extras (JSONObject) a Map of extras to add to the Intent (optional)
wait (Boolean Optional) wait for the view operation end
<back>
\ No newline at end of file
diff --git a/source/qsl4a/viewContacts.html b/source/qsl4a/viewContacts.html
new file mode 100644
index 0000000..988d589
--- /dev/null
+++ b/source/qsl4a/viewContacts.html
@@ -0,0 +1 @@
+viewContactsviewContacts(wait=True)
Opens the list of contacts.
wait (Boolean Optional) wait for the contacts operation end
<back>
\ No newline at end of file
diff --git a/source/qsl4a/viewHtml.html b/source/qsl4a/viewHtml.html
new file mode 100644
index 0000000..dc38af6
--- /dev/null
+++ b/source/qsl4a/viewHtml.html
@@ -0,0 +1 @@
+viewHtmlviewHtml(path,title=None,wait=True)
Opens the browser to display a local HTML/text/audio/video File or http(s) Website .
path (String) the path to the HTML/text/audio/video File or http(s) Website
title (String Optional) title bar text, if omitted, use app name as default title, if title is empty String, title bar will hidden to show a full screen webpage.
wait (Boolean Optional) wait for the file operation end
<back>
\ No newline at end of file
diff --git a/source/qsl4a/viewMap.html b/source/qsl4a/viewMap.html
new file mode 100644
index 0000000..31b12a2
--- /dev/null
+++ b/source/qsl4a/viewMap.html
@@ -0,0 +1 @@
+viewMapviewMap(query,wait=True)
Opens a map search for query .
query (String) :
└ address : "pizza, 123 My Street" ;
└ latitude,longitude : "30,40" for (N30°,E40°) .
wait (Boolean Optional) wait for the map operation end
<back>
\ No newline at end of file
diff --git a/source/qsl4a/waitForEvent.html b/source/qsl4a/waitForEvent.html
new file mode 100644
index 0000000..5974624
--- /dev/null
+++ b/source/qsl4a/waitForEvent.html
@@ -0,0 +1 @@
+waitForEventwaitForEvent(eventName,timeout=None)
Blocks until an event with the supplied name occurs. The returned event is not removed from the buffer.
eventName (String)
timeout (Integer) the maximum time to wait (optional)
returns: (Event) Map of event properties.
Deprecated in r4. Use eventWaitFor instead.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/wakeLockAcquireBright.html b/source/qsl4a/wakeLockAcquireBright.html
new file mode 100644
index 0000000..e566ef0
--- /dev/null
+++ b/source/qsl4a/wakeLockAcquireBright.html
@@ -0,0 +1 @@
+wakeLockAcquireBrightwakeLockAcquireBright()
Acquires a bright wake lock (CPU on, screen bright).
<back>
\ No newline at end of file
diff --git a/source/qsl4a/wakeLockAcquireDim.html b/source/qsl4a/wakeLockAcquireDim.html
new file mode 100644
index 0000000..0530ca0
--- /dev/null
+++ b/source/qsl4a/wakeLockAcquireDim.html
@@ -0,0 +1 @@
+wakeLockAcquireDimwakeLockAcquireDim()
Acquires a dim wake lock (CPU on, screen dim).
<back>
\ No newline at end of file
diff --git a/source/qsl4a/wakeLockAcquireFull.html b/source/qsl4a/wakeLockAcquireFull.html
new file mode 100644
index 0000000..1792df4
--- /dev/null
+++ b/source/qsl4a/wakeLockAcquireFull.html
@@ -0,0 +1 @@
+wakeLockAcquireFullwakeLockAcquireFull()
Acquires a full wake lock (CPU on, screen bright, keyboard bright).
<back>
\ No newline at end of file
diff --git a/source/qsl4a/wakeLockAcquirePartial.html b/source/qsl4a/wakeLockAcquirePartial.html
new file mode 100644
index 0000000..2762586
--- /dev/null
+++ b/source/qsl4a/wakeLockAcquirePartial.html
@@ -0,0 +1 @@
+wakeLockAcquirePartialwakeLockAcquirePartial()
Acquires a partial wake lock (CPU on).
<back>
\ No newline at end of file
diff --git a/source/qsl4a/wakeLockRelease.html b/source/qsl4a/wakeLockRelease.html
new file mode 100644
index 0000000..2c66e63
--- /dev/null
+++ b/source/qsl4a/wakeLockRelease.html
@@ -0,0 +1 @@
+wakeLockReleasewakeLockRelease()
Releases the wake lock.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/webcamAdjustQuality.html b/source/qsl4a/webcamAdjustQuality.html
new file mode 100644
index 0000000..82e69f0
--- /dev/null
+++ b/source/qsl4a/webcamAdjustQuality.html
@@ -0,0 +1 @@
+webcamAdjustQualitywebcamAdjustQuality(resolutionLevel=0,jpegQuality=20)
Adjusts the quality of the webcam stream while it is running.
resolutionLevel (Integer) increasing this number provides higher resolution (default=0)
jpegQuality (Integer) a number from 0-100 (default=20)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/webcamStart.html b/source/qsl4a/webcamStart.html
new file mode 100644
index 0000000..fae0e13
--- /dev/null
+++ b/source/qsl4a/webcamStart.html
@@ -0,0 +1 @@
+webcamStartwebcamStart(resolutionLevel=0,jpegQuality=20,port=0)
Starts an MJPEG stream and returns a Tuple of address and port for the stream.
resolutionLevel (Integer) increasing this number provides higher resolution (default=0)
jpegQuality (Integer) a number from 0-100 (default=20)
port (Integer) If port is specified, the webcam service will bind to port, otherwise it will pick any available port. (default=0)
<back>
\ No newline at end of file
diff --git a/source/qsl4a/webcamStop.html b/source/qsl4a/webcamStop.html
new file mode 100644
index 0000000..f386e9c
--- /dev/null
+++ b/source/qsl4a/webcamStop.html
@@ -0,0 +1 @@
+webcamStopwebcamStop()
Stops the webcam stream.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/wifiDisconnect.html b/source/qsl4a/wifiDisconnect.html
new file mode 100644
index 0000000..b38e7b4
--- /dev/null
+++ b/source/qsl4a/wifiDisconnect.html
@@ -0,0 +1 @@
+wifiDisconnectwifiDisconnect()
Disconnects from the currently active access point.
returns: (Boolean) True if the operation succeeded.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/wifiGetApState.html b/source/qsl4a/wifiGetApState.html
new file mode 100644
index 0000000..69dcf50
--- /dev/null
+++ b/source/qsl4a/wifiGetApState.html
@@ -0,0 +1 @@
+wifiGetApStatewifiGetApState()
return "disabling","disabled","enabling","enabled","failed"
<back>
\ No newline at end of file
diff --git a/source/qsl4a/wifiGetConnectionInfo.html b/source/qsl4a/wifiGetConnectionInfo.html
new file mode 100644
index 0000000..cdf5ece
--- /dev/null
+++ b/source/qsl4a/wifiGetConnectionInfo.html
@@ -0,0 +1 @@
+wifiGetConnectionInfowifiGetConnectionInfo(ipConvertToString=True)
Returns information about the currently active access point.
If ipConvertToString is True, IP address is like "10.0.3.193",
If ipConvertToString is False, IP address is like 167773121.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/wifiGetScanResults.html b/source/qsl4a/wifiGetScanResults.html
new file mode 100644
index 0000000..52d5c29
--- /dev/null
+++ b/source/qsl4a/wifiGetScanResults.html
@@ -0,0 +1 @@
+wifiGetScanResultswifiGetScanResults()
Returns the list of access points found during the most recent Wifi scan.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/wifiLockAcquireFull.html b/source/qsl4a/wifiLockAcquireFull.html
new file mode 100644
index 0000000..acc4f07
--- /dev/null
+++ b/source/qsl4a/wifiLockAcquireFull.html
@@ -0,0 +1 @@
+wifiLockAcquireFullwifiLockAcquireFull()
Acquires a full Wifi lock.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/wifiLockAcquireScanOnly.html b/source/qsl4a/wifiLockAcquireScanOnly.html
new file mode 100644
index 0000000..1a78f6a
--- /dev/null
+++ b/source/qsl4a/wifiLockAcquireScanOnly.html
@@ -0,0 +1 @@
+wifiLockAcquireScanOnlywifiLockAcquireScanOnly()
Acquires a scan only Wifi lock.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/wifiLockRelease.html b/source/qsl4a/wifiLockRelease.html
new file mode 100644
index 0000000..0bbedfb
--- /dev/null
+++ b/source/qsl4a/wifiLockRelease.html
@@ -0,0 +1 @@
+wifiLockReleasewifiLockRelease()
Releases a previously acquired Wifi lock.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/wifiReassociate.html b/source/qsl4a/wifiReassociate.html
new file mode 100644
index 0000000..63dec2c
--- /dev/null
+++ b/source/qsl4a/wifiReassociate.html
@@ -0,0 +1 @@
+wifiReassociatewifiReassociate()
Reassociates with the currently active access point.
returns: (Boolean) True if the operation succeeded.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/wifiReconnect.html b/source/qsl4a/wifiReconnect.html
new file mode 100644
index 0000000..609da55
--- /dev/null
+++ b/source/qsl4a/wifiReconnect.html
@@ -0,0 +1 @@
+wifiReconnectwifiReconnect()
Reconnects to the currently active access point.
returns: (Boolean) True if the operation succeeded.
<back>
\ No newline at end of file
diff --git a/source/qsl4a/wifiStartScan.html b/source/qsl4a/wifiStartScan.html
new file mode 100644
index 0000000..ef80b5e
--- /dev/null
+++ b/source/qsl4a/wifiStartScan.html
@@ -0,0 +1 @@
+wifiStartScanwifiStartScan()
Starts a scan for Wifi access points.
returns: (Boolean) True if the scan was initiated successfully.
<back>
\ No newline at end of file