How to snap app programmatically in windows 8? - windows-8

how can I programmatically set a windows 8 application to snapped view? Also, what happens if the screen resolution is 1024 where snap is not allowed? Will an exception occur when calling this function?

To answer your question - how can I programmatically set a windows 8 application to snapped view?
Seems it is not possible. Please refer following link.
http://social.msdn.microsoft.com/Forums/en-US/winappsuidesign/thread/263b39dd-89d4-4f39-96dc-596a500fa10a

Related

How to place a tile on the windows 8 start screen programmatically?

I am building a windows store app. I want the tile of that app at a specific location of my start screen. Is there any API to code the position of my tile on start screen?
Thanks in advance!!
No. You can't control where the tile goes - that is up to the user to determine. The central pillar of the Windows 8 environment design philosophy is that the user is in control.

Windows 8 Image Slider

Is the image slider that the Windows 8 Camera app uses available as a control within the framework? It has nice transitions between images and provides previous and next buttons.
There is callisto refernce in nuget there you can find flipview like windows 8 app store
There is a FlipView control if you are referring to that.
You have some similar controls already built-in, such as FlipView if you want the previous and next buttons.
But if you want all the features in the image gallery application (with zooming capabilities), you will have to create your own component. I did, and it was quite painful, but sadly I did not have the time to package it properly to share with the community. Maybe someone else did it.

Is it mandatory to support filled, snapped and portrait views in Windows 8 Apps?

Do I have to support all these views in Windows 8 Apps? Or could I also develop applications only in Horizontal?
The same question I am having few days back, after some googling I found that
Windows 8 App Certification Section 3.6 http://msdn.microsoft.com/en-us/library/windows/apps/hh694083.aspx they mention that " Your app must support a snapped layout. In landscape orientation, your app’s functions must be fully accessible when the app’s display size is 1024 x 768. Your app must remain functional when the customer snaps and unsnaps the app "
So I think all this views are compulsory but you can do one thing like
use a simple splash screen as your snap view (same like the default Windows 8 Store app)
and for other views like Fill, Portrait and Landscape you'll define the liquid design layout.
so that you'll don't have to worry for all the views.

Control AdDuplex ads appearing on my WinRT pp

I have a windows 8 app and I have integrated adduplex with it. Is there a way to control what size of ads are being served by adduplex on my app? Currently I see 300x250 which messes up my UI
Not sure if AdDuplex uses a WebView to present the ads, but if it doesn't then perhaps you could put it in a Viewbox to scale it down.
Got it, it uses the size property, example size="90x720" will do the trick.

tap visual white circle indicator windows 8

In most windows 8 apps when you tap anywhere inside the app you see a white-circle tap notification. For some reason, the notification doesn't occur in my app. How is the indication enabled or disabled?
i tried IsHitTestVisible , but don't see anything change in my grouped item page.
IsHitTestVisible has nothing to do with the white-gray tap short-animation, which is a shell feature. All apps are showing it when a touch event occurs in the context of the OS.
This question is kinda related to my lastest question so I will leave the answer here if someone tries to solve the same issue.
You can disable/enable the visual tap feedback with:
PointerVisualizationSettings.GetForCurrentView().IsContactFeedbackEnabled = false;
You can also remove it forever in your control panel.