Releases: kuri65536/sl4a
Releases · kuri65536/sl4a
Rhino changes host from googlecode to github
- change host #35
- remove google analytics binary
- build with latest environment, gradle 3 and Android SDK 25.
Verified with
- LG Aka H788n / Android 4.4 / 32bit / SL4A 6.1.1
May be work with 6.2+
some facade updated from AOSP source
- new facade: NfcFacade
- new facade: Bluetooth4Facade
- WifiManagerFacade : append to add network function
Remove google analytics
- reduce "unconnected to server" dialog at launch.
Append all sensors to SensorFacade
sample script to show all sensors
from __future__ import print_function, unicode_literals
import android
import time
skip_each = False
n_loop = 1
timeout = 3
def sensor(n):
print("-" * 10 + "start %d sensor" % n + "-" * 10)
droid = android.Android()
ret = droid.startSensingTimed(n, 100)
if ret.error:
if "your OS version..." in ret.error:
return True
return False
for i in range(n_loop):
tn = tb = time.time()
while tn - tb < timeout:
events = droid.eventPoll(1).result
tn = time.time()
if events:
break
time.sleep(1)
else:
print("time out...")
continue
evsensor = []
for ev in events:
if ev["name"] != "sensors":
continue
evsensor.append(ev)
if not evsensor:
continue
for ev in evsensor:
print(time.time(), end="")
print(":", end="")
print(ev["data"])
droid.stopSensing()
return False
def main():
sensor(1)
if skip_each:
return
for i in range(2, 999):
if sensor(i):
break
if __name__ == '__main__': # {{{1
main()
Little change CameraFacade
Confirm CameraFacade in Android 5.1. closes #94 * In fact, CameraFacade worked with Android 5.1 emulator, I just confirmed. * Enhance: Enable autofocus timeout. (Emulator never fit the focus...) * Enhance: Fit getParameter and setParameter. * Enhance: Camera not used in creation. * Enhance: listup function was appended.
Merge some forks, Append CPU supports and USBHostSerialFacade
Today I don't have any real devices, reports are welcome 😄
- rev.1270: arm binary re-uploaded
- rev.1267: Enable USBHostSerialFacade and Include run_pie mechanizm.
- rev.1261: 1st binary
Compile with gradle
compile with gradle and append Seekbar event with:
- AndroidStudio 1.1.0
- Gradle 2.2.1
- Android SDK(Build tools) 21.1.2
- not use NDK (use pre-compiled .so)