You can juse MCJavaStringToStringRef directly:
```
/* UNCHECKED */ MCJavaStringToStringRef(MCJavaGetThreadEnv(), p_calendar_events_found, s_calendar_events_selected);
```
THe idea of the method is that it converts direct from a java string object to an MCStringRef.