Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

android aktiviranje alarma

[es] :: Java :: android aktiviranje alarma

[ Pregleda: 1571 | Odgovora: 0 ] > FB > Twit

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

anebojsa
Bgd

Član broj: 16174
Poruke: 94
*.dynamic.isp.telekom.rs.



Profil

icon android aktiviranje alarma17.01.2012. u 10:53 - pre 149 meseci
android
u uspeo sam da aktiviram vibraciju na telefonu, ali mi je potrebno da aktiviram i alarm

AlarmController.java

http://developer.android.com/r.../apis/app/AlarmController.html

napravio sam:
OneShotAlarm.java
RepeatingAlarm.java
AlarmController.java

nisam napravio
alarm_controller.xml


ovaj deo mi nije jasan
jel moram kreirati neki xml pod nekim imenom tipa (alarm_controller.xml) gde ga smestiti
sta da stoji u tom xml fajlu
cemu sluzi

/**
* Example of scheduling one-shot and repeating alarms. See
* {@link OneShotAlarm} for the code run when the one-shot alarm goes off, and
* {@link RepeatingAlarm} for the code run when the repeating alarm goes off.
* <h4>Demo</h4>
App/Service/Alarm Controller

<h4>Source files</h4>
<table class="LinkTable">
<tr>
<td class="LinkColumn">src/com.example.android.apis/app/AlarmController.java</td>
<td class="DescrColumn">The activity that lets you schedule alarms</td>
</tr>
<tr>
<td class="LinkColumn">src/com.example.android.apis/app/OneShotAlarm.java</td>
<td class="DescrColumn">This is an intent receiver that executes when the
one-shot alarm goes off</td>
</tr>
<tr>
<td class="LinkColumn">src/com.example.android.apis/app/RepeatingAlarm.java</td>
<td class="DescrColumn">This is an intent receiver that executes when the
repeating alarm goes off</td>
</tr>
<tr>
<td class="LinkColumn">/res/any/layout/alarm_controller.xml</td>
<td class="DescrColumn">Defines contents of the screen</td>
</tr>
</table>

*/
 
Odgovor na temu

[es] :: Java :: android aktiviranje alarma

[ Pregleda: 1571 | Odgovora: 0 ] > FB > Twit

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.