Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Scouting (http://www.chiefdelphi.com/forums/forumdisplay.php?f=36)
-   -   Team 111's scouting system: WildRank (http://www.chiefdelphi.com/forums/showthread.php?t=129763)

Skyehawk 07-01-2015 10:22

Re: Team 111's scouting system: WildRank
 
http://imgur.com/tKjtfBz
Am I correct in assuming that the only code I need to change is the root directory of the flashdrive? (underlined in red in the photo)

nathanwalters 07-01-2015 12:43

Re: Team 111's scouting system: WildRank
 
Quote:

Originally Posted by Skyehawk (Post 1423522)
http://imgur.com/tKjtfBz
Am I correct in assuming that the only code I need to change is the root directory of the flashdrive? (underlined in red in the photo)

Unfortunately not, that was an oversight while I was programming the app last year. The root is hardcoded elsewhere. I'll push a fix soon to make that work as expected.

nathanwalters 07-01-2015 12:58

Re: Team 111's scouting system: WildRank
 
I've changed the app to use a constant called USB_FLASH_DRIVE_ROOT_PATH in org.wildstang.wildrank.android.utils as the root path of the flash drive. This was a quick fix that I haven't been able to test yet but it should be functional.

Skyehawk 07-01-2015 16:38

Re: Team 111's scouting system: WildRank
 
Thank you so much. I'll give it a test on two different android tablets shortly. An ASUS memo pad 7 and a MSI primo 73. Thanks again.
[Edit] I am still having some minor issues. I think this is because I have the mount path for the USB wrong. uggh. I will try it on another tablet.

And thank you for the variable in one location. It's awesome.

Skyehawk 09-01-2015 14:06

Re: Team 111's scouting system: WildRank
 
I got the app working, I don't know what the problem was with my other tablet, but no matter. My next question, what is the password? Or how does one set the password? I really don't want to go through the 6561 different possibilities for the pass code. Thanks for all your help.

dmorewood 09-01-2015 14:14

Re: Team 111's scouting system: WildRank
 
Will you be making an iOS version of this app?

nathanwalters 09-01-2015 17:15

Re: Team 111's scouting system: WildRank
 
Quote:

Originally Posted by Skyehawk (Post 1425098)
I got the app working, I don't know what the problem was with my other tablet, but no matter. My next question, what is the password? Or how does one set the password? I really don't want to go through the 6561 different possibilities for the pass code. Thanks for all your help.

Ah yeah, I should have documented that. The password is defined in org.wildstang.wildrank.android.fragments.PasswordP rotectionFragment, as the field CONFIGURED_PASSWORD. It's currently 9453 ("WILD" spelled out on a keypad). I should change that to use a global, easily changeable constant as well.

nathanwalters 09-01-2015 17:18

Re: Team 111's scouting system: WildRank
 
Quote:

Originally Posted by dmorewood (Post 1425101)
Will you be making an iOS version of this app?

No one on my team has experience with iOS development, and we aren't willing to pay for developer license. Also, porting this to iOS would require a complete redesign of the app anyway, as Apple provides no way to connect or access flash drives.

TL;DR no :)

Skyehawk 09-01-2015 19:30

Re: Team 111's scouting system: WildRank
 
Quote:

Originally Posted by nathanwalters (Post 1425216)
Ah yeah, I should have documented that. The password is defined in org.wildstang.wildrank.android.fragments.PasswordP rotectionFragment, as the field CONFIGURED_PASSWORD. It's currently 9453 ("WILD" spelled out on a keypad). I should change that to use a global, easily changeable constant as well.

Dang, I feel like i should have been able to guess that. Awe well, thanks for getting back to me.

Short Stuff 10-01-2015 13:13

Re: Team 111's scouting system: WildRank
 
So which file in the desktop application do you open in order to run the desktop app and set it up? I don't do much with the programming but am trying to do this for my team.

Skyehawk 10-01-2015 18:24

Re: Team 111's scouting system: WildRank
 
Quote:

Originally Posted by nathanwalters (Post 1421535)
For compiling the Android app, you'll need to download and install Android Studio. Once you've done that, use your Git method of choice (IDE integrated, the Github app, command-line git, etc.) to clone the project on your machine. Then just open the project in Android Studio and run it; once it's compiled it will prompt you to install it on your device. Make sure your device is connected via USB and that you've enabled developer options and debugging over USB. You should be all set on the tablet end.

For the desktop app, we used Eclipse, though you could compile the code in your Java IDE of choice. Just run the project as a Java application and you're good to go.

I think the Github Readmes do a pretty good job of explaining how to configure both components, but if you need more help, please ask.

Hope that helps!

Basically install eclipse and a JDK, then you can just run the project.

Short Stuff 12-01-2015 17:04

Re: Team 111's scouting system: WildRank
 
Can the desktop app be packaged as an .exe application to make easier to run on different computers?

nathanwalters 12-01-2015 17:07

Re: Team 111's scouting system: WildRank
 
Quote:

Originally Posted by Short Stuff (Post 1426947)
Can the desktop app be packaged as an .exe application to make easier to run on different computers?

If one were to do that it would probably be as an executable jar file, but yes, it could definitely be done. It didn't make sense to do that last year as we were constantly making additions and bug fixes so we were never at the point where it would make sense to package a stable version of the program; it was easiest to just run it from Eclipse every time.

Short Stuff 12-01-2015 18:39

Re: Team 111's scouting system: WildRank
 
Quote:

Originally Posted by nathanwalters (Post 1426949)
If one were to do that it would probably be as an executable jar file, but yes, it could definitely be done. It didn't make sense to do that last year as we were constantly making additions and bug fixes so we were never at the point where it would make sense to package a stable version of the program; it was easiest to just run it from Eclipse every time.

I was just wondering as it would make it easier for our team to run at competition. Also when making changes to the android scouting app, what files have game specific information in it that would need to be changed for this season?

nathanwalters 12-01-2015 22:15

Re: Team 111's scouting system: WildRank
 
Quote:

Originally Posted by Short Stuff (Post 1427007)
I was just wondering as it would make it easier for our team to run at competition. Also when making changes to the android scouting app, what files have game specific information in it that would need to be changed for this season?

If you use the tablets for data analysis instead of using the desktop to generate a PDF summary (I highly reccomend the former, it's much simpler), I think I did a pretty good job of highlighting everything that you have to do here: https://github.com/nwalters512/wildr...-for-your-team. It tells you about what files you have to modify and how to modify them to set it up for your game. It may seem a little convoluted at first (it probably is, actually), but the slight extra complexity is needed to make it easy to modify and easy to extend.

Read through the docs and try it out. If things don't make sense, post here and I'll do my best to help! I'd appreciate any feedback you have so I can make things easier to understand for other teams.


All times are GMT -5. The time now is 23:39.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi