Calling String from JSON and put it into CalendarView

  • Thread starter Thread starter AC Question
  • Start date Start date
A

AC Question

Hello I having a problem to get my String into a CalendarView.

I have a String which is getting Data external from a MYSQL database into a TextView which shows me then the result.

Is it possible to show this Data string into a CalendarView? Or should I create Events...

In example getting string from SHIFT:

I need to put this SHIFT data into a CalendarView but every SHIFT is in a another day.

try {
JSONArray jArray = new JSONArray(result);
for (int i = 0; i < jArray.length(); i++){
JSONObject json = jArray.getJSONObject(i);

Data = Data + "" + json.getString("schift");
 

Trending Posts

Forum statistics

Threads
956,822
Messages
6,970,170
Members
3,163,631
Latest member
samsung-12