![]() |
Re: RoboDS First Test
I installed the app on my Galaxy S4 running 5.1.1, and tried to control our robot, but I ran into a few problems.
Here is a list of the problems I could find, in rough order of severity:
I can upload some screenshots if you want. I hope this is helpful. |
Re: RoboDS First Test
Wow, that sounds pretty bad. I have already listed some of these bugs, like portrait mode not working and only one layout. But I haven't heard o fthe others yet. Some screenshots would be extremely helpful and you android device also. Sorry for the UI mistakes, I'm guessing you are using a phone, I only have s 7" tablet to test on.
|
Re: RoboDS First Test
Quote:
|
Re: RoboDS First Test
Quote:
|
Re: RoboDS First Test
4 Attachment(s)
Sorry if I sounded overly negative in my last response. I'm just trying to suggest ways to improve the app.
My phone is a Samsung Galaxy S4 running Android 5.1.1, the absolute latest version, so it definitely has every API you use. The editing bug occurs every time the app is cold started (ie. it has been deleted from the recent apps list), but not when the app is minimized/backgrounded and then opened again. When the app is minimized and then opened again, the joysticks start working as intended. I attached screenshots of some of the bugs:
If you release the code, I'll take a look and it and see if I can help with some of the bugs. |
Re: RoboDS First Test
Quote:
|
Re: RoboDS First Test
Quote:
|
Re: RoboDS First Test
Quote:
|
Re: RoboDS First Test
The repo is here https://github.com/raystubbs/RobotDS, I've made some changes after my last test so the app may not work at all, please test the binary before playing with the code to make sure I didn't break anything . The binary is located here https://github.com/raystubbs/RobotDS...pp-release.apk.
|
Re: RoboDS First Test
Thanks!
|
Re: RoboDS First Test
I forked the project and starting working on fixing some of the bugs. The first major change was to create a .gitignore file and remove all the autogenerated code from the repository. I also upgraded all the plugins, tools and targetSdkVersion to the latest versions.
As far as the code itself, you made it sound like it was much more messy than it is. :) So far I have fixed:
*Are the joystick/axis indices are 0 or 1 based? Also, I should mention that the bug fixes have not been pushed to the repository yet, as I am still working on them. |
Re: RoboDS First Test
Quote:
I was planning on changing this, but don't want to mess with it since I can't test it and might just break everything. I know you have other things to work on, I just thought I should share my plan. |
Re: RoboDS First Test
1 Attachment(s)
I just pushed all the work I have done so far to the GitHub repo. Most of the changes have been internal, so the app doesn't have many new features yet.
The biggest visible change is that I removed the drawers for creating controls and replaced them with a floating action button menu. The two main reasons I did this is because I was having trouble getting the drawers to work with RelativeLayout and I wanted something that fit better with Android. I realize that it won't work when there are more types of controls, but I am working on an another design for when that happens. Here is a list of the bigger changes I made to the internals of the app:
I have not touched the communication code at all, but I will try to test it this week and fix any problems I come across. I attached the latest build of the app (not signed or anything), in case you want to test it. I tried to test the UI as much as I could, but I probably missed some bugs. From now on, I will try to make smaller commits and list my changes there, rather than on CD. |
Re: RoboDS First Test
Wow, you really know what you are doing, I have a lot to learn.
|
Re: RoboDS First Test
[quote=lopsided98;1486748]
[\QUOTE] I tested out the UI, it is much more attractive than that I originally had. But I don't see any options for adding multiple layout files. |
| All times are GMT -5. The time now is 16:24. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi