Is there a way to embed a website (that I have no control what-so-ever over) in an app for Windows Phone?
I basically just want an extremely simple app that's just the Google+ website embeded in an app for Windows Phone. I realize I can just pin the website, but it's just not the same as having a nice pretty icon on the start screen, even if it's just a mobile site in a shell.
I know a small amount of C#, so that's the language I'd prefer.
EDIT: I just found this: How to launch IE7 from a Windows Phone App?
So now my question is, how do I use this so it happens on load?
To answer your question, you can execute the code that you reference in the above link, in the constructor of your MainPage.xaml. The question is, though, why? As you stated, you know you can pin a site, but you want an icon. Are you aware that you can make the icon appear as any part of the web page you are pinning? The tile will look like the page you're on, and the view you are at when you pin. If you want it zoomed out, then zoom out, then pin. Want an image on the page to be your icon? Zoom in on that image, and pin. You have a good deal of flexibility with this, depending on the page, of course.
Related
How do I create custom widget for my c# application.
Example :
I wrote an app that shows in Windows 10 menu just like other apps (example firefox) -
screen
How can I create custom "widget"? To show on my app with some from current state of application.
This application is running on user PC all the time, each hour it refresh some informations and I want them to display on this "widget".
How can I achieve this?
The icons on the Windows start screen are known as "Tiles". The tiles that are dynamic are known as "Live Tiles". I share your frustration about not knowing what to search for in the search engines when you don't know what the correct terminology is.
Although I have never created a Live Tile, I did find this site:
https://msdn.microsoft.com/en-us/magazine/dn857365.aspx
which discusses Live Tiles and has some sample code, which might point you in the right direction.
It doesn't look like a complete solution for what you are looking for, but it should give you enough background to know what to search for.
So after thorough research over MSDN forums, I have decided to put up my question here for the experts around.
My goal is very simple but unusual. Before I post a question, here's the scenario where I want to implement the requirement;
There is a huge table (large tablet like Microsoft PixelSense or old Surface machine) of nearly 41" which runs my app on Windows 8.1 smoothly
This table (tablet) will be placed between two chairs, one for customer while the other one will be for the agent.
The app opens from the customer's side and customer enters his required details in a usual way like everyone enters some information in a form.
The unsual part is, the agent sitting on the other side is not able to access the keyboard on his side because Windows (OS) opens up the keyboard only in one direction (unlike Microsoft PixelSense).
I have managed to invert the layout of all the app for the agent but unable to change the keyboard's layout (invert to 180 degrees)
My question is, can I change it anyway? Is it possible?
I don't want to go for custom keyboard as of now.
I have a set of pages which are developed with XAML for Windows 8.1 RT.
The application looks fine and works as expected but a part of the requirement is that a particular view has to be placed on the lock screen. There are no interactions required on the lock screen.
I have searched for quite some time and still no luck.
My question, is it possible to place a view on the lock screen, like possibly a widget?
If possible, what is the right approach?
Step by step instructions are really appreciated, as I am relatively new to XAML and Windows 8.1 RT.
Thanks.
Short answer: No.
You can add your application to the lock screen notifications as described in MSDN.
Apps can however change the lock screen background image, maybe that fits your needs as well.
See this sample for how to use the LockScreen API.
Is there a way to pin a web site to start screen in IE 10 using code?
I can see shortcuts created for pinned sites in "%userprofile%\AppData\Local\Microsoft\Windows\Application Shortcuts". However, I can't figure out where Windows stores pinned site data. If I simply create a shortcut and drop it in that folder it doesn't work.
For coding I prefer C#, but javascript or vbscript should be fine.
The Customize the Start Screen article on TechNet shows how to put a custom Start screen layout in your deployment. Windows 8.1 adds a Start screen layout policy you can use as well. Deployment issues are better-suited to ServerFault, not StackOverflow.
I'm creating a optimized web page for mobile devices with C#. Is there a way to offer a page for larger screens and one for smaller screens on android devices? With Apple i can differentiate between iPad and iPhone, but how can I do this with the galaxy tab or a regular android phone?
I don't want to use any javascript in this case.
First of all i would suggest you you JavaScript for that as you could write you own code code to detect the screen width and height and style the page accordingly, but then again it is your choice.
There are however 2 possibilities (if you really don't want JS):
#media queries to where you can state different css styles (media-dependent style sheets) that work for different screen heights, widths, resolution and even more if it is a handheld device, print, etc
read http://www.w3.org/TR/css3-mediaqueries/ for general idea or Bingoogle "media queries and you will find a lot of info"
second solution is http://mdbf.codeplex.com/ which apparently is going to be removed on 29 Oct. you put the downloaded file in the "App_browsers" of your ASP.NET application and you serve back to the client the tailored page to his request. You can intercept the client's browser's feature during "Pade_Load" using "Request.Browser.[feature]" where feature can be ScreenPixelsWidth/height and build your page accordingly. This is really ugly since the document is man-made and man-updated, so if a new browser/screen size shows up, someone has to put it there manually so either you have to do it yourself (or somebody else) or it is not up to date.
I don't think that there is a way to do this without using java script. Think about how you would determine the screen resolution of a normal browser. There is not much difference to that with the android browser. It is a OS that runs on very much different devices that can not possible all be known to your application. To totally optimize your page you have to ask the client for its screen resolution.