Kaydet (Commit) 98ec4db4 authored tarafından Michael Meeks's avatar Michael Meeks

android: add more extensions, fix build issue

üst 5f091e66
......@@ -47,6 +47,9 @@ public class FileUtilities {
mExtnMap.put(".docx", DOC);
mExtnMap.put(".html", DOC);
mExtnMap.put(".txt", DOC);
mExtnMap.put(".wpd", DOC);
mExtnMap.put(".wps", DOC);
mExtnMap.put(".lwp", DOC);
mExtnMap.put(".ods", CALC);
mExtnMap.put(".sxc", CALC);
......@@ -58,7 +61,9 @@ public class FileUtilities {
mExtnMap.put(".ppt", IMPRESS);
mExtnMap.put(".pptx", IMPRESS);
mExtnMap.put(".svg", DRAWING);
mExtnMap.put(".vsd", DRAWING);
mExtnMap.put(".wpg", DRAWING);
// FIXME: we need to expand this ...
}
......
......@@ -92,7 +92,7 @@ public class GridItemAdapter extends BaseAdapter{
case FileUtilities.CALC:
imageView.setImageResource(R.drawable.calc);
break;
case FileUtilities.DRAW: // FIXME: only for now ...
case FileUtilities.DRAWING: // FIXME: only for now ...
case FileUtilities.IMPRESS:
imageView.setImageResource(R.drawable.impress);
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment