[WP8.1][C#]Interacting with web pages in WinRT

I'm writing a Windows Phone 8.1 application. How would I programmatically interact with web pages- for example, search something on Google?
The main problem seems to be, I can't access the underlying HTML document of the WebView control.
What I have tried so far:
using HtmlAgilityPack (only supports parsing, can't interact)
trying to get underlying document w/ reflection (limited WinRT reflection APIs)
looking into other cross-platform GUI toolkits, such as Qt# (also do not provide access to document object)

Hi James.Ko,
To help clarify your post and let people easily tell what it is about, please use a clear and concise subject and include applicable tags.
We will help to modify the title tag base on this sticky post
or you can modify it by yourself(recommended), and thanks for your cooperation.
Before trying to answer your question, I would recommend you a blog:
http://blogs.msdn.com/b/wsdevsol/archive/2014/04/03/ten-things-you-need-to-know-about-webview-_2d00_-an-update-for-windows-8.1.aspx
You should be able to know how to invoke script into the pages and also how to get the return value. By the way, not quite understand what do you mean by underlying HTML document, means the HTML code?
--James
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Interacting with Web pages

    We have developed a J2EE application (jsp, struts, ejbs, etc.) and now have a requirement to interact with hardware at the client's site. The application needs to interact with printers, check readers and DL readers. Can a JWS application interact with the web pages?
    For example, when a check is scanned, can the information be displayed on the web page? Additionally, we need to be able to print on both sides of the check. If I tell the application to print, can it respond back to the web application when it is done so the check can be flipped over and printed on the other side?

    Java WebStart is "just" a deployment mechanism. An application deployed through JWS can do anything a regular Java application can do (provided it has the appriopriate permissions). This includes talking to whatever kind of server you can think of.
    If staying within the sandbox is an issue for your app, you should take a look at the JNLP API, which allows you to do some "safe" things (like printing) on the user's system through interaction with the user. The advantage of staying within the sandbox is not having to sign your app and not having to ask the user for elevated permissions.

  • Can Java Interact with Web Pages??

    I wonder if it possible to develop an application or applet that can automate the process of signing up for courses at Notre Dame.
    Currently, we have to use a pretty plane text-based web system. I wonder if it's feasible to use Java to provide a more user-friendly front-end to this system. The program would need to read HTML, view different web pages, and write to web forms. Any tips on where to go from here?
    I realize that some other language might work too, but I'd like to advance my Java skills ;-)
    Thanks!!!
    - Brian

    From what you've posted so far it sounds like you want to make a specialized web browser. Is this what you had in mind? The Java API includes two classes that can be used to construct such a beast relatively easily: JEditorPane and JTextPane. The Swing tutorial has a page on how they can be used:
    http://java.sun.com/docs/books/tutorial/uiswing/components/editorpane.html
    However, their capabilities are rather limited (only support HTML 3.2). They will let you change text styles and the way pages look, but will hardly be more "user friendly" than the original site because it'll be only the old thing with a new look.
    There's also a HTML parser that can be used independently of the gui components, in principle you can use it to extract information from the site and show it in a completely new user interface that has nothing to do with the original site but I haven't used it much and i'm too tired to look up and example on the 'net (been a long day, i'm off to bed)

  • How to add Portal iViews with Web Page Composer

    Hi,
    We are working with Web Page Composer in EP7.0 SP13.
    We are creating web pages and we would need to add Portal iViews into. When we try to add an iView, we cannot select it from Web Content Browser to drop into the web page container.
    How can we add iViews into our web pages?
    Helpful answers will be rewarded!!
    Thanks in advance,
    Samantha.

    Hi,
    See these:
    [http://help.sap.com/saphelp_nw70/helpdata/en/06/4776399abf4b73945acb8fb4f41473/frameset.htm]
    [/message/4414263#4414263 [original link is broken];
    Best regards,
    Avishai Zamir

  • How does Openscript Interact with web components ?

    I was wondering how does openscript interact with web objects (eg Edit boxes, buttons), is it through some JNI api ? If yes in which package I can find this ?

    I am going to make the assumption from your comments that you are asking about using OpenScript to test applications based on Apple's WebObjects server. If that is a bad assumption let me know ...
    The scripts you build against the application will work in a similar manner to those that are built against other java based application servers in that the tool will be using the various key attributes of the html objects to locate them and replicate actions against them. Typical UI driven scripting ... That said, if your testing brings you down a level from the UI and you are trying to test some of the components of the application server tier specifically, well, then you might have to write your own java code to do it.

  • Interacting with wep pages from wp8 app

    i am developing wp8 app .In my app a content from web page is streamed with htmldocument class.but i want to stream other thing from webpage.The problem is i need to click combo box and click one of the options then the content i fetch from web site is changed
    .In combo box there are cities and when i click one of them the information in web page changes.but the link doesnt change for the website the change happens in web page
    i am sure if you look web site you will understand
    here is website http://www.vaktija.ba/mobile/

    It appears you are posting in the wrong forum. This one is about the Microsoft Access database product that is part of Office.
    -Tom. Microsoft Access MVP

  • Interact with web site

    I'm programming a chatbot that will be able to get information from web site if it isnt in the script. Im at the stage where I want to use a web site's search engine, namely www.imdb.com/search to continue. The idea is I will send the search term on java program, the program connect to the web site, uses the search engine on the site and get the resulting web page. The program get the html code, process it and exact whatever user want to know.
    Problem: I have no idea how to make a program that will be able connect to imdb, to do a search on imdb's search engine and get the html for further process. Can anyone advice me on how to interact with their's search engine and get the result?
    The code i got so far can only exact the html code, however this will not work because imdb connection refuse.
         URL yahoo=new URL("http://www.imdb.com/");
         BufferedReader in = new BufferedReader( new InputStreamReader (yahoo.openStream()));
         String inputLine;
         while ((inputLine=in.readLine())!=null)
              System.out.println(inputLine);
              in.close();
              }

    Thank for the direction and tips. Now I have more understanding of what I needed to do. However, I still cant come up with an solution for what I needed to do. I read the wiki page on
    HttpClientPowered A list of applications that use HttpClient
    Client HTTP Programming Primer
    What I need to do is to use those API to perform search and get the resulting html code, with my limited understand of both Java and web technology, I can find which method I need to perform a search and get the resulting html code.
    Can anyone give me more details please, I need to decide what I need to do within a week depend on if I can make that part of the program.
    Thank
    Also I tried some of those example code, I cant make them run cause im missing org/apache/commons/logging/LogFactory, cant find it on the download section. Im thinking of getting the html code from .Net now...can you show me what is the code to do it in .Net please? I know nothing in .Net btw.
    Edited by: kent99 on Jan 26, 2009 3:25 PM

  • Creating a Simple IOS / Android APP with web pages?

    Hi all,
    Recently I created a simple backend database driven website for a clients customers to see their info. The client wants to have his own "Company App", primarily for the marketing aspects. I was thinking that it might be possible to have a super simple basic app just showing/using the web pages that we already have.
    I already made some pages with custom tailored css to iphone and could expand this concept to other models - android etc.
    I have never tried to make an ios or andriod app before, but...
    Q: Would it be possible to create a simple app DEMO that can display/use the css iphone page I already made? If I wanted to look more into this (and even work with other dev's) where would I start?

    Mobile Apps are standalone pieces of mobile software that you design, compile with Phone Gap and then upload to Google Play or Apple's App store.  From there mobile users can purchase (most are free) download & install apps on their device.   Apps include just about everything from GPS & traffic info, to sports, games, entertainment, health & fitness tracking. You name it, it's probably out there.   A mobile app is not a web site, although the app may indeed be tied to the creator's web site so he can sell more apps.   But an app is just an app.  A web site is a web site.  2 different things.
    If you want to explore Mobile App development, I recommend this introductory tutorial
    Create & package Mobile app with DW, jQuery Mobile & PhoneGap
    http://www.adobe.com/devnet/dreamweaver/articles/dw-phonegap-mobile-app.html
    Nancy O.

  • Linksys active x problem with web pages

    When i install linksys active X for viewing live video with camera WVC54GCA i cannot open other web pages.I am using Windows XP and Internet explorer 8.Is there any solution for this problem???
    Solved!
    Go to Solution.

    Installation of Active X does not prevent any web pages to load, if you have installed Active X then you certainly should be able to view all the web pages inclucding the web pages that contains flash that helps in viewing certain kinds of files, and displaying animation...
    Adjust your browser settings : 
    Open an IE, click Tools >> Internet Options, then delete all files, cookies, history, forms...Goto "Connections", make sure Never Dial a Connection is checked, click on LAN Settings and make sure all the options are unchecked...Once you are done click on O.k...Close the IE and re-open it...
    Did you try to browse the Internet using a different web browser ?

  • Can't interact with Web Content Overlay when article is zoomed in

    I have a problem with Web Content Overlay. It's working (interacting) only when article is viewed in 1:1 scale. Articles are added as PDF's, and when i do pinch zoom on them - Web Content Overlay stops reacting on click events.
    Is it a general WCO limitation?
    Can article with Web Content Overlay be zoomed in and still give user the ability to play with HTML content?
    Piotr

    Hello,
    '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * You can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
    Thank you.

  • Malfunction with Web Page Buttons/Tabs

    I am running the latest versions of Flash Player, and I run Windows 7. Until a few days ago, I was able to use the Internet normally. Now I have lost some function: The browser seems to read web page tabs and some buttons (although curiously not all) as images instead of as links. Even then, I cannot always log into my account on a given site, nor can I switch tabs.
    For a specific example, on my local library's web page, I cannot place a hold using the Hold button either in the catalogue search screen or in the item's record. I cannot log onto yugiohcardmaker at all. I cannot switch tabs on the Aeria Games Free AP offers page. I can still log in on other pages, so this loss of partial function is curious and frustrating.
    I do not know whether this is an issue with Flash Player, but the last time I had compatability issues with Real Player and Photobucket, software versions were part of the issue. Please let me know what you find. I have tried using Firefox and Chrome, and neither work with these functions.

    You would need a library card and account to test the libraries' buttons. If you have one, they can be tested on the Markham Public Library catalogue (http://markham.bibliocommons.com/search?t=smart&search_category=keyword&q=graphic+novels&c ommit=Search) and the Richmond Hill Public Library catalogue (http://richmondhill.bibliocommons.com/search?t=smart&search_category=keyword&q=graphic+nov el&commit=Search). Both use the same system.
    Here is Yugiohcardmaker's log-in page: http://forum.yugiohcardmaker.net/index.php?app=core&module=global&section=login.
    Here is Aeria's free AP offer page: http://www.aeriagames.com/offers.
    It is easy to register so you can test both pages.
    Thank you for your help.

  • Help please - Synching Word text with web pages

    Hi,
    I'm creating a welcome page to display in our company's front lobby to welcome guests. Another department is going to be in charge of updating names, so want I'm trying to do is insert a Word document in each cell where names will change. Files are named "Guest Name 1," "Guest Name 2," etc. I'm trying to find a way where these Word docs can be "linked" to cells instead of placed so when the names are changed and resaved, the name changes synch on the web page as well. Does anyone know if this is possible, or how to do this? Or if there's an easier way?
    I appreciate any help you can give me.
    Thanks!
    Jeff

    Hi Joey,
    Thanks for your reply.
    The screen in the lobby will point to a web address, similiar to an internet page. We have our own server. I'm not in IT, so I don't know all the details, but I know the page will be similar to our intranet.
    I've never made a dynamic site before. Can you tell me what that means? And if another work station is responsible for adding guest names to the guest screen, would they need special software to make changes?
    Thanks again!
    Jeff

  • Web Dynpro iviews integration with web page composer

    Hi,
    Can web dynpro iviews be integrated into web page composer? I was trying to integrate one ESS web dynpro iview into wpc but the system is throwing an error:
    We are on EP7.01 SP3 (Enhancement Pack1). Please advice if the integration is possible in Enhancement Pack1.

    Hi,
    According to the documentation Web Dynpro iViews are not supported : [Configuring Entry Points for iViews|http://help.sap.com/saphelp_nw70/helpdata/EN/06/4776399abf4b73945acb8fb4f41473/content.htm].
    Regards,
    Pierre

  • Dealing with web pages

    Im doing a project where i will need classes that will take information from web pages. Other classes will also open the users web browser to relevant web pages. Im new to this form of java programming, could i please have some guidance on what packages are needed to implement this and where i could find information on this topic,
    thanks for your help guys,
    Mattyboysmith

    If you want your application to connect to a web page, download what's there and scrape it to find information, then the Custom Networking tutorial is what you want.
    And to cause the user's default browser to open at a particular URL? That used to be a FAQ here, but I haven't seen it recently. Enough searching of this forum should turn up links to the definitive JavaWorld article that tells you how to do that.

  • Trouble with web pages loading

    The last three days, I have had little success loading web pages. The green status bar will start to scroll to the right in the space containing the web address but will not fully load the page. Restarting the phone does not help.
    Any suggestions??

    Strange. My original Bookmark link was lower case. The link was not working this AM from either my Bookmark, or to the site as listed in a Google search. I tried the link in Don's reply, and that worked. I went back to check the Bookmark, and it was totally correct. I deleted the Bookmark, and added a new Bookmark from the page that opened from Don's link. This new link seems to be working. Problem solved (I guess), although the cause remains a mystery.
    Thanks, Don.

Maybe you are looking for

  • How to fasten this query in timesten

    Hi Chris We have a table(POI_DATA) with rows more than 28000000 in Timesten, here there is a query on this table and every query cost about 0.4s. DDL: create cache group VEASMS.POI_DATA_CACHE from     VEASMS.POI_DATA (             "ID"        VARCHAR

  • Which table stored  description for field name

    hi, for example, field name is  LIFNR , description (vendor number), which table stored this description (vendor number)  for that field name(LIFNR) ?

  • Why are videos loading so slowly on iweb site?

    So I built a site with lots of video, but each video is on its own separate page. Why do the videos take so long to long and then sometimes stop intermittently while playing? Would appreciate multiple responses for things to try. Also, what is the op

  • 3rd gen AirPort Express kills Nest battery

    I am swapping out our AirPort Extreme for the new 3rd gen Express. I've decided to do this because I don't have a use for disk support on the AirPort, but would like to put a pair of speakers in that spot for AirPlay. Everything went fine in the swit

  • Restoring manual sort in iphoto

    Manual sort and restore manual sort are grayed out on my dropdown menu. How do I restore these functions?