开发者

android time mode check

How to identify whether Android phone clock is set to hours mode or AM/PM mo开发者_运维问答de?


Try out is24HourFormat function of the DateFormat class. It should return true if the user has selected 24-hour-format, otherwise false. Have a look at the docs too: DateFormat.is24HourFormat(Context context)

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜