Quest
- start the browser with a specific URL
adb shell am start -n com.oculus.vrshell/.MainActivity -d apk://com.oculus.browser -e uri ""
scrcpy
Used for mirroring on VR and AR devices but also eInk, e.g PineNote with stock OS.
- stream Quest/Quest 2 on low-end device, e.g RPi4
scrcpy -n -m 1024 -b 10M --max-fps=24 -f
- unfortunately
--crop=1832:1920:0:0
fails, bug in the HMD
Flutter
Example to get WebView https://pub.dev/packages/webview_flutter on a device :
cd ~/Prototypes/flutter-plugins/packages/webview_flutter/webview_flutter_android
docker run --rm -it -v "$PWD":/build --workdir /build/example cirrusci/flutter:stable flutter build apk
# if built and installed before
# docker run --rm -it -v "$PWD":/build --workdir /build/example cirrusci/flutter:stable flutter clean
# adb uninstall io.flutter.plugins.webviewflutterandroidexample
adb install example/build/app/outputs/flutter-apk/app-release.apk
adb shell monkey -p 'io.flutter.plugins.webviewflutterandroidexample' -v 500
# to check and control from desktop
# scrcpy
Used on AugmentedReality for the Google Glass Enterprise 2 and VuzixBlade.
Projects
- random moment polling (QS)
- elastic behavior (QS)
- InnovativITLab:WheelShare/
- consider C2D instead of polling
- automated creativity remote control
- add to public and private PIM
Discovering Ionic/Cordova
- SRE steps (cf Principle)
- created
~/SandboxedReusableExplorations/ionic/
- installed ionic with dependencies via https://github.com/nraboy/ubuntu-ionic-installer
- started to follow http://ionicframework.com/docs/guide/installation.html
- created ionic.io account after started the build
- installed Ionic View on Android phone after started the build
- made an Android image via
android avd
- terribly slow boot (1min black screen, several minutes on the Android splashscreen)
- found https://www.reddit.com/r/ionic/ while look for information on the slow boot time
- started in parallel (since the emulator was taking too long) Quick start from http://docs.ionic.io and trying https://apps.ionic.io in the WebView app
- without success, seemed limited to psuh/deploy/analytics...
- focusing instead on testing on a phone proper
- sending the apk from the build to the phone, worked
- using
ionic serve
to test in the browser
- nicely handles live reloading
From personal use
- find architecture to install apk
adb shell getprop | grep product.cpu.abi
- apps on Google Play are account based
- not device based
- they can not be migrated to other account, just re-installed on another device
- to check the content of files written by an app via
adb shell
cd /data/data/your.app.reversed.domain/files
- to access the SDcard simply enable via the nofication menu
- using connectbot to access ssh
- QRcode
- general key resource
vogella.com Android tutorials
blundell's Notification-for-a-user-chosen-time
Hello World by CLI
Requires JDK, Ant, AndroidSDK
- http://www.syscs.com/node/504
- explains how to
- create an emulator image with
android avd ...
- use a template with
create project
- compile with
ant debug
- send the application to it for testing with
avd -s DEVICE install PATH/TO/APP.apk
- use adb to connect to a device (virtual or not) to run commands
Elastic Behavior
blending PIM and QS via QRcodes
- consider also for gamification
MVP
Test
- generate QRcode via http://qrcode.kaywa.com with your server URL
- take the QRcode after doing your action
- display result
grep " /RealLife" /webroot/var/log/lighttpd/access.log | awk '{print $4 " " $7}'
Generalization
- X sampling per period (e.g. day, week, etc)
Steps
- enter server URL
- enter habit to track
- pick type of expected input values
- optionally generate QRcode to put in the target locations
- optionally activate conditional reminders (mobile notifications)
- visit server URL of results
Technically
- request Scan intent to ZXing library to consider own server as "trusted" URL
- generate set of home cards or stickers based on that trusted URL
From YetAnotherTutorial
- notifications
- location
- UI
- geo-notification
- sleep tracking
- accelerometer
- voice actions
Social gatherings
To explore
Note
My notes on Tools gather what I know or want to know. Consequently they are not and will never be complete references. For this, official manuals and online communities provide much better answers.