JsOs
JsOs 정보
플랫폼은 안드로이드 API에 대한 모든 권한과 자바 스크립트를 작성하는
A platform to write javascript with full access to android API
How to use
The app has two modes:
1 the editor mode, with - as bar character
2 the command model, with = as bar character
use Alt+x to toggle between these modes
The editor mode.
Editor the current file and run.
Ctrl+ (f/b/n/p) cursor right/left/down/up (like in emacs)
Ctrl+ space set mark
Ctrl+ (w/y) cut/paste
Ctrl+ (e/a) end/begining of line
Ctrl+ (j/r) run code (without/with) babel in js thread (different from ui thread) and clear content
Ctrl+ u run code with babel in main UI thread and clear content (this is necessary when user want's to create a UI program, otherwise, just run it in js thread)
Ctrl+ q, show the magic input screen (a novel design)
Ctrl + ( [ / ] ), toggle history
Ctrl + i, send to IO (use for java.read)
Ctrl+c, clear output
TAB: intelligent autocomplete
Alt+ w copy
Alt + (f/b) word forward/backward
Alt+ (j/r) run code (without/with) babel in js thread (different from ui thread) and don't clear content
Alt+ u run code with babel in main UI thread and don't clear content (this is necessary when user want's to create a UI program, otherwise, just run it in js thread)
The command mode
This mode is to create, open, list, and execute files
Current support command
ls: list files and directories in current working directory
cd: change working directory
mkdir: create new directory
clear: clear output
save filename: save the file
open filename: open the file and into editor mode
cat filename: print the file content to output
examples: write the example files
otherwise, the system search the file same as the command and push the arguments into a variable exposed as arg as a javascript array
Manage Js contexts
Each javascript context has its own heap, so the user can create an isolated namespace associated with a default java thread to execute code. Since the underlying javascript engine (based on duktape) is single thread essentially, i.e, each time, only one thread can access the heap at a given time, the JsOs use the hack in method to execute any heap from the main thread (in principle,from any thread) in contrast to the default js thread by using the locker.
Ctrl+c create a js thread
Ctrl+k delete the current js thread (the default heap and thread to execute code)
Ctrl+o, show the information for js threads
Ctrl+(-/=) set the current thread as (previous/next) thread
Alt+c create new thread
What's new in the latest 2.0
APKPure 앱을통한매우빠르고안전한다운로드
한번의클릭으로 Android에 XAPK/APK 파일을설치할수있습니다!