今天在练习PopupWindow弹出框的时候,打算在界面加载的时候将弹出框展现出来并显示在指定的view下面. 初步方法是直接在OnResume方法里面直接执行showPopupWindows方法. 但是报“Unable to add window -- token null is not valid; is your activity running?” 原因参考:http://cb269267.iteye.com/blog/1787779 总结下原因如下:popupwindow必须要指定一个…
1. where to load dynamic so: (rpath isdetermined and recorded when compiling, it is also used to find dynamic library) https://unix.stackexchange.com/questions/22926/where-do-executables-look-for-shared-objects-at-runtime The shared library HOWTO e…