File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed
app/src/main/java/net/codebuff/intentio Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ public void open_file() {
59
59
//File dir = context.getFilesDir(); // maybe we can switch to this later.
60
60
//Log.i("external storage diretory", dir.getPath());
61
61
//excel = new File(dir, "test.xls");
62
+
62
63
if (uri .getLastPathSegment ().contains (".xlsx" )) {
63
64
excel = null ;
64
65
} else if (uri .getLastPathSegment ().contains (".xls" )) {
Original file line number Diff line number Diff line change 6
6
import android .support .v4 .app .FragmentTransaction ;
7
7
import android .support .v7 .app .ActionBarActivity ;
8
8
import android .os .Bundle ;
9
+ import android .support .v7 .app .AppCompatActivity ;
9
10
import android .support .v7 .widget .CardView ;
10
11
import android .util .Log ;
11
12
import android .view .View ;
20
21
21
22
import java .io .IOException ;
22
23
23
- public class FirstRun extends ActionBarActivity {
24
+ public class FirstRun extends AppCompatActivity {
24
25
25
26
private TextView txt_main ;
26
27
private TextView parser_dump ;
Original file line number Diff line number Diff line change 7
7
import android .support .v7 .app .ActionBar ;
8
8
import android .content .Context ;
9
9
import android .os .Bundle ;
10
+ import android .support .v7 .app .AppCompatActivity ;
10
11
import android .view .Menu ;
11
12
import android .view .MenuItem ;
12
13
import android .widget .ArrayAdapter ;
22
23
import java .util .Calendar ;
23
24
import java .util .HashMap ;
24
25
25
- public class MainActivity extends ActionBarActivity implements ActionBar .OnNavigationListener {
26
+ public class MainActivity extends AppCompatActivity implements ActionBar .OnNavigationListener {
26
27
Context context ;
27
28
PrefsManager app ;
28
29
TextView summary ;
You can’t perform that action at this time.
0 commit comments