| View previous topic :: View next topic |
| Author |
Message |
BenHur
Joined: 20 Oct 2007 Posts: 30
|
Posted: Thu Dec 17, 2009 8:54 am Post subject: current url in the embedded browser |
|
|
Hi,
I'm launching the embedded browser from homebrew (sceUtilityHtmlViewer*) displaying a local file. I'd like to detect when the user clicks on a link and retrieve the new url. Is there a field where the current url is stored? Can anybody point me in the right direction?
Or: how would you go about building a web server which generates web sites on the fly to be displayed by the embedded browser.
Thanks a lot for any help,
BenHur |
|
| Back to top |
|
 |
Torch

Joined: 28 May 2008 Posts: 842
|
Posted: Thu Dec 17, 2009 2:57 pm Post subject: |
|
|
| You'll probably have to reverse the htmlviewer modules and hook something. If the files are all local you might be able to get away with hooking the sceIoOpen syscall. As for the web server, it should be possible if the PSP supports loopback. Just start the server along side the htmlviewer and hopefully thee browser works with less RAM. |
|
| Back to top |
|
 |
BenHur
Joined: 20 Oct 2007 Posts: 30
|
Posted: Thu Dec 17, 2009 10:51 pm Post subject: |
|
|
Good idea, I'll look into hooking the sceIoOpen function.
Thanks Torch! |
|
| Back to top |
|
 |
sauron_le_noir
Joined: 05 Jul 2008 Posts: 229
|
Posted: Fri Dec 18, 2009 6:06 am Post subject: |
|
|
remove this
Last edited by sauron_le_noir on Fri Dec 18, 2009 6:09 am; edited 1 time in total |
|
| Back to top |
|
 |
sauron_le_noir
Joined: 05 Jul 2008 Posts: 229
|
Posted: Fri Dec 18, 2009 6:08 am Post subject: |
|
|
| remove this |
|
| Back to top |
|
 |
|