摘要: 摄像头个数: int cameraCount = Camera.getNumberOfCameras(); cameraInfo.facing == Camera.CameraInfo.CAMERA_FACING_BACK 后摄 cameraInfo.facing == Camera.CameraI 阅读全文
posted @ 2021-01-06 14:20 见解独到之法 阅读(1002) 评论(0) 推荐(0)
摘要: 1 .jack-settings文件 修改 SERVER_PORT_SERVICE=8078SERVER_PORT_ADMIN=8079 2 config.properties 文件 修改 jack.server.service.port=8078jack.server.admin.port=807 阅读全文
posted @ 2021-01-06 14:07 见解独到之法 阅读(523) 评论(0) 推荐(0)
摘要: VideoView播放视频代码详解,直接使用即可。 package com.video;import android.app.Activity;import android.media.MediaPlayer;import android.net.Uri;import android.os.Bund 阅读全文
posted @ 2021-01-05 20:31 见解独到之法 阅读(460) 评论(0) 推荐(0)
摘要: java类package com.videoview;import android.content.Context;import android.util.AttributeSet;import android.widget.VideoView;public class CustomerVideoV 阅读全文
posted @ 2021-01-05 20:28 见解独到之法 阅读(379) 评论(0) 推荐(0)
摘要: hardware_info.xml<Preference android:key="hardware_rom_device_revision" android:title="@string/hardware_rom" android:summary="@string/hardware_content 阅读全文
posted @ 2021-01-05 20:08 见解独到之法 阅读(182) 评论(0) 推荐(0)
摘要: mediatek/proprietary/packages/apps/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarPolicy.java private final void updateBluetooth() { 阅读全文
posted @ 2021-01-05 20:01 见解独到之法 阅读(400) 评论(0) 推荐(0)