ここではアラームを設定する方法を確認していきます。 アラームを設定するためには「 AlarmClock.ACTION_SET_ALARM 」でアクションを指定したインテントを発行する必要があります。サンプルでは、TimePickerで入力した時刻と、EditTextで入力したメッセージをインテントへ指定し、アラームの起動時刻と表示メッセージを設定します。 また、アラームを設定するためには「 AndroidManifest.xml 」で <uses-permission android:name="com.android.alarm.permission.SET_ALARM"/> とパーミッションを設定する必要があるので気を付けてください。 AlarmActivity.java package goodroid.sample.alarm; import android.app.Activi
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く