current url in the embedded browser

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
BenHur
Posts: 28
Joined: Sat Oct 20, 2007 5:26 pm

current url in the embedded browser

Post by BenHur »

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
User avatar
Torch
Posts: 825
Joined: Wed May 28, 2008 2:50 am

Post by Torch »

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.
BenHur
Posts: 28
Joined: Sat Oct 20, 2007 5:26 pm

Post by BenHur »

Good idea, I'll look into hooking the sceIoOpen function.

Thanks Torch!
sauron_le_noir
Posts: 203
Joined: Sat Jul 05, 2008 8:03 am

Post by sauron_le_noir »

remove this
Last edited by sauron_le_noir on Fri Dec 18, 2009 6:09 am, edited 1 time in total.
sauron_le_noir
Posts: 203
Joined: Sat Jul 05, 2008 8:03 am

Post by sauron_le_noir »

remove this
Post Reply