\hypertarget{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_add_activity}{}\doxysection{com.\+sudogeeks.\+talking\+\_\+reminder.\+Reminder\+Add\+Activity Class Reference}
\label{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_add_activity}\index{com.sudogeeks.talking\_reminder.ReminderAddActivity@{com.sudogeeks.talking\_reminder.ReminderAddActivity}}


Java class for handling UI component of Add reminder layout.  


Inheritance diagram for com.\+sudogeeks.\+talking\+\_\+reminder.\+Reminder\+Add\+Activity\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_add_activity}
\end{center}
\end{figure}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
void \mbox{\hyperlink{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_add_activity_a0ca057242f7d24c025cd44aaecc2ea08}{set\+Time}} (View v)
\item 
void \mbox{\hyperlink{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_add_activity_a4f631ba246aa14f16247b2a484f11e89}{set\+Date}} (View v)
\item 
\mbox{\Hypertarget{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_add_activity_a2b55bd33ed5a55b6cc48f625425d26bb}\label{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_add_activity_a2b55bd33ed5a55b6cc48f625425d26bb}} 
void {\bfseries select\+Fab1} (View v)
\item 
\mbox{\Hypertarget{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_add_activity_ab5566f82601fbe4c6d552efe4f69de3d}\label{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_add_activity_ab5566f82601fbe4c6d552efe4f69de3d}} 
void {\bfseries select\+Fab2} (View v)
\item 
void \mbox{\hyperlink{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_add_activity_afce1d3c2de014f78b3e3df2aa9d8d75c}{on\+Switch\+Repeat}} (View view)
\item 
void \mbox{\hyperlink{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_add_activity_a6f7a88b875314717678fb4d70d531843}{select\+Repeat\+Type}} (View v)
\item 
void \mbox{\hyperlink{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_add_activity_aafb2e7124b4ba72eaae3b3dacc46ee6c}{set\+Repeat\+No}} (View v)
\item 
\mbox{\Hypertarget{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_add_activity_a6460e3f35c68d0b03c887ffc2123e5a2}\label{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_add_activity_a6460e3f35c68d0b03c887ffc2123e5a2}} 
boolean {\bfseries is\+External\+Storage\+Writable} ()
\item 
void \mbox{\hyperlink{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_add_activity_ad626a4479c80a4ccb84173b0ece06456}{save\+Reminder\+To\+Temp\+Storage}} (String filename)
\item 
void \mbox{\hyperlink{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_add_activity_afca8aca39e61f0b67d9c3612ea27ed15}{save\+Reminder}} ()
\item 
void \mbox{\hyperlink{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_add_activity_a34ee5fd0dec3b8fd9145fa0ad2e15382}{on\+Back\+Pressed}} ()
\item 
boolean \mbox{\hyperlink{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_add_activity_aa5c4616e25cff01fb8f16b83e94f78d8}{on\+Create\+Options\+Menu}} (Menu menu)
\item 
boolean \mbox{\hyperlink{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_add_activity_af5e6ecf24301c26234e776c444716a77}{on\+Options\+Item\+Selected}} (Menu\+Item item)
\end{DoxyCompactItemize}
\doxysubsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
void \mbox{\hyperlink{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_add_activity_af8f5dead4031060c4883fc1e32cb602d}{on\+Create}} (Bundle saved\+Instance\+State)
\item 
\mbox{\Hypertarget{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_add_activity_a4ce3b7c74b877c7b6b789e04c5ecb333}\label{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_add_activity_a4ce3b7c74b877c7b6b789e04c5ecb333}} 
void {\bfseries on\+Save\+Instance\+State} (Bundle out\+State)
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Java class for handling UI component of Add reminder layout. 



Definition at line 48 of file Reminder\+Add\+Activity.\+java.



\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_add_activity_a34ee5fd0dec3b8fd9145fa0ad2e15382}\label{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_add_activity_a34ee5fd0dec3b8fd9145fa0ad2e15382}} 
\index{com.sudogeeks.talking\_reminder.ReminderAddActivity@{com.sudogeeks.talking\_reminder.ReminderAddActivity}!onBackPressed@{onBackPressed}}
\index{onBackPressed@{onBackPressed}!com.sudogeeks.talking\_reminder.ReminderAddActivity@{com.sudogeeks.talking\_reminder.ReminderAddActivity}}
\doxysubsubsection{\texorpdfstring{onBackPressed()}{onBackPressed()}}
{\footnotesize\ttfamily void com.\+sudogeeks.\+talking\+\_\+reminder.\+Reminder\+Add\+Activity.\+on\+Back\+Pressed (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

On pressing the back button 

Definition at line 470 of file Reminder\+Add\+Activity.\+java.

\mbox{\Hypertarget{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_add_activity_af8f5dead4031060c4883fc1e32cb602d}\label{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_add_activity_af8f5dead4031060c4883fc1e32cb602d}} 
\index{com.sudogeeks.talking\_reminder.ReminderAddActivity@{com.sudogeeks.talking\_reminder.ReminderAddActivity}!onCreate@{onCreate}}
\index{onCreate@{onCreate}!com.sudogeeks.talking\_reminder.ReminderAddActivity@{com.sudogeeks.talking\_reminder.ReminderAddActivity}}
\doxysubsubsection{\texorpdfstring{onCreate()}{onCreate()}}
{\footnotesize\ttfamily void com.\+sudogeeks.\+talking\+\_\+reminder.\+Reminder\+Add\+Activity.\+on\+Create (\begin{DoxyParamCaption}\item[{Bundle}]{saved\+Instance\+State }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [protected]}}

overrides on\+Create method to get all the ui element 
\begin{DoxyParams}{Parameters}
{\em saved\+Instance\+State} & \\
\hline
\end{DoxyParams}


Definition at line 90 of file Reminder\+Add\+Activity.\+java.

\mbox{\Hypertarget{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_add_activity_aa5c4616e25cff01fb8f16b83e94f78d8}\label{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_add_activity_aa5c4616e25cff01fb8f16b83e94f78d8}} 
\index{com.sudogeeks.talking\_reminder.ReminderAddActivity@{com.sudogeeks.talking\_reminder.ReminderAddActivity}!onCreateOptionsMenu@{onCreateOptionsMenu}}
\index{onCreateOptionsMenu@{onCreateOptionsMenu}!com.sudogeeks.talking\_reminder.ReminderAddActivity@{com.sudogeeks.talking\_reminder.ReminderAddActivity}}
\doxysubsubsection{\texorpdfstring{onCreateOptionsMenu()}{onCreateOptionsMenu()}}
{\footnotesize\ttfamily boolean com.\+sudogeeks.\+talking\+\_\+reminder.\+Reminder\+Add\+Activity.\+on\+Create\+Options\+Menu (\begin{DoxyParamCaption}\item[{Menu}]{menu }\end{DoxyParamCaption})}

Creating the menu 
\begin{DoxyParams}{Parameters}
{\em menu} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
true 
\end{DoxyReturn}


Definition at line 481 of file Reminder\+Add\+Activity.\+java.

\mbox{\Hypertarget{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_add_activity_af5e6ecf24301c26234e776c444716a77}\label{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_add_activity_af5e6ecf24301c26234e776c444716a77}} 
\index{com.sudogeeks.talking\_reminder.ReminderAddActivity@{com.sudogeeks.talking\_reminder.ReminderAddActivity}!onOptionsItemSelected@{onOptionsItemSelected}}
\index{onOptionsItemSelected@{onOptionsItemSelected}!com.sudogeeks.talking\_reminder.ReminderAddActivity@{com.sudogeeks.talking\_reminder.ReminderAddActivity}}
\doxysubsubsection{\texorpdfstring{onOptionsItemSelected()}{onOptionsItemSelected()}}
{\footnotesize\ttfamily boolean com.\+sudogeeks.\+talking\+\_\+reminder.\+Reminder\+Add\+Activity.\+on\+Options\+Item\+Selected (\begin{DoxyParamCaption}\item[{Menu\+Item}]{item }\end{DoxyParamCaption})}

On clicking menu buttons \+:Save reminder (to save reminder), send reminder(to send reminder), discard reminder(to discard reminder) 
\begin{DoxyParams}{Parameters}
{\em item} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}

\end{DoxyReturn}


Definition at line 493 of file Reminder\+Add\+Activity.\+java.

\mbox{\Hypertarget{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_add_activity_afce1d3c2de014f78b3e3df2aa9d8d75c}\label{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_add_activity_afce1d3c2de014f78b3e3df2aa9d8d75c}} 
\index{com.sudogeeks.talking\_reminder.ReminderAddActivity@{com.sudogeeks.talking\_reminder.ReminderAddActivity}!onSwitchRepeat@{onSwitchRepeat}}
\index{onSwitchRepeat@{onSwitchRepeat}!com.sudogeeks.talking\_reminder.ReminderAddActivity@{com.sudogeeks.talking\_reminder.ReminderAddActivity}}
\doxysubsubsection{\texorpdfstring{onSwitchRepeat()}{onSwitchRepeat()}}
{\footnotesize\ttfamily void com.\+sudogeeks.\+talking\+\_\+reminder.\+Reminder\+Add\+Activity.\+on\+Switch\+Repeat (\begin{DoxyParamCaption}\item[{View}]{view }\end{DoxyParamCaption})}

On clicking the repeat switch, to select for repeat alarm 
\begin{DoxyParams}{Parameters}
{\em view} & \\
\hline
\end{DoxyParams}


Definition at line 284 of file Reminder\+Add\+Activity.\+java.

\mbox{\Hypertarget{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_add_activity_afca8aca39e61f0b67d9c3612ea27ed15}\label{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_add_activity_afca8aca39e61f0b67d9c3612ea27ed15}} 
\index{com.sudogeeks.talking\_reminder.ReminderAddActivity@{com.sudogeeks.talking\_reminder.ReminderAddActivity}!saveReminder@{saveReminder}}
\index{saveReminder@{saveReminder}!com.sudogeeks.talking\_reminder.ReminderAddActivity@{com.sudogeeks.talking\_reminder.ReminderAddActivity}}
\doxysubsubsection{\texorpdfstring{saveReminder()}{saveReminder()}}
{\footnotesize\ttfamily void com.\+sudogeeks.\+talking\+\_\+reminder.\+Reminder\+Add\+Activity.\+save\+Reminder (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

This method saves the reminder to database and also invokes set\+Alarm and set\+Repeat\+Alarm 

Definition at line 414 of file Reminder\+Add\+Activity.\+java.

\mbox{\Hypertarget{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_add_activity_ad626a4479c80a4ccb84173b0ece06456}\label{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_add_activity_ad626a4479c80a4ccb84173b0ece06456}} 
\index{com.sudogeeks.talking\_reminder.ReminderAddActivity@{com.sudogeeks.talking\_reminder.ReminderAddActivity}!saveReminderToTempStorage@{saveReminderToTempStorage}}
\index{saveReminderToTempStorage@{saveReminderToTempStorage}!com.sudogeeks.talking\_reminder.ReminderAddActivity@{com.sudogeeks.talking\_reminder.ReminderAddActivity}}
\doxysubsubsection{\texorpdfstring{saveReminderToTempStorage()}{saveReminderToTempStorage()}}
{\footnotesize\ttfamily void com.\+sudogeeks.\+talking\+\_\+reminder.\+Reminder\+Add\+Activity.\+save\+Reminder\+To\+Temp\+Storage (\begin{DoxyParamCaption}\item[{String}]{filename }\end{DoxyParamCaption})}

To save reminder data object parsed into json 
\begin{DoxyParams}{Parameters}
{\em filename} & \\
\hline
\end{DoxyParams}


Definition at line 370 of file Reminder\+Add\+Activity.\+java.

\mbox{\Hypertarget{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_add_activity_a6f7a88b875314717678fb4d70d531843}\label{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_add_activity_a6f7a88b875314717678fb4d70d531843}} 
\index{com.sudogeeks.talking\_reminder.ReminderAddActivity@{com.sudogeeks.talking\_reminder.ReminderAddActivity}!selectRepeatType@{selectRepeatType}}
\index{selectRepeatType@{selectRepeatType}!com.sudogeeks.talking\_reminder.ReminderAddActivity@{com.sudogeeks.talking\_reminder.ReminderAddActivity}}
\doxysubsubsection{\texorpdfstring{selectRepeatType()}{selectRepeatType()}}
{\footnotesize\ttfamily void com.\+sudogeeks.\+talking\+\_\+reminder.\+Reminder\+Add\+Activity.\+select\+Repeat\+Type (\begin{DoxyParamCaption}\item[{View}]{v }\end{DoxyParamCaption})}

On clicking repeat type button, to select for repeat type like every minute, hour, day,month 
\begin{DoxyParams}{Parameters}
{\em v} & \\
\hline
\end{DoxyParams}


Definition at line 299 of file Reminder\+Add\+Activity.\+java.

\mbox{\Hypertarget{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_add_activity_a4f631ba246aa14f16247b2a484f11e89}\label{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_add_activity_a4f631ba246aa14f16247b2a484f11e89}} 
\index{com.sudogeeks.talking\_reminder.ReminderAddActivity@{com.sudogeeks.talking\_reminder.ReminderAddActivity}!setDate@{setDate}}
\index{setDate@{setDate}!com.sudogeeks.talking\_reminder.ReminderAddActivity@{com.sudogeeks.talking\_reminder.ReminderAddActivity}}
\doxysubsubsection{\texorpdfstring{setDate()}{setDate()}}
{\footnotesize\ttfamily void com.\+sudogeeks.\+talking\+\_\+reminder.\+Reminder\+Add\+Activity.\+set\+Date (\begin{DoxyParamCaption}\item[{View}]{v }\end{DoxyParamCaption})}

On clicking Date picker,to show date dialog for user to select date 
\begin{DoxyParams}{Parameters}
{\em v} & \\
\hline
\end{DoxyParams}


Definition at line 238 of file Reminder\+Add\+Activity.\+java.

\mbox{\Hypertarget{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_add_activity_aafb2e7124b4ba72eaae3b3dacc46ee6c}\label{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_add_activity_aafb2e7124b4ba72eaae3b3dacc46ee6c}} 
\index{com.sudogeeks.talking\_reminder.ReminderAddActivity@{com.sudogeeks.talking\_reminder.ReminderAddActivity}!setRepeatNo@{setRepeatNo}}
\index{setRepeatNo@{setRepeatNo}!com.sudogeeks.talking\_reminder.ReminderAddActivity@{com.sudogeeks.talking\_reminder.ReminderAddActivity}}
\doxysubsubsection{\texorpdfstring{setRepeatNo()}{setRepeatNo()}}
{\footnotesize\ttfamily void com.\+sudogeeks.\+talking\+\_\+reminder.\+Reminder\+Add\+Activity.\+set\+Repeat\+No (\begin{DoxyParamCaption}\item[{View}]{v }\end{DoxyParamCaption})}

On clicking set repeat interval 
\begin{DoxyParams}{Parameters}
{\em v} & \\
\hline
\end{DoxyParams}


Definition at line 329 of file Reminder\+Add\+Activity.\+java.

\mbox{\Hypertarget{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_add_activity_a0ca057242f7d24c025cd44aaecc2ea08}\label{classcom_1_1sudogeeks_1_1talking__reminder_1_1_reminder_add_activity_a0ca057242f7d24c025cd44aaecc2ea08}} 
\index{com.sudogeeks.talking\_reminder.ReminderAddActivity@{com.sudogeeks.talking\_reminder.ReminderAddActivity}!setTime@{setTime}}
\index{setTime@{setTime}!com.sudogeeks.talking\_reminder.ReminderAddActivity@{com.sudogeeks.talking\_reminder.ReminderAddActivity}}
\doxysubsubsection{\texorpdfstring{setTime()}{setTime()}}
{\footnotesize\ttfamily void com.\+sudogeeks.\+talking\+\_\+reminder.\+Reminder\+Add\+Activity.\+set\+Time (\begin{DoxyParamCaption}\item[{View}]{v }\end{DoxyParamCaption})}

On clicking Time picker , to show time dialog for user to select time 
\begin{DoxyParams}{Parameters}
{\em v} & \\
\hline
\end{DoxyParams}


Definition at line 211 of file Reminder\+Add\+Activity.\+java.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
C\+:/\+Users/\+Raushan Raj/\+Studio\+Projects/\+Talking\+Reminder2/\+Talking\+Reminder/app/src/main/java/com/sudogeeks/talking\+\_\+reminder/Reminder\+Add\+Activity.\+java\end{DoxyCompactItemize}
