Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Override
- protected void onPause() {
- super.onPause();
- fileFlush();
- stopService(new Intent(Fingerprinter.INTENT_START_SERVICE));
- }
- @Override
- protected void onResume() {
- super.onResume();
- registerReceiver(mReceiver, new IntentFilter(WifiManager.SCAN_RESULTS_AVAILABLE_ACTION) );
- try {
- createFileOnDevice(true);
- } catch (IOException e) {
- e.printStackTrace();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement