How to Make a Floating Window Application in Android? | GeeksforGeeks

How to Make a Floating Window Application in Android? | GeeksforGeeks

GeeksforGeeks

2 года назад

25,899 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

El Mundo de Denis
El Mundo de Denis - 04.07.2023 03:58

Is it possible to use a floating window, but make it transparent? And that it detects where it was touched and that the user can interact with the background application?

Ответить
Max Yang
Max Yang - 20.05.2023 00:11

Oh God, I do MISS my old Visual Basic
It's so easy to make it happen.

Ответить
Artyom Shvetsov
Artyom Shvetsov - 03.04.2023 17:57

What if I can't turn on the 'Allow display over other apps' thing? It's grey, and I can't touch it.

Ответить
很多时候不懂事
很多时候不懂事 - 28.02.2023 11:15

Hello!That's Great!!!

Ответить
Bo Fu
Bo Fu - 23.11.2022 20:33

So useful!

Ответить
Русский я не
Русский я не - 21.11.2022 08:42

Great stuff man
I've been looking for this everywhere

Ответить
فضيحة
فضيحة - 20.11.2022 21:09

Is it possible to use the same method on the web view, for example, as a floating web browser? And if you don't mind, I hope you explain it to us, no one talked about this before

Ответить
فضيحة
فضيحة - 19.11.2022 21:46

Please explain to us how to create a WebView on a floating window How to create a floating web browser

Ответить
Visitante 123
Visitante 123 - 09.11.2022 19:53

Geek helper, this video

To this day, I don't understand how this creates a floating window, passing a button on the window to go back to the activity that started the window. I hope this video is not deprecated for all android versions starting from api 23 to 32

Ответить
Mahesh Pimple
Mahesh Pimple - 22.10.2022 17:07

pls help i use in Chatting application this it is working but after minimize screen in same project. i have other work in same chat how to use flag for outside

Ответить
Sống lạc quan
Sống lạc quan - 31.08.2022 18:18

great tutorial 😁😁

Ответить
GrumpyOldMan
GrumpyOldMan - 02.06.2022 19:14

Android now has a built-in floating window function. This video is obsolete.

Ответить
Imam Mufiid
Imam Mufiid - 11.03.2022 05:45

Is this different from picture in picture?

Ответить
FASOSHI
FASOSHI - 20.11.2021 20:38

I like it so much sir, it helped me a lot tnx

Ответить
Darrin Reed
Darrin Reed - 06.11.2021 20:09

Everything worked great. But when I added other views like a spinner view or text view I would get this error: android.view.WindowManager$BadTokenException: Unable to add window -- token null is not valid; is your activity running? From what I've read it is because of the context, so I've tried other ways to get context, but it all comes back null. How can this be resolved?

Ответить
Technical Suliman
Technical Suliman - 14.09.2021 19:32

I want add ads in this application?? Please help me

Ответить