I'm calling a JavaScript function from my application's WebView. This function returns (if i call it from firebug) for example:
Object {top: 350.171875, left: 129.265625, w: 311, h: 115}
What i want is to get the values of top, left, w and h from my Android application. But when I try to get the values through WebChromeClient onJsAlert() method the value of message parameter is [object Object]. Is there a way to extract the required values of top, left, w, h from [object Object]? i can't find a way to parse [object Object].