Source/CSBackend/Platform/Android/Main/Java/com/chilliworks/chillisource/core/LocalNotificationNativeInterface.java
/**
	 * method accessible from native for allowing System notifications to 
	 * be scheduled for specified time. This should only be called on the Main thread.
	 * 
	 * @author Steven Hendrie
	 * 
	 * @param notification ID
	 * @param string array of keys for params (used to create param map)
	 * @param string array of values for params (used to create param map) 
	 * @param the trigger time in milliseconds
	 * @param The priority.
	 */
method accessible from native for allowing System notifications to
be scheduled for specified time. This should only be called on the Main thread.

@author Steven Hendrie


method accessible from native for allowing System notifications to be scheduled for specified time . This should only be called on the Main thread . @author Steven Hendrie
public void scheduleNotificationForTime(int in_notificationId, String[] in_keys, String[] in_values, long in_time, int in_priority)
	{
		freeOutOfDateIntentIDs();		
		int intentId = getNextIntentID();
		Map<String, String> params = new HashMap<String, String>();
		for(int paramIndex = 0; paramIndex < in_keys.length; ++paramIndex)
		{
			params.put(in_keys[paramIndex], in_values[paramIndex]);
		}
		LocalNotification notification = new LocalNotification(intentId, in_notificationId, in_priority, in_time, params);
		m_notificationStore.add(notification);
		PendingIntent pendingIntent = PendingIntent.getBroadcast(CSApplication.get().getActivityContext(), intentId , notification.toIntent(), PendingIntent.FLAG_UPDATE_CURRENT);
		m_alarmManager.set(AlarmManager.RTC_WAKEUP, in_time, pendingIntent);
	}
public void scheduleNotificationForTime ( int in_notificationId , String [ ] in_keys , String [ ] in_values , long in_time , int in_priority ) { freeOutOfDateIntentIDs ( ) ; int intentId = getNextIntentID ( ) ; Map < String , String > params = new HashMap < String , String > ( ) ; for ( int paramIndex = 0 ; paramIndex < in_keys . length ; ++ paramIndex ) { params . put ( in_keys [ paramIndex ] , in_values [ paramIndex ] ) ; } LocalNotification notification = new LocalNotification ( intentId , in_notificationId , in_priority , in_time , params ) ; m_notificationStore . add ( notification ) ; PendingIntent pendingIntent = PendingIntent . getBroadcast ( CSApplication . get ( ) . getActivityContext ( ) , intentId , notification . toIntent ( ) , PendingIntent . FLAG_UPDATE_CURRENT ) ; m_alarmManager . set ( AlarmManager . RTC_WAKEUP , in_time , pendingIntent ) ; }
method accessible from native for allowing System notifications to
 be scheduled for specified time.
method accessible from native for allowing System notifications to be scheduled for specified time .