ok, browsing the questions I've found the right way to load an external page into the phonegap view (i.e. without loosing the session or opening the device browser) as explained here: How can I load a webpage inside the phonegap webview? and here: PhoneGap for iPhone: problem loading external URL
Next step is: after i've opened an extarnal page (it's owned by me and I can modify it) how can i go back to my local application? Let's say I have a link in the external page and I want the user to be redirected back to a local html page (mypage.html) inside the phonegap application on click.
What url should the link's href attribute have? I've tried setting it to "file:///android_asset/www/mypage.html" but didn't work