获得三星手机下一个报警值 [英] Get next alarm value in Samsung mobile

查看:205
本文介绍了获得三星手机下一个报警值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Settings.System.getString(getContentResolver(), Settings.System.NEXT_ALARM_FORMATTED);    

以上code返回HTC和索尼爱立信Android手机的一个系统报警值。
但在三星手机的情况下,没有返回下一个报警值。谁能给我备用code或高于code,让我一次报警值在三星设备改变?

The above code returns next system alarm value in HTC and Sony Ericsson android phones. But in case of Samsung mobiles, it is not returning next alarm value. Can anyone give me alternate code or change in above code that gives me next alarm value in a Samsung device?

编辑:我挖的是,三星的设备给我们放出来以hh:毫米AA格式(如上午06点45分)结果
凡作为HTC和索尼爱立信的Andr​​oid设备让我们出去放于EEE HH:毫米AA格式(例如,WED上午06点45分)结果
在这里,在三星的设备,我们不能确定报警设置为哪个日期。现在我的下一个challange是找出哪些给我平日太的方式。

Edited: I have digged out that, Samsung device gives us out put in hh:mm aa format (e.g. 06:45 AM).
Where as HTC and Sony Ericsson android device gives us out put in EEE hh:mm aa format (e.g. WED 06:45 AM).
Here in Samsung device we can not identify that alarm is set for which date. Now my next challange is to find out the way which give me weekday too.

感谢。

推荐答案

我试过高于codeS三星设备上。它给我EEE HH:毫米AA格式(例如,WED上午06时45分)

I tried above codes on Samsung device. It gives me EEE hh:mm aa format (e.g. WED 06:45 AM).

所以,你可以更具体而三星设备?我试着用三星GALAXY Nexus,没有问题。

So can you be more specific which Samsung device? I tried using Samsung Galaxy Nexus with no problem.

这篇关于获得三星手机下一个报警值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆