Android手机关掉,同时使用mediarecorder并不能获得日志 [英] Android phone shutting off while using mediarecorder and cannot get logs

查看:129
本文介绍了Android手机关掉,同时使用mediarecorder并不能获得日志的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

林使用在服务媒体记录器。媒体记录器将正常工作为短促的叫声,但如果调用的是约5分钟,手机将关闭并重新启动。林不知道如何获取日志,因为我不能在模拟器测试介质记录,并与连接到手机它不会关闭USB每当IM调试。它只有当它完全断开连接关闭。

Im using the media recorder in a service. The media recorder will work fine for short calls, but when the call is about 5 min the phone will shut off and restart itself. Im not sure how to get the logs because i cant test the media recorder in the emulator and also whenever im debugging with usb connected to the phone it wont shut off. It only shuts off when its completely disconnected.

香港专业教育学院试图让日志,但是当手机关闭唯一的日志时它回来的是日志的手机开机,我可以接受。任何人都可以提供在任何获取日志,甚至有媒体记录分享任何类似的经历或修复任何见解或协助。

Ive tried to get the logs but when the phone shuts off the only logs i can receive when it comes back on is the logs for the phone starting up. Can anyone offer any insight or assistance in either getting the logs or even sharing any similar experiences or fixes with the media recorder.

另外,我有一个LG擎天柱T,带2.2

Also I have an LG Optimus T with 2.2

推荐答案

您可以尝试使用所谓的alogcat一个应用程序并将其设置为每隔几秒记录日志到一个SD卡。

you can try using an app called "alogcat" and set it to record logs every few seconds to an SDcard.

这篇关于Android手机关掉,同时使用mediarecorder并不能获得日志的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆