View Single Post
  #14   Spotlight this post!  
Unread 06-01-2015, 15:06
Skyehawk's Avatar
Skyehawk Skyehawk is offline
Nuts N' Bolts
AKA: Skye Leake
FRC #0876 (Thunder Robotics)
Team Role: Mentor
 
Join Date: Nov 2012
Rookie Year: 2011
Location: Northwood, ND
Posts: 216
Skyehawk is a name known to allSkyehawk is a name known to allSkyehawk is a name known to allSkyehawk is a name known to allSkyehawk is a name known to allSkyehawk is a name known to all
Re: Team 111's scouting system: WildRank

Hey everyone, I am having some difficulty on figuring out what I need to replace in this case structure to make a build work on my device. I know the mount location of the USB. "/mnt/usbhost1/WildRank_Working/" inside that directory there is the synced and uninitiated folders. What do I need to change?

I am just a a loss here as I do not work with java that often, any help you could give me would be greatly appreciated. Thanks for any help in advance.

...
case DIRECTORY_SYNCED:
return getSyncedDirectory(context);
case DIRECTORY_FLASH_UNINTEGRATED:
return getFlashDriveUnintegratedDirectory();
case DIRECTORY_FLASH_SYNCED:
return getFlashDriveSyncedDirectory();
case DIRECTORY_FLASH_ROOT:
return new File("/storage/usbdisk0/");

The code in question is found on line 280 of the source code under the file path android/SRC/main/java/org/wildstang/wild rank/android/data/datamanager.java