Hello everybody,
I want to extend CoronaWebView java class with following logic :
- Catch Url
- If url has like ‘http://solar2dserver’ than
2.1 skip default web url loading
2.2 fire event to Lua runtime with full url ( example http://solar2dserver/save?score=55&level=3&user_id=560 )
How this extension can be done?
I found two ways according to docs :
- Self-hosted Java-Solar2d plugin
- Build Solar2d from source code
Would appreciate any help or java plugin extending webview example