Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sebastianbrzustowicz/robot-tasker-client
Java + JUnit. Android application to send requests to a dedicated API. The application enables efficient exchange of data in real time.
https://github.com/sebastianbrzustowicz/robot-tasker-client
android android-java android-studio client instrumental-tests java java-android junit real-time
Last synced: 3 days ago
JSON representation
Java + JUnit. Android application to send requests to a dedicated API. The application enables efficient exchange of data in real time.
- Host: GitHub
- URL: https://github.com/sebastianbrzustowicz/robot-tasker-client
- Owner: sebastianbrzustowicz
- License: other
- Created: 2023-12-24T09:47:53.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-02-02T22:42:25.000Z (10 months ago)
- Last Synced: 2024-02-02T23:35:30.996Z (10 months ago)
- Topics: android, android-java, android-studio, client, instrumental-tests, java, java-android, junit, real-time
- Language: Java
- Homepage:
- Size: 707 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
## Robot Tasker Client
Robot Tasker Client is a Java-based Android application created to establish compatible communication with dedicated API.
Compatible API which this client is communicating with is shared [here](https://github.com/sebastianbrzustowicz/Robot-tasker-API).
Minimum SDK/API level is 24, which is Android 7.0 Nougat (cumulative coverage 96.8% of all devices in use).
Application was created with Android Studio.
### Disclaimer
Complete version which guarantee best performance is not available publicly.
Only alpha version of app with license restrictions is available.
Please contact me if you are interested in cooperation.
I am willing to help.## Views
Some of the implemented views:
## Hierarchy of views
A hierarchy of XML layout files is as follows:
```
- `res`
- `layout`
- `activity_login.xml`
- `activity_menu.xml`
- `activity_vehicle_menu.xml`
- `activity_vehicle_runtime.xml`
- `activity_register_vehicle.xml`
- `activity_register_custom_vehicle.xml`
- `activity_register.xml`
```## Transferred data
The data sent to the API depends on the type of vehicle. In this case, it is a quadcopter.
Handshake should be established between server and client according to data order.
The data is sent in raw string format but its values stands for these variables:```
CLIENT // <- fixed prefix for client message
4436ed9a-5228-46c0-b825-6d0a3cd90437 // <- vehicleId
1 // <- mode
0 // <- vtol
0 // <- x
0 // <- y
0 // <- alt
0 // <- yaw
false // <- camTrig
false // <- camTog
0 // <- camPitch
false // <- clamp
END // <- fixed ending statement of message
```## Tests
Some simple instrumented AndroidJUnit4 tests have been implemented:
```java
useAppContext()
loginButtonClicked_Success()
loginButtonClicked_Failed()
swapToRegisterButtonClicked()
registerButtonClicked_Success()
registerButtonClicked_Failed()
swapToLoginButtonClicked()
```## License
Robot Tasker Client is released under the CC BY-NC-ND 4.0 license.
## Author
Sebastian Brzustowicz <[email protected]>