Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about mediacontroller

Read more about mediacontroller

python (65.2k questions)

javascript (44.3k questions)

reactjs (22.7k questions)

java (20.8k questions)

c# (17.4k questions)

html (16.3k questions)

r (13.7k questions)

android (13k questions)

Questions - mediacontroller

when Playing the video background, report android.view.WindowManager$BadTokenException:Unable to add window-token null is not valid;

I am trying to play videos in VideoView in the recyclerView using realTime database. Here is my adapter code of the recyclerView. :- class VideoAdapter(private var mContext: Context,private var mv...
test-img

CHETAN

android

kotlin

firebase-realtime-database

android-mediaplayer

mediacontroller

Votes: 0

Answers: 2

Latest Answer

The view added to the window must have a token, in your situation, it is the activity. but when your application is in the background, it may be destroyed by the system. you can add log info in the ac...
test-img

Lenoarod

Unable to view videoview in realtime database using firebase realtime database

I want to view VideoView in RecyclerView. I am able to get the Uri of the uploaded videos but I am unable to play that video in the VideoView. I have checked that the I am getting the correct link of ...
test-img

CHETAN

android

firebase-realtime-database

android-recyclerview

android-mediaplayer

mediacontroller

Votes: 0

Answers: 0

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved