Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
aykuttasil committed Dec 22, 2016
1 parent 83c3ba1 commit 9481ecd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 12 deletions.
13 changes: 3 additions & 10 deletions app/src/main/java/com/aykuttasil/callrecorder/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,7 @@ protected void onCreate(Bundle savedInstanceState) {
.setRecordDirName("CallRecorderDir")
.build();



/*
Log.i(TAG, Environment.DIRECTORY_DOWNLOADS);
Log.i(TAG, Environment.DIRECTORY_DCIM);
Log.i(TAG, Environment.getExternalStorageDirectory().getPath());
Log.i(TAG, Environment.getRootDirectory().getPath());
callRecord = new CallRecord.Builder(this)
.setRecordFileName("Record_" + new SimpleDateFormat("ddMMyyyyHHmmss", Locale.US).format(new Date()))
.setRecordDirName("CallRecord")
Expand All @@ -52,15 +45,15 @@ public void StartCallRecordClick(View view) {
Log.i("CallRecord", "StartCallRecordClick");
callRecord.startCallReceiver();

callRecord.enableSaveFile();
//callRecord.enableSaveFile();
//callRecord.changeRecordDirName("NewDirName");
}

public void StopCallRecordClick(View view) {
Log.i("CallRecord", "StopCallRecordClick");
//callRecord.stopCallReceiver();
callRecord.stopCallReceiver();

callRecord.disableSaveFile();
//callRecord.disableSaveFile();
//callRecord.changeRecordFileName("NewFileName");
}
}
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ ext {
sdk = 25
buildTools = "25.0.1"
minSdk = 17
libraryVersion = "1.1.5"
libraryVersionCode = 9
libraryVersion = "1.1.6"
libraryVersionCode = 10
supportVersion = "25.0.1"
}

0 comments on commit 9481ecd

Please sign in to comment.