this repository is aimed to adapt android float window permission in most of phone models and how to request it at runtime
its result is as follows :
这里写图片描述
if you want to see more,click here
from now on,the models below android M that have been adapted are :
- xiaomi:v5,v6,v7,v8
- huawei:partial
- meizu:partial
- 360:partial
- others:phones like samsung,sony or other model can directly show the float window, so there is no need to adapt,but if you find one that can not,contact me via my email(zhao_zepeng@hotmail.com) or leave a message on my blog i mentioned above,thanks
more details about the models that have been adapted(thanks ruanqin0706 for help):
##6.0/6.0+##
most models are OK with this way of adaption except meizu:
这里写图片描述
这里写图片描述
conclusion:
这里写图片描述
until now(2016年11月21日), this problem has been solved, we have made a special treatment to the ROM above 6.0 inclue 6.0 in meizu mobiles.
##huawei##
here is the test result for huawei mobiles:
这里写图片描述
conclusion:
这里写图片描述
waiting for adapted...
##xiaomi##
most of xiaomi mobiles are adapted very well except some paticular models:
这里写图片描述
here is the conclusion:
这里写图片描述
##samsung##
almost 100% of the samsung mobiles are adapted very well:
这里写图片描述
here is the conclusion of samsung:
这里写图片描述
##oppo&&vivo##
only test a small part of the mobiles and here is the result:
这里写图片描述
conclusion:
这里写图片描述
##others##
we random pick some other models like HTC and Sony and here is the result:
这里写图片描述
conclusion:
这里写图片描述