Pearls in Life
  • Home
  • Blog
  • Archives

Pop Up AlertDialog in System Service

Date Sun 03 November 2013 Category Android Tags AlertDialog / service

I've been working on OTA support for PhoneLab testbed. And one problem I encountered is that, when I tried to pop out an AlertDialog to let user confirm update, I get this error that saied something like this:

android.view.WindowManager$BadTokenException: Unable to add window -- token null
is not for an application
more ...

  • 0 Hits

  • Popular Posts

    • Pop Up AlertDialog in System Service
  • Recent Posts

    • Pop Up AlertDialog in System Service
  • Categories

    • os161 [27]
    • linux [24]
    • android [20]
    • errors [14]
    • network [11]
  • Tags

    • AOSP
    • backup
    • beamer
    • blog
    • c
    • gdb
    • hammerhead
    • jekyll
    • mac
    • ns2
    • OTA
    • plugin
    • python
    • ruby
    • ssh
    • synchronization
    • syscall
    • travis
    • ubuntu
    • vm
  • Social

    • github
    • stack-overflow
  • GitHub Repos

    Status updating...

    @jhshi on GitHub
  • Links

    • blue Systems Group
    • University at Buffalo

© 2013 Jinghao Shi · Updated on 2020-04-02 · Powered by pelican-bootstrap3, Pelican, Bootstrap

Back to top