Mercurial > 510ConnectbotMonitor
comparison src/com/five_ten_sg/connectbot/monitor/MonitorActivity.java @ 21:665324c9716e
enable some debug logging
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Tue, 08 Jul 2014 09:25:54 -0700 |
parents | 2be5bca648ab |
children | adc776858a2d |
comparison
equal
deleted
inserted
replaced
20:943df7400741 | 21:665324c9716e |
---|---|
58 public void onCreate(Bundle savedInstanceState) { | 58 public void onCreate(Bundle savedInstanceState) { |
59 super.onCreate(savedInstanceState); | 59 super.onCreate(savedInstanceState); |
60 setContentView(R.layout.main); | 60 setContentView(R.layout.main); |
61 text = (TextView) findViewById(R.id.text2); | 61 text = (TextView) findViewById(R.id.text2); |
62 printer(getString(R.string.copyright)); | 62 printer(getString(R.string.copyright)); |
63 String external_dir = Environment.getExternalStorageDirectory().getAbsolutePath(); | |
64 printer(""); | |
65 printer(String.format("External directory is %s", external_dir)); | |
66 printer(""); | |
63 Log.i(TAG, "binding to monitor service"); | 67 Log.i(TAG, "binding to monitor service"); |
64 Intent intent = new Intent ("com.five_ten_sg.connectbot.monitor.MonitorService"); | 68 Intent intent = new Intent ("com.five_ten_sg.connectbot.monitor.MonitorService"); |
65 bindService(intent, connection, Context.BIND_AUTO_CREATE); | 69 bindService(intent, connection, Context.BIND_AUTO_CREATE); |
66 } | 70 } |
67 | 71 |