重庆分公司,新征程启航
为企业提供网站建设、域名注册、服务器等服务
随着Google对隐私的重视以及Android10的逐渐普及,获取设备的唯一标识越来越来难,在Android10以前,Android设备唯一标识包含IMEI、AndroidID、DeviceID、Mac地址等,下面收集了一些唯一ID的获取方案:
创新互联-专业网站定制、快速模板网站建设、高性价比吉安网站开发、企业建站全套包干低至880元,成熟完善的模板库,直接使用。一站式吉安网站制作公司更省心,省钱,快速模板网站建设找我们,业务覆盖吉安地区。费用合理售后完善,十载实体公司更值得信赖。
获取方法:
这是Android系统为开发者提供的标识手机设备串号的方法,局限性:
可以使用手机WiFi或者蓝牙的Mac地址作为设备标识,Android 6.0以后通过 WifiManager 获取到的mac将是固定的:02:00:00:00:00:00 ,
再后来连读取 /sys/class/net/wlan0/address 也获取不到了。
现在只剩下面这种方法可以获取(没有开启wifi也可以获取到):
局限性:
设备首次启动时,系统会随机生成一个64位的数字,并将这个数字以16进制的形式保存下来,flutter官方组件device_info就是通过这个方式获取的,获取方式:
局限性:
获取方式:
局限性:
结合以上几点来看,单独采用其中某一个方案都不是很完美,所以 移动安全联盟MSA 搞了一个OAID,这个本质上也是一个设备的唯一标识,目前已经支持的厂商包括:华为、小米、OPPO、vivo、中兴、努比亚、魅族、联想、三星等
目前已经开发完成,项目地址:
支持终端版本:
插件说明:OAID支持Android10以上的设备,以前的老设备以及没有更新的设备获取不到。获取到OAID为空的情况下,会自动尝试获取IMEI号,如果用户没有授权或者获取不到IMEI的情况下,会尝试获取MAC地址,再获取不到的时候采用兜底方案AndroidID
获取顺序:
OAID - IMEI(需要授权) - MAC地址 - AndroidID
Warmth 2008
Snow at bottom, snow at bottom, snow at bottom ……
From 39 later on, always bottom arrive La for month 28
From the north to the south, day and night, perpendicular the Qing spread
The ice face yellow river, rain snow Yangtze River, jelly Zhan three Xiang the earth
Keep rush toward the bead be triangle and be missing flower city that winter jasmine which contain Bao desire to put
The low temperature is strict and cold and the jelly glazed frost be wide and come all of a sudden
Come all of a sudden, approach year end
Approach the year end shout, I Yugoslavia home of that Yu Yu spring onion spring onion
Faced to come while cover with cover with of ice snow 2008
BE all Ai Ai white snow everywhere, white snow Ai Ai
Superhighway way, the station traveller be detained and the empty harbor be compelled close
Pierce through south north of electrification aorta because of power failure but paralyze
In the Hua east, Hua, the Hua south, Xiang E Yue, Su's Zhe Wan, cloud expensive Chuan
The electric power raise an alarm, the coal raise an alarm, and the food raise an alarm
The common people of disaster area of life, suffered an unprecedented challenge
Return to have thousands elders country full brother sister
Drive the natural calamity for come all of a sudden, block at go home the road of New Year's Day top
The bise is frozen stiff they ascend the smiling face that the car return to village
Rain snow ice their desire be reunited of joy
That a moment, the whole inside national capital be concern about, all is concern about
From the party and the Beijing leadership, arrive common of common people's somebody else
Concern about bise in of you
Concern about thousands on the road of he
One the square be difficult, eight square support
Squared blizzard, let disaster area people to lead previous happiness peaceful Chinese New Year
Party central 1 in State Department make bottom
An unprecedented anti- disaster relief activity
With the spring of 2008 luck together the head erupt
See that city with icebound a long distance wide on-line
The genuine feeling melt ice snow and warmth send to a benevolence
See that ten thousand inside snow press of disaster city country
The party ensign is flaunt, fig up a popular support and coagulate strength
The party and Beijing leadership attend personally a forefront, stay in conductor and devise strategies within a command tent
All levels leadership body first private soldier, match boat with people's crowd total benefit, experience together difficult situation!
We see the inside of the field battle tent that the heavy snow get wind of
The sons soldier carried top that steaming hot noodles
The tea of that cup cup warm Che heart
We saw because of power failure but dark of city street
People's police illuminated return of pedestrian road with the lamp
We saw volunteer is a Gu a few old man a point a bright candle
The self-moving green silk ribbon of the innumerable activity
Use ordinary of touched annotation what call benevolence major league
We heard one and other city say to the traveller who be detained
Stay, the house being you here
Come, with our New Year's Day
Let we each other warmth, tight tight mutually depend on
Natural calamity eventually will past
The China children is in breeze snow Ao however stand erect
Heavy snow can with ice world, but can't impede love forever of spring
Can't impede to break ice to turn snow, that is booming but of spring tide message
The tonight is a New Year's Eve, really New Year's Day
Perhaps at the moment of you have already go home
If you return on the return journey to walk faster
That before pleasing trust line
Ice snow in the front has already been melt by the close relatives' wish
This snow blizzard, we believe many people all hard forget
Want the person of with gratitude to have is many and include yourself among them
Because unity of will is a formidable force, showed harmony the strength of China
Because unity of will is a formidable force, we face come warmth 2008 most beauty of spring scenes!
谁能帮我把这首诗译成英语:
悬赏分:20 - 离问题结束还有 13 天 1 小时
温暖2008
雪在下,雪在下,雪在下……
从三九过后,一直下到腊月二十八
从北向南,不分昼夜,垂直倾洒
冰临黄河,雨雪长江,冻颤三湘大地
直扑珠三角,不见了花城那含苞欲放的迎春花
低温严寒,冻雨冰广,突如其来
突如其来,逼近年关
逼近年关呐,我那郁郁葱葱的南国家园
在漫天冰雪的笼罩下,迎来了2008
到处都是皑皑白雪,白雪皑皑
高速公路封道,车站旅客滞留,空港被迫关闭
贯穿南北的电气化大动脉因断电而瘫痪
华东、华中、华南、湘鄂粤、苏浙皖、云贵川
电力告急,煤炭告急,食品告急
灾区的老百姓的生活,遭受了前所未有的挑战
还有成千上万的父老乡亲兄弟姐妹
被这场突如其来的天灾,挡在了回家过年的路上
寒风冻僵了他们登车返乡的笑脸
雨雪冰封了他们渴望团圆的喜悦
那一刻,整个中国都在牵挂,都在牵挂
从党和国家领导人,到普通的百姓人家
牵挂着寒风中的你
牵挂着成千上万个在路上的他
一方有难,八方支援
迎战暴风雪,让灾区人民过上一个欢乐祥和的春节
党中央国务院一声令下
一场前所未有的抗灾救灾行动
与2008年春运齐头并发
看那千里冰封的京广线上
真情融化冰雪,温暖把爱心送达
看那万里雪压的受灾城乡
党旗在飘扬,振奋民心,凝聚力量
党和国家领导人亲临第一线,坐镇指挥,运筹帷幄
各级领导身先士卒,与人民群众合舟共济,共渡难关!
我们看到了大雪风闻的野战帐篷里
子弟兵端上了那一碗碗热腾腾的面
那一杯杯暖彻心扉的茶
我们看到了因断电而黑暗的城市街道
人民警察用车灯照亮了行人的归路
我们看到了志愿者为孤寡老人点亮的那一根根蜡烛
无数的自发的绿丝带行动
用平凡的感动诠释了什么叫爱心大联盟
我们听到了一个又一个的城市对滞留的旅客说
留下来吧,这里就是你的家
来吧,和我们一起过年吧
让我们彼此温暖,紧紧相依
天灾终将过去
中华儿女在风雪中傲然挺立
大雪可以冰封天地,却永远无法阻挡爱的春天
无法阻挡破冰化雪,那蓬勃而起的春潮讯息
今晚是除夕,真的过年了
也许此刻的你已经回家
如果你还在归途中赶路
那就请放心地前行吧
前方的冰雪已经被亲人的祝福融化
这场大风雪,我们相信许多人都难以忘记
要感谢的人有许多,其中包括你自己
因为众志成城,彰显了和谐中国的力量
因为众志成城,我们迎来了温暖2008最美丽的春光!