语言

Menu
Sites
Language
How to get the url in broswer in APP control

Hi, 

My scenario is like this:

1. I have create an APP and in my app will call the system broswer with my url1;

2. Do some operation on broswer, then jump to another web page--url2;

3. how can I get the url2?

Any suggestion is welcome.

 

响应

2 回复
colin Rao

as other platform implementation, you can embed an webview widget into your native app window, such webview api can let you to get the current url, or get the html content.

suggest to investigate the webview api in help doc.

Alex Dem

Hi,
I suppose you shoud use WebView for this case. Also, please add evas_object_smart_callback_add() with signals 'url,changed' to control url change.
Alexey.