Windows phone 8 Webbrowser links are not clickable - windows-phone-8

I'm learning windows phone app development. I took yahoo mail site as sample and using it in the web browser control. I want to understand what settings I need to unable in web browser control to look the web page in web browser control as same as how that shows in Internet explorer on Windows phone. Here the screen shots what I see now
In the windows phone browser it looks like below -
Thing I'm missing here in my app is, I cannot see the 'Search mail' text in the search text box in my app.
The most IMPORTANT thing is that when I click the mail item in the app nothing happens. But in Internet explorer it actually opens the mail body.
Please guide me.

That probably caused by some functionality of the web page implemented using javascript. Therefore, try to set IsScriptEnabled property to true :
<WebBrowser IsScriptEnabled="True" .../>
That will enable javascript in the webbrowser control which is disabled by default.

Related

Open link in mobile browser(safari) instead of Facebook native browser (html base)

Im developing a web with facebook share link function. I notice facebook mobile apps will open shared link in its own browser, instead of mobile broswer (IE. safari, chrome and so on). Is there any control on this able us to force facebook open the link in mobile browser?
No. The only reliable workaround is if you use the web app with an iOS app, and all users install that iOS app, you can send users to your iOS app to accomplish that task which isn't a great workaround.
An easier but still not optimal solution would be to detect the Facebook browser in the user-agent string, and display a message to prompt users to visit the URL in the mobile browser.

prevent showing app screenshot in application navigation in WP8

for a security critial app I need to prevent the phone making screenshots of the embedded browser control.
On Windows Phone, if you hold the back button pressed, the opened applications are shown with small preview images.
Is there any way to replace that image being used there by an own image. Or is it possible to exclude controls using a xaml syntax from beeing captured?
Thanks Holger
Windows Phone 8 GDR 3 introduced a hidden property on the page object that you can use to prevent screenshots from being taken of that page. Here is more detail

UIWebView email hyperlink is not working on device

I am displaying a HTML page in my iPhone app. The HTML page has few Email addresses. In Mac desktop browser, if the same HTML page is opened and if i click on email address, MAC machines mailbox is opened to compose a new email. Whereas in iPhone, on clicking the email address it is trying to load the webView thinking it as a link.
How come it is working on MAC browser and not in iPhone app.
Source in HTML is :
customerinfo#mycompany.com
If i try to handle using MFMailControlViewController, it works. But my real question is, how come MAC desktop launching mail box and iPhone doesn't.
Thanks
Jithen
Go to interface builder to Web View settings. You need to enable Addresses and Links detection.
or
in the code:
webView.dataDetectorTypes = UIDataDetectorTypeAll;

Not able to copy text,XPath or other attribute from the chrome developer tool

I followed the approach mentioned in how to emulate a mobile (android) browser on desktop
to project the mobile webpage's properties on desktop chrome browser. I was successfully able to do that but now I have some queries as mentioned below, please let me know your inputs on that
a) How to use the "Select element option" of chrome developer toolbar to view an element's property for a mobile webpage. In normal desktop chrome browser we have the web page displayed and below that the developer toolbar is displayed and we can easily spot the element using a pointer but with mobile webpage displayed on desktop chrome browser i am not able to use this option as the webpage is not displayed.
b) I tried to copy the xpath and other things from the displayed HTML (HTML of mobile webpage on desktop chrome browser) but it gave me an error that "You need to install a Chrome extension that grants clipboard access to Developer tools". I installed one such extension named: "Auto Copy" but then also I was not able to copy. Please let me know how to go about it.
Thanks a lot in advance,
Namit
For (B) – Judging from the discussion when that message was introduced, it sounds like you need to roll your own simple custom extension to enable clipboard access. Here's a sample manifest.json – I haven't tested it out myself, but it looks pretty straightforward. The extension development Getting Started guide explains how to turn a file like this into a working extension and install it locally.

Input type Color on Chrome Packaged App

I would like to know how to use input[type=color] on Chrome Packaged App. When I open the HTML file on the browser, the input[type=color] works well, it pop ups the color picker, but when I used it on an app, it doesn't do anything. Please help me how to enable this HTML5 feature.
Are you looking at the app from a mobile device? The web browser for the device might not support input[type=color]. It looks like iOS doesn't at this time. See the compatibility tables.