护眼台灯什么牌子好有mode up down alarm set 怎么取消已经设置的闹钟

LED护眼台灯 锂电池充电 带万年历闹钟 操作简单 价格,批发,品牌,生产厂家-中国制造交易网
产品名称:LED护眼台灯 锂电池充电 带万年历闹钟 操作简单
产品链接:
手机版链接:
价格:99元联系人:陈明 电话:
产品介绍:●便携式折叠LED书灯●节能环保,LED灯光光亮度二级调节●时尚潮流的外观,操作简便●内置锂电池,充电LED指示(充电状态为指示灯亮)●万年历闹钟
规格:充电输入:USB 5V/500 mA锂电规格:3.7V/1000 mAh万年历供电:CR2025/3V万年历闹钟操作说明日期和时间的设置正常模式下,按SET键启动日期和时间的设置功能,再按一次进入下个选项的设置,其顺序为:时---分---年---月---日---退出。按UP和DOWN键进行设置,星期会随着日期的变化而自动变化。在设置状态下,按MODE键或者1分钟无操作进程,将退出设置,并实时显示时间。在正常状态下,按UP键转换12小时制或者24小时制。贪睡功能设置正常状态下,按MODE键进入闹钟模式在闹铃模式下,按SET键进入闹铃设置,再按一下进入下个选项的设置,其顺序为:时---分---贪睡---音乐---退出按UP和DOWN键进行设置。在闹铃模式下,按UP和DOWN键可开启和关闭闹铃和贪睡功能,再按一下启动下一个功能记忆。其顺序为:开响铃---开贪睡---关响铃和贪睡当到达闹铃时间时,闹铃将持续1分钟,贪睡时间到时,闹铃会再次响起。按SET键或按任意键停止铃声。
温度转换在正常状态下,按DOWN键以转换摄氏和华氏温度。
IntroductionPortable fold LED lightEco-friendly, ED lightFashion and cool shape, easy to operateBuilt-in lithium battery, charging LED indication (Indicator light when under charging condition, indicator off when charge full)Calendar Alarm
SpecificationUSB 5V/500 mA3.7V/1000 mAh Lithium battery: 3.7V/1000 mAhPower for calendar:CR2025/3V
Operation for Calendar and AlarmSetting the date and timeUnder normal mode, press SET key enter date and time setting mode, press SET again enter the next setting, The sequence of setting as below:Hour-minute-year-month-day-backPress UP and DOEN setting, the day of week will vary accordingly.Under setting mode, press MODE key or no operation in 60 seconds will back from set mode, and display the time.Under normal mode, press UP transfer 12 and 24 hours format.
Snooze functionUnder normal mode, press MODE enter alarm mode.Under alarm mode, press&SET&enter alarm setting, press&SET&again enter the next setting, the sequence of setting as below: Hour-minute-snooze-music-backPress UP and DOWN key to set.Under alarm mode, press UP and DOWN can open and close the function of alarm&snooze function, press it again enter the next function, the sequence as belowOpen the alarm-open the snooze-close alarm and snooze.When reach the alarm time, the alarm will last 1 minute, snooze time reach, alarm will ring again, press&SET&key or any button can stop the alarm.
Temperature transferUnder normal mode, press DOWN key transfer Celsius and Fahrenheit.
LED不含有害环境之元素,废弃物可回收,没有污染;不像荧光灯含有汞成分。LED环保节能,国家大力提倡的照明技术,已应用到鸟巢、水立方,为北京绿色奥运,上海世博张灯结彩,可有效节能75%。装箱资料如下:数量:40 PCS毛重:18.3KGS净重:17.5KGS外箱体积:43*42*30CM
产品图片介绍如下:
【LED护眼台灯 锂电池充电 带万年历闹钟 操作简单】产品信息由【深圳市飞鹤电子有限公司】提供,【深圳市飞鹤电子有限公司】主营:&&&&,您可以查看更多关于【LED护眼台灯 锂电池充电 带万年历闹钟 操作简单】的产品。
联系人:陈明 电话:
1地址:中国 广东 深圳
深圳市宝安区九围宏发创新园3栋3楼(看守所路口转弯)网站:主营:&&&&
业务咨询:
战略合作:
ICP备案号:豫B2-|增值电信业务经营许可证:豫B2-使用AlarmManager实现多个闹钟的问题 - ITeye问答
怎样用AlarmService设置多个闹钟?设置好了如果要取消某一个闹钟,又是如何找到对应的闹钟呢?
以下是我在做日程管理小项目时写的一段代码
Intent intent=new Intent(TimeSetActivity.this,AlarmReceiver.class);&
PendingIntent pi = PendingIntent.getBroadcast(TimeSetActivity.this, _id , intent, 0); //将从数据库中查询得到的_id值作为第二个参数,以此来区分闹钟(因为每一条日程信息在数据库中都对应着唯一的_id号,用它来区分闹钟我认为最为合适了)。
AlarmManager am = (AlarmManager) getSystemService(Activity.ALARM_SERVICE);
am.set(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), pi);//设置闹铃
Intent i=new Intent(TimeSetActivity.this,AlarmReceiver.class);
PendingIntent pi = PendingIntent.getBroadcast(TimeSetActivity.this, _id , intent, 0);&&&&
am.cancel(pi);//取消闹钟
注:被取消的intent必须和原来的一样
已解决问题
未解决问题Android编程使用AlarmManager设置闹钟的方法
作者:Jacob-wj
字体:[ ] 类型:转载 时间:
这篇文章主要介绍了Android编程使用AlarmManager设置闹钟的方法,结合具体实例分析了Android基于AlarmManager实现闹钟功能的设置、取消、显示等相关操作技巧,需要的朋友可以参考下
本文实例讲述了Android编程使用AlarmManager设置闹钟的方法。分享给大家供大家参考,具体如下:
package com.Aina.A
import android.content.BroadcastR
import android.content.C
import android.content.I
import android.widget.T
* com.Aina.Android
* Pro_AlarmManager
* @author Aina.huang E-mail:
* @version 创建时间:2010 Jul 8, :19 PM
public class AlamrReceiver extends BroadcastReceiver {
public void onReceive(Context context, Intent intent) {
// TODO Auto-generated method stub
Toast.makeText(context, "闹钟时间到", Toast.LENGTH_LONG).show();
package com.Aina.A
import java.util.C
import android.app.A
import android.app.AlarmM
import android.app.PendingI
import android.app.TimePickerD
import android.content.I
import android.os.B
import android.view.V
import android.widget.B
import android.widget.TextV
import android.widget.TimeP
public class Test extends Activity {
/** Called when the activity is first created. */
private TextView tv =
private Button btn_set =
private Button btn_cel =
private Calendar c =
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
tv = (TextView) this.findViewById(R.id.TextView);
btn_set = (Button) this.findViewById(R.id.Button01);
btn_cel = (Button) this.findViewById(R.id.Button02);
c = Calendar.getInstance();
btn_set.setOnClickListener(new Button.OnClickListener(){
public void onClick(View v) {
// TODO Auto-generated method stub
c.setTimeInMillis(System.currentTimeMillis());
int hour = c.get(Calendar.HOUR_OF_DAY);
int minute = c.get(Calendar.MINUTE);
new TimePickerDialog(Test.this,new TimePickerDialog.OnTimeSetListener(){
public void onTimeSet(TimePicker view, int hourOfDay,
int minute) {
// TODO Auto-generated method stub
c.setTimeInMillis(System.currentTimeMillis());
c.set(Calendar.HOUR_OF_DAY, hourOfDay);
c.set(Calendar.MINUTE, minute);
c.set(Calendar.SECOND, 0);
c.set(Calendar.MILLISECOND, 0);
Intent intent = new Intent(Test.this,AlamrReceiver.class);
PendingIntent pi = PendingIntent.getBroadcast(Test.this, 0, intent, 0);
AlarmManager am = (AlarmManager) getSystemService(Activity.ALARM_SERVICE);
am.set(AlarmManager.RTC_WAKEUP, c.getTimeInMillis(), pi);//设置闹钟
am.setRepeating(AlarmManager.RTC_WAKEUP, c.getTimeInMillis(), (10*1000), pi);//重复设置
tv.setText("设置的闹钟时间为:"+hourOfDay+":"+minute);
},hour,minute,true).show();
btn_cel.setOnClickListener(new Button.OnClickListener(){
public void onClick(View v) {
// TODO Auto-generated method stub
Intent intent = new Intent(Test.this,AlamrReceiver.class);
PendingIntent pi = PendingIntent.getBroadcast(Test.this, 0, intent, 0);
AlarmManager am = (AlarmManager) getSystemService(Activity.ALARM_SERVICE);
am.cancel(pi);
tv.setText("闹钟取消");
&?xml version="1.0" encoding="utf-8"?&
&LinearLayout xmlns:android="/apk/res/android"
android:orientation="vertical" android:layout_width="fill_parent"
android:layout_height="fill_parent"&
&TextView android:layout_width="fill_parent"
android:id="@+id/TextView"
android:layout_height="wrap_content" android:text="@string/hello" /&
&Button android:text="设置闹钟" android:id="@+id/Button01"
android:layout_width="wrap_content"
android:layout_height="wrap_content"&
&Button android:text="取消闹钟" android:id="@+id/Button02"
android:layout_width="wrap_content"
android:layout_height="wrap_content"&
&/LinearLayout&
AndroidManifest.xml:
&?xml version="1.0" encoding="utf-8"?&
&manifest xmlns:android="/apk/res/android"
package="com.Aina.Android"
android:versionCode="1"
android:versionName="1.0"&
&application android:icon="@drawable/icon" android:label="@string/app_name"&
&activity android:name=".Test"
android:label="@string/app_name"&
&intent-filter&
&action android:name="android.intent.action.MAIN" /&
&category android:name="android.intent.category.LAUNCHER" /&
&/intent-filter&
&/activity&
&receiver android:name=".AlamrReceiver" android:process=":remote"&&/receiver&
&/application&
&/manifest&
PS:关于AndroidManifest.xml文件相关属性功能可参考本站在线工具:
Android Manifest功能与权限描述大全:
更多关于Android相关内容感兴趣的读者可查看本站专题:《》、《》、《》、《》、《》及《》
希望本文所述对大家Android程序设计有所帮助。
您可能感兴趣的文章:
大家感兴趣的内容
12345678910
最近更新的内容
常用在线小工具AlarmManager定时不准,怎么办? - 知乎5被浏览5141分享邀请回答blog.csdn.net/bingshushu/article/details/5添加评论分享收藏感谢收起04 条评论分享收藏感谢收起查看更多回答2011年8月 移动平台大版内专家分月排行榜第二2011年7月 移动平台大版内专家分月排行榜第二2011年3月 移动平台大版内专家分月排行榜第二
2012年8月 移动平台大版内专家分月排行榜第三2012年7月 移动平台大版内专家分月排行榜第三
本帖子已过去太久远了,不再提供回复功能。

我要回帖

更多关于 护眼台灯什么牌子好 的文章

 

随机推荐