Git Product home page Git Product logo

android-samples's Issues

Facebook Chat Heads not working on Android 7.0+

--------- beginning of crash 07-19 16:27:44.122 10530-10530/com.example.chatheads E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.chatheads, PID: 10530 java.lang.RuntimeException: Unable to create service com.example.chatheads.ChatHeadService: android.view.WindowManager$BadTokenException: Unable to add window android.view.ViewRootImpl$W@bfea592 -- permission denied for window type 2002 at android.app.ActivityThread.handleCreateService(ActivityThread.java:3414) at android.app.ActivityThread.-wrap4(Unknown Source:0) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1683) at android.os.Handler.dispatchMessage(Handler.java:105) at android.os.Looper.loop(Looper.java:164) at android.app.ActivityThread.main(ActivityThread.java:6540) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767) Caused by: android.view.WindowManager$BadTokenException: Unable to add window android.view.ViewRootImpl$W@bfea592 -- permission denied for window type 2002 at android.view.ViewRootImpl.setView(ViewRootImpl.java:788) at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:356) at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:92) at com.example.chatheads.ChatHeadService.onCreate(ChatHeadService.java:48) at android.app.ActivityThread.handleCreateService(ActivityThread.java:3404) at android.app.ActivityThread.-wrap4(Unknown Source:0)  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1683)  at android.os.Handler.dispatchMessage(Handler.java:105)  at android.os.Looper.loop(Looper.java:164)  at android.app.ActivityThread.main(ActivityThread.java:6540)  at java.lang.reflect.Method.invoke(Native Method

Won't work for Android TV

No Activity found to handle Intent { act=android.settings.action.MANAGE_OVERLAY_PERMISSION }

Any way to fix and use this at Android TV ?

Much appreciated thanks.

App does not work

Hi,

interessting tutorial, everything seems nice, but when I click on the button to create such bubble, I will be asked for permission, to allow to put the bubble over my view.
I agree.

When I click on the button, nothing happens.
I will only moved "back" to my parent intent, which called this intent.

Means, activity a call activity b, when I click the button in activity b, I will be brought back to activity a, nothing else happens.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.