-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
## Running SpringBoot in Android | ||
Running SpringBoot in Android, turn Android device into a web server. | ||
Tested on Android 9 | ||
|
||
![Screenshot](Screenshot_1587307289.png) | ||
|
||
|
||
### TODO: | ||
1. [AndroidConfigurationClassPostProcessor.java](app/src/main/java/org/springframework/context/annotation/AndroidConfigurationClassPostProcessor.java) Support CGLIB [<sup>1</sup>](https://github.com/zhangke3016/MethodInterceptProxy) | ||
2. Template engines not yet tested | ||
|
||
|
||
PS:not spring's `SpringBoot for android` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
## Running SpringBoot in Android | ||
## 在 Android 中运行 SpringBoot | ||
这个项目用于在 Android 中启动 SpringBoot 服务,也就是把 Android 设备当成服务器, | ||
已在Android 9模拟器测试过 | ||
|
||
![浏览器截图](Screenshot_1587307289.png) | ||
|
||
|
||
### TODO: | ||
1. 扩展 [AndroidConfigurationClassPostProcessor.java](app/src/main/java/org/springframework/context/annotation/AndroidConfigurationClassPostProcessor.java) 以支持CGLIB代理 [<sup>1</sup>](https://github.com/zhangke3016/MethodInterceptProxy) | ||
2. 尚未测试模板引擎 | ||
|
||
|
||
PS:spring官方的 `SpringBoot for android` 是在服务器部署RESTful接口给Android调用 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.