Update SDLActivity.java
This commit is contained in:
@@ -216,9 +216,8 @@ public class SDLActivity extends Activity implements OnKeyListener
|
|||||||
private void importDeckOptions()
|
private void importDeckOptions()
|
||||||
{
|
{
|
||||||
AlertDialog.Builder importDeck = new AlertDialog.Builder(this);
|
AlertDialog.Builder importDeck = new AlertDialog.Builder(this);
|
||||||
int index=internalPath.lastIndexOf('/');
|
|
||||||
importDeck.setTitle("Choose Deck to Import:");
|
importDeck.setTitle("Choose Deck to Import:");
|
||||||
File root = new File(internalPath.substring(0,index)+"/Download");
|
File root = new File(System.getenv("EXTERNAL_STORAGE")+"/Download");
|
||||||
File[] files = root.listFiles();
|
File[] files = root.listFiles();
|
||||||
for( File f : files)
|
for( File f : files)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user