help about android's alarm manager
<p>Hello I have a question about android's alarm manager, I would like to schedule an alarm that would execute using an initial interval and be able to change by the user. my code is :</p>

<pre><code> long firstTime = SystemClock.elapsedRealtime();
 mAlarmSender = PendingIntent.getService(mContext, 0, new Intent(mContext,AlarmService_Service.class), 0);
this.setInterval(Integer.parseInt(Interval));
configShared.edit().putInt("interval", this.getInterval()).commit();
// Schedule the alarm!
AlarmManager am = (AlarmManager)getSystemService(ALARM_SERVICE);
am.setRepeating(AlarmManager.ELAPSED_REALTIME_WAKEUP, firstTime,this.getInterval(), mAlarmSender); 
</code></pre>

<p>the this.getInterval() is a method to hold the interval and is used to check if user has changed the interval.</p>

<p>Reading the documentation I found under the parameters of alarmManagers setRepeating method that says: </p>

<p>triggerAtTime   Time the alarm should first go off, using the appropriate clock (depending on the alarm type)</p>

<p>What excactly is this? Is the alarm canceled when I change the interval? also there's a problem cause I like this code to be executed every 5 minutes and this will execute every 5 minutes+firstinterval correct?</p>

<p>thanks in advanced maxsap</p>
