Sunday, December 16, 2012

[android-developers] Using background Mediarecorder in service Mediarecorder.stop() was hanging issue.

Hi  i use service bind when my activity in enter  background 
contineue Video recording.

service.java
.......
.......

stopRecord(){
 new Thread(){
  public void run(){
    .....
    mediarecorder.stop(); << hanging here
    .....
  }
 }
}

activity.java

button stop.setOnclickListener(){
 stopService(.......) << call stopRecord()
}

this code every Device fine but Galaxy Nexus was hanging.

Logcat message 
Timed out waiting for incoming camera video frames:xxxxxxxxxx ms

anybody find same problerm and find solution?

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate