mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-12-26 12:51:28 +00:00
Improved development notes.
This commit is contained in:
parent
a1ddfbb2db
commit
1ed4db8684
2 changed files with 4 additions and 0 deletions
|
@ -43,4 +43,6 @@ Always welcome.
|
|||
|
||||
Code should follow the [Android Code Style Guidelines](https://source.android.com/source/code-style.html#java-language-rules). This can be done automatically in Android Studio.
|
||||
|
||||
Unit tests are available, and can be executed with `gradle connectedAndroidTest`, or from Android Studio. New code should always add or improve related tests.
|
||||
|
||||
Lint warnings should be fixed. If that's not possible, they should be ignored as specifically as possible.
|
||||
|
|
|
@ -36,6 +36,8 @@ To get Syncthing app for Android running on you device/emulator the native synct
|
|||
|
||||
## Development Notes
|
||||
|
||||
It is recommended to change the GUI and Listen Address ports for the debug app, eg to 8081 and 22001 respectively.
|
||||
|
||||
The syncthing backend used for this android application provides a web interface by default. It can be accessed via the Settings menu -> 'Web GUI'. It is quite helpful to access this web interface from your development machine. Read [android documentation](http://developer.android.com/tools/devices/emulator.html#redirection) on how to access the network of your emulator. Or use the following steps to connect to the single currently running emulator/AVD.
|
||||
- `telnet localhost 5554`
|
||||
- `redir add tcp:18080:8080`
|
||||
|
|
Loading…
Reference in a new issue