I have 2 problem with android java

Project Budget

$20 - $22 USD

Completed In

1 day

Total Bids

11

Project Description

Hello Friends

I have 2 problem in my android code.

1- I have a function and there is webview inside this function. When I call this function , it does some action inside webview. When all process is finished. I call a javascript command to run inside android application. When i call javascript command. i set a variable for webview is finished. I want application must wait until webview operation is finished. it is about multi-threading. I want all threads wait until webview operation is finished.

2- I run javascript command inside webview. sometimes javascript or webview gives error then I got this error "application has stopped" . I got some error about RAM. I think it is about, not free space to allocate data. I want to avoid from it.