How to add floating bubbles that are still visible outside of the app #10377
Replies: 3 comments
-
Hi @chenshuiluke , |
Beta Was this translation helpful? Give feedback.
-
@tsonevn
declared here:
and called here:
Once the service is started, it should
So it seems to me like the service's Could the problem be that the BubbleService class' package ( |
Beta Was this translation helpful? Give feedback.
-
Hi guys, I am working on a similar kind of plugin and ran into some problems. I hoped maybe I can find some help here. I'm trying to develop a floating chat head with nativescript and actually made some headway. I managed to render the floating head, but the thing is I use a custom xml file placed inside the src/res/layout. The problem is that in order to add some events on the chathead, I need to access it a way like this:
It seems that in this case ( custom xml file and custom foreground service that extends android.app.Service ) R is not aware of additional layouts or id's. So how could I add some event listeners on items if I can't call findViewById? Any help would be very apreciated. |
Beta Was this translation helpful? Give feedback.
-
I'm trying to figure out how to add a floating bubble that will be visible outside the app (after the app is minimized) like so:
Is this possible outside of writing a plugin over the existing Android libraries that do it? I'm new to nativescript so I'd rather not have to do that.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
Beta Was this translation helpful? Give feedback.
All reactions