开发者

System.currentTimeMillis() returns always 0 on Motorola Droid

开发者 https://www.devze.com 2022-12-12 14:25 出处:网络
The call to System.currentTimeMillis()returns always 0 on Motorola Droid, Android 2.0. There is no mentioning in changes to System in the API differences between 2.0 and 1.5, so either it was missed s

The call to System.currentTimeMillis() returns always 0 on Motorola Droid, Android 2.0. There is no mentioning in changes to System in the API differences between 2.0 and 1.5, so either it was missed somehow or this is a Droid dependency. Do开发者_C百科es anyone know how to get the currentTimeMillis in a way that satisfies Android 1.5, Android 2.0, and all hardware? Best regards!


It works on my Motorola DROID, Android 2.0, just fine. Can you post a project somewhere that is giving you the erroneous results?

0

精彩评论

暂无评论...
验证码 换一张
取 消