Java – Android mediarecorder release() problem and video capture not in portrait mode

I had some problems developing a video capture application

Invalid Sign

2) I'm using the release () method. But when we use it, the capture application closes. If I don't use it in the memory card, there will be a video without any capture and zero size

Can any organization explain why?

Thank you in advance

resolvent:

I have the same problem with thread creation. I stop the first thread and my activity is below.... the problem has disappeared

<activity android:name=".SensorTest"
        android:windowSoftInputMode="adjustPan" android:screenOrientation="sensor"
        android:configChanges="keyboardHidden|orientation">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.HOME" />
        </intent-filter>
    </activity>

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>