forked from CainKernel/CainCamera
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add common writer FFMediaRecorder and test demo.
- Loading branch information
1 parent
719b8db
commit 1f2dc17
Showing
116 changed files
with
13,810 additions
and
5,643 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
app/src/main/java/com/cgfay/caincamera/activity/FFMediaRecordActivity.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package com.cgfay.caincamera.activity; | ||
|
||
import android.support.v7.app.AppCompatActivity; | ||
import android.os.Bundle; | ||
|
||
import com.cgfay.caincamera.R; | ||
import com.cgfay.caincamera.fragment.FFMediaRecordFragment; | ||
|
||
public class FFMediaRecordActivity extends AppCompatActivity { | ||
|
||
private static final String FRAGMENT_FFMEDIA_RECORD = "FRAGMENT_FFMEDIA_RECORD"; | ||
@Override | ||
protected void onCreate(Bundle savedInstanceState) { | ||
super.onCreate(savedInstanceState); | ||
setContentView(R.layout.activity_ffmedia_record); | ||
if (null == savedInstanceState) { | ||
FFMediaRecordFragment fragment = new FFMediaRecordFragment(); | ||
getSupportFragmentManager() | ||
.beginTransaction() | ||
.add(R.id.fragment_container, fragment, FRAGMENT_FFMEDIA_RECORD) | ||
.commit(); | ||
} | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
67 changes: 0 additions & 67 deletions
67
app/src/main/java/com/cgfay/caincamera/activity/VideoGifMakeActivity.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.