Using Java objects in javascript.
So, I'm really trying to build a task that pulls information about the cell networks I'm connected to, on a dual sim standby setup.
I can use Java to do stuff like get the TelephonyManager object, and call getAllCellInfo(), that gives me a list of java cell info objects.
But I'd like to do the rest of my logic in Javascript.
And I can't for the life of me figure out how to convert an arbitrary list of Java objects into JSON.
Any suggestions?
1 comments · 50% upvoted · other discussions
Convert java list to tasker variable array first.