Skip to content

Commit

Permalink
add README
Browse files Browse the repository at this point in the history
  • Loading branch information
jjm2473 committed Apr 19, 2020
1 parent 1f656c8 commit ca23f51
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.en.md
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`
14 changes: 14 additions & 0 deletions README.md
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调用
Binary file added Screenshot_1587307289.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ca23f51

Please sign in to comment.