It adds some functions to the Android system launcher, and there is no problem. Then, when using the MTK simulator, add a video window on the desktop and add a video file to it, when sliding the screen between the left and right, the video window will also scroll along with the desktop. After playing the screen, the window will disappear. However, when the video is not played, the desktop video window will not be moved when dragging left and right, this launcher was modified based on the Android system launcher. I checked the Android system launcher and found that it also had this problem. Then I tried adw again.
Launcher, I found that it does not have this problem. I used a comparison tool to compare the system launcher and adw launcher, and found that the classes such as launcherappwidgetinfo are identical, I wonder if there is a problem with the transfer of workspace events. I typed the logs and found that their logs are consistent. During the drag between the left and right of the launcher that comes with MTK, the video plug-in will be paused first, and then rolled. Someone suggested that I handle it as needed, thenCodeAdd the JAR file to the current workspace as the user library and add it to the current project. However, there is no problem with this processing on the MTK machine, the android native machine cannot be installed (because the JAR file cannot be converted ). I did not find a plug-in for Playing videos on the desktop in the android native system, and Android also stipulates that widgets cannot be too complex, but the MTK system has such a component, and the speed is still very fast. I admire the modifications made by MTK ~~