1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-29 14:52:12 +01:00

When the UAVO collection is missing, list which are available.

This commit is contained in:
James Cotton 2012-10-11 02:01:58 -05:00
parent 16adf27082
commit c142deaa9d

View File

@ -320,6 +320,19 @@ public class OPTelemetryService extends Service {
catch (IOException e)
{
Log.e(TAG, e.toString(), e);
String[] list;
try {
list = assetManager.list("uavos/");
Log.i(TAG, "Listing found uavos");
for(int i = 0; i < list.length; i++) {
Log.i(TAG, "Found: " + list[i]);
}
} catch (IOException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
}
}
}