简体   繁体   English

如何获取Android设备打开时间的日期?

[英]How can i get a date of android device opening time?

I was wondering that how can i programmatically get a date of android device service opened time and date of the first access to network on the device? 我想知道如何以编程方式获取android设备服务的打开日期和设备上首次访问网络的日期?

Is it possible? 可能吗?

plz help me... 请帮我...

how would users get this application?? 用户将如何获得此应用程序? the only thing that i can think of is an application that tests connectivity to a known proxy server or something with an ip that doesn't change, however unless you put an apk on an sd card and install the application before activating the device it would only let you know how long that application has been installed on the phone. 我唯一能想到的是一个应用程序,该应用程序测试到已知代理服务器或IP不变的连接的连接性,但是除非在激活设备之前将apk放在sd卡上并安装该应用程序,否则它将只让您知道该应用程序在手机上安装了多长时间。 The best thing to do is call your service provider and ask... if you are doing it from a LAN prospective just keep a list of mac addresses and look at the file modification date. 最好的办法是致电您的服务提供商,并询问...如果您是从LAN预期用户那里进行操作,只需保留一份MAC地址列表,然后查看文件修改日期。 it may help if you explain what it is that you are trying to accomplish, with what you have it is hard to imagine what this application could possibly be used for. 如果您要解释要完成的任务,这可能会有所帮助,而您很难想象该应用程序可能用于什么目的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM