Popular posts from this blog
Documentation of project has been fabricated
Profile:- Name(can update his/her name), email, mobile, Password(it will navigate to new activity where user will change password) Basic info Medications Health Chart(It will contain all the health related problems of user& a clear button to clear the list) Medication:- As soon as the user select his/her disease the medication prior to it will be saved in this section. It will further contain options like:- Remind me to take dosage through out the day(In the form of a check box & Push notification)(Table in DB) Recommended by doctor(user can type in the medication recommended by doctor as a record and in order to get regular reminders on daily intake)(Table in DB) Home page:- It will contain tiles in the form of a GRID VIEW. The grid view will hold an on click animation Table in DB It will navigate user to further related problems or diseases! After clicking on a particular option there would pop up a di...
Alert Dialog Boxes
Sometimes the application you are creating, want to ask the user about taking a decision between yes or no in response of any particular action taken by the user, by remaining in the same activity and without changing the screen, you can use Alert Dialog. In order to make an alert dialog, you need to make an object of AlertDialogBuilder class which an inner class of AlertDialog. The syntax to be followed is given below. AlertDialog.Builder alertDialogBuilder = new AlertDialog.Builder(this); Now to set the positive, negative and neutral buttons using the object of the AlertDialogBuilder class. Its syntax is alertDialogBuilder.setPositiveButton( CharSequence text , DialogInterface . OnClickListener listener ); alertDialogBuilder.setNegativeButton( CharSequence text , DialogInterface . OnClickListener listener ); alertDialogBuilder.setNeutralButton( CharSequence text , DialogInterface . OnClickListener ...




Comments
Post a Comment