-5

I have a JSON object containing date and time information, I want to retrieve the date and set reminders based on the date/time.

{"Data":[{Remindercurdate=2017-06-22 09:48:25, Reminder=dtyhnnfg}]}
Ray J
  • 44
  • 3
  • 9
Ramesh Yogu
  • 49
  • 1
  • 11
  • `retrieve the date` and `set reminders` are 2 different tasks. Which one is a problem for you? You shouldn't ask multiple questions in one question. – Vladyslav Matviienko Jun 22 '17 at 06:19

1 Answers1

0

I'm not giving the whole solution code, but here you can find the more information about parsing the json object in android and after retrieving the data from the json file you can use AlarmManager to set the reminder based on time. Then use the Broadcast Receiver that gets the alarm do whatever you want (vibrate, send a notification, etc). Here is working the example.

Ray J
  • 44
  • 3
  • 9