开发者

Is there a way to plug into the IE browser on WP7?

开发者 https://www.devze.com 2023-03-01 08:32 出处:网络
I want the use开发者_开发百科r to be able to hover a link, select my app and IE will open my app and pass the url. Is there something like this in IE for WP7? If not, can I embed IE in my app and have

I want the use开发者_开发百科r to be able to hover a link, select my app and IE will open my app and pass the url. Is there something like this in IE for WP7? If not, can I embed IE in my app and have a popup show when I hover on a url?


You are not able to add plugins or extensions to the native browser, but you are able to embed the WebBrowser control into your application. You could then potentially use the InvokeScript method to add whatever css/javascript popup you want.


Yes you can embed a browser inside your application. Here's an example application that shows how to create your own web browser directly inside of a WP7 app:

How To Create Your First Silverlight Application - WebBrowser Control

This is also another interesting link on creating an entire website withing your application and storing it in isolated storage:

Loading a Local HTML FIle

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号