Hey, I tried this code in my app.In this app multiple alarms were set with different repeating time intervals. I used calendar object to add month and year accordingly and again set it for next alarm.i used code like this(for scheduling it for next month)- PendingIntentsender=PendingIntent.getBroadcast(context,Integer.parseInt(Long.toString(id)), intent1, 0); Calendar calendar = Calendar.getInstance(); calendar.setTimeInMillis(calendar.getTimeInMillis()); calendar.add(Calendar.SECOND, 30); AlarmManager am = (AlarmManager)context.getSystemService(Context.ALARM_SERVICE); calendar.add(Calendar.MONTH, 1); am.set(AlarmManager.RTC_WAKEUP, calendar.getTimeInMillis(), sender); Hope this works!
Android application development