Multiple webviews in wp8? - c#

How do you embed a webview that can open other webviews that you can easily switch between into a PhoneGap application for Windows Phone 8? I can't find any resources on how to embed multiple webviews into a windows 8 mobile app. I'm really asking for any kind of guidance that could help.
Thanks.

Windows Phone does not support multiple WebBrowser controls on a single page. You'll need to use multiple pages if you need multiple embedded browser controls or change the contents of a single embedded control.
Without knowing what you're trying to achieve it's hard to know what the best suitable approach could be for you.

Take a look on ChildBrowser plugin which allows you to open a new browser window and even has events to capture responses from the spawned child window. This is the most closest thing in PhoneGap you are looking for.

Related

Changing display colors in UWP

Is there a way to apply canvas effects listed in following MSDN page to all display?
http://microsoft.github.io/Win2D/html/N_Microsoft_Graphics_Canvas_Effects.htm
So, can the input and output of ,e.g., TemperatureAndTintEffect be the display buffer?
robertos is correct. Win2D is a UWP API, and there is no general purpose way for UWP apps to read or write to the display outside of their specific app window.
On mobile devices you can use ScreenCapture APIs to read the displayed image, but there is no way to modify that or replace it with something else. Or if you want to apply filters only within your own XAML app, you can do that by rendering the XAML visual tree to a bitmap. More about both options in this thread: Universal Windows Library (UWP) Way to take screenshot?
No. UWP apps do not have access to the raw graphics card and buffers outside of their app.

C# WPF WebBrowser Multi Touch

Hopefully someone can help, I'm having a few issues embedding a web browser into my application to display a Google maps page.
The page loads correctly in the IE Web browser and Awesomium, However we are actually using a Windows 7 touch screen and if I pinch zoom the Google Map the whole web browser zooms in. It doesn't seem to invoke the touch event on the Google Map.
If I browse to Google Maps via IE or Chrome the map support multi touch gestures, using the chrome.exe or ieexplorer.exe (not embedding in the application).
Is it possible to embed the same functionality into a WPF application?
GekoFX seems to support the touch events.
You may consider DotNetBrowser as an alternative. Its heavyweight mode provides support for touch events, and the Google Maps tutorial is available on C# Corner: http://www.c-sharpcorner.com/article/embed-google-maps-in-net-desktop-application/

Ruby on Rails > Action Pack APIs > Getting images from website to windows phone 7 app

I have an application for Windows Phone 7 that is in its final stages. All I have left to do is allow content I post on my website, from user submissions, to make its way into the phone application's listbox as a new listboxitem for each image.
Some background:
I have a website made in HTML from dreamweaver, and I have installed Ruby on Rails software for it. I am at the point where I need to obtain the set of APIs that the phone can communicate with in order to receive the image data from the website to the phone.
I am thinking of using Action Pack APIs (action web service), and exporting the data in XML. Technically speaking, is this possible? Is there a better set of APIs to use (free of course)?
As I have never done this before, will what I plan on do be fine in terms of having my phone gain the image data I need to dynamically populate a listbox in my application?
Thank you,
Richard
is something like this would help?
windows phone 7 twitter appliaction
The standard approach is parse your web content and binding data into your listbox on wp7
It's perfectly possible to get images from a website and display them in a list box. The only issue you'll have if you're controlling the backend/website is formatting the output. If you can expose a list of Uris to the images in an XML format your task shoudl be really simple.

Windows application using Silverlight

I want to develop a windows based application in silverlight. I went through many articles and every where I found that "Silverlight is for web based application". I don't know whether I am wrong or right, as my superiors told me that in Silverlight5 we can develop Windows based application. Can any body help me to give a clue for how to start. Any help would be highly appreciated.
Thanks in advance
If you mean a Windows based application which can connect with internet you go for Out of Browser application which silverlight supports but if you want simple plain desktop application, there is no point in using Silverlight, WPF would be the right choice in that case.
Look at this article for building an out of browser app using Silverlight.
Silverlight specializes in building rich UI based Web applications and WPF is best for making UI rich applications for Desktop.
You can run silverlight apps "Out Of Browser", its just a setting in the config. Here's a video with more info: http://www.silverlight.net/learn/videos/all/out-of-browser-experiences/
silverlight is a web-based technology that runs on the client machine. it is, basically, Microsoft's version of Flash.
Now, that being said, you CAN write silverlight apps that run out of the browser. but, they are not "really" windows apps. silverlight is a sub-set of WPF. However, you can also make WPF apps that run in a browser. Confused yet?
The bottom line is that WPF is for desktop apps and is full-featured with access to the machine resources.
while silverlight is a light-weight version of WPF that is intended to be run in a browser, similar to flash. it does not have all the features of a full desktop application due to security model and that sort of thing.
Both have elements that cross into the domain of the other.
Like all good things, the answer is "it depends on what you're trying to do". If you want an application that can run inside the browser, outside the browser, plus on Windows and Mac then Silverlight is the answer. You also get for free/are restricted by a security sandbox; you can get around this sandbox by requiring additional permissions from the user. If you're trying to do something that requires multiple monitor support, access to COM objects, stroke/pen/stylus input, 3D hardware acceleration, or access to a large local file store then WPF is probably the better answer. Silverlight out of browser applications also have a nice "phone home" feature that will automatically download updates; WPF requires you to roll this by hand.
Some folks have mention XBAPs (running WPF inside of a browser). Stay away from this error prone steaming pile of stuff. It's good for demoware, but is not something which you'd want to support.
You heard right.
This is called "out of browser":
Silverlight-based applications typically run within Web pages, but you can enable users to install them from the Web and run them outside the browser.

Windows Phone 7 access to Share Picker

Is there a way to access the Share Picker in my application? I have read about making my own Share Picker Extension, but that isn't really what I am looking for. I want the user to be able to share a generated image from my app.
Thank you,
Doc Haven
No. The SharePicker allows you to add functionality from your application to the Pictures Hub.
There is no way to add that functionality, from the hub, back into your app.
If you want to be able to "share" something with the web (e.g. sent do Facebook/Twitter) then you must implement this yourself.
There is no way to link between your application and another on the device.

Categories

Resources