

Using Intent approach can reduce the risk on handling calendar operations since trustable UI and UX are provided by system

COUNTĬOUNT defines the number of occurrence of the frequency.

It accepts a value in date format of yyyyMMdd'T'HHmmss'Z', e.g. FREQ (Frequency)įrequency defines how often the pattern is repeated. Here are the four common rules which could be able to handle most cases - FREQ, UNTIL, COUNT and BYDAY. There are lots of global standard recurrence rules. The rule is written in the format of and concatenated with others with semicolon. For example, FREQ=WEEKLY BYDAY=MO COUNT=3 represents a pattern repeating 3 times on every Monday weekly, i.e. You can start any component through intent only need to know either action or target component (pkg,cls) name.Ĭonsider I developed two apps app1 & app2 app1 pkg name is 1 & app2 pkg name is 2.Īpp1 having two activities App1MainActivity & App1XyzActivity, app2 has only one activity App2MainActivity now I want to start both the activity of app1 from app2 App2MainActivityĪpp2 App2MainActivity have two buttons b1 & b2 on click b1 I want to start App1MainActivity & on click b2 I want to start App1XyzActivity then the code for button b1 and b2 within App2MainActivity is b1.setOnClickListener(new View.Recurrence rule defines the repeating pattern for recurring events.
