關於Live Android Programming
程序的Java代碼片段與Android API和執行它們的飛行。
Online java programming for android, execute source code snippets which get compiled and dynamically loaded into the app at runtime. Useful as a development tool for rapid prototyping and to learn java android programming. You start with a blank page and create the app as you program.
1.) Point your browser to letyourphonedostuff.com
2.) Execute android code snippets
3.) Share code snippets
For example, execute this to show a toast message:
Toast.makeText(getApplicationContext(),"Hello World!",Toast.LENGTH_LONG).show();
The permissions are added so you can use the Android API, for example to read the accelerometer.
More examples:
- add a button to the app programmatically at runtime
- quickly read the GPS coordinates from your phone.
- Read and Write Files
Program the functionality you want and execute it immediately.
Variables you define are stored in the runtime environment. Variable details are shown for debugging. You can define whole classes.
Great for rapid prototyping, just test if the code works on your phone without using an IDE and the SDK.
You can execute commands like in the onCreate method.
Use "this" to get the ActionBarActivity.
Define classes.
The layout ressource is R.id.myLinLayout.
There are convenience methods especially for the browser connection:
- consoleLog(String s) logs to the browser
- downloadFile(String fileName) from your phone to your computer.
All connections are TLS encrypted (except for the ads).
Now with code completions!
最新版本2.0.0更新日誌
Last updated on 2018年03月15日
此版本包含小幅錯誤修正和一般改善。請更新至最新版本,以獲得最佳體驗。



