Hi I'm Frogatto Hi I'm Frogatto - 3 months ago 27
Android Question

RRULE to human readable text

I want to generate a human readable text (natural language) from a RRULE string (RFC2445). I have googled for it, what I have found is only a JavaScript library (rrule.js) which can generate such a text. But I need this functionality in Android (Java).

Is there a library wrriten in Java like this ? If not, I heared about a couple of JavaScript engines in Java (Rhino for example) But I'm very worry about my Android app performace because It seems this engines is a bit heavy weight.

Answer

Use a WebView and rrule.js inside to get the result. See this answer: How to call javascript from Android?

Comments