forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

current url in the embedded browser

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
BenHur



Joined: 20 Oct 2007
Posts: 30

PostPosted: Thu Dec 17, 2009 8:54 am    Post subject: current url in the embedded browser Reply with quote

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
View user's profile Send private message
Torch



Joined: 28 May 2008
Posts: 842

PostPosted: Thu Dec 17, 2009 2:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
BenHur



Joined: 20 Oct 2007
Posts: 30

PostPosted: Thu Dec 17, 2009 10:51 pm    Post subject: Reply with quote

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

Thanks Torch!
Back to top
View user's profile Send private message
sauron_le_noir



Joined: 05 Jul 2008
Posts: 229

PostPosted: Fri Dec 18, 2009 6:06 am    Post subject: Reply with quote

remove this

Last edited by sauron_le_noir on Fri Dec 18, 2009 6:09 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail MSN Messenger
sauron_le_noir



Joined: 05 Jul 2008
Posts: 229

PostPosted: Fri Dec 18, 2009 6:08 am    Post subject: Reply with quote

remove this
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group