Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想知道android系统重启服务的时间。这次有什么办法可以得到吗?
中提琴。
public class MyService extends Service { private long startTime; public void onCreate() { super.onCreate(); startTime = System.currentTimeInMillis(); } }