windows-phone-8

How to record video using AudioVideoCptureDevice in WP8

萝らか妹 提交于 2019-12-31 02:02:04
问题 Here its stated that I can record video using AudioVideoCaptureDevice but there is no sample or help provided. I need to do the following things: - record the video into a stream DONE - display a thumbnail of video recorded (can be a frame captured while video recording) DONE - replay the video recorded DONE - change resolution and type of camera (front/back) DONE How to achieve this? Are there any samples? I am unable to find them. Please help me. DONE - record the video into a stream -

Map tap event / mouse down event in windows phone 8?

女生的网名这么多〃 提交于 2019-12-31 01:57:08
问题 I am using the windows phone emulator. I wrote a very simple program: draw a marker on the map when the user tap the map once. Then I used map_tap event, and get the tapped location as follows, private void map_Tap(object sender, System.Windows.Input.GestureEventArgs e) { Point p = e.GetPosition(null); GeoCoordinate s = map.ConvertViewportPointToGeoCoordinate(p); Ellipse myCircle = new Ellipse(); myCircle.Fill = new SolidColorBrush(Colors.Blue); myCircle.Height = 20; myCircle.Width = 20;

Viewport Origin animation

ぃ、小莉子 提交于 2019-12-31 01:28:45
问题 I am developing a Windows phone app, where I have a viewportcontroller, that enables me to zoom in and out on content. I want to center the zoom at the point where I zoom. Which I can do with Viewportcontroller.SetViewportOrigin() But this makes the viewportcontroller jump to the origin I set. Which does not look very nice. I therefore would like to create a storyboard that changes the origin gradually as the zooming occurs. I therefore would like to ask how I should do this with a property

Viewport Origin animation

孤人 提交于 2019-12-31 01:28:11
问题 I am developing a Windows phone app, where I have a viewportcontroller, that enables me to zoom in and out on content. I want to center the zoom at the point where I zoom. Which I can do with Viewportcontroller.SetViewportOrigin() But this makes the viewportcontroller jump to the origin I set. Which does not look very nice. I therefore would like to create a storyboard that changes the origin gradually as the zooming occurs. I therefore would like to ask how I should do this with a property

SVGs not showing in Windows Phone 8 Phonegap app

那年仲夏 提交于 2019-12-30 20:23:45
问题 Can't seem to find any answers on this. Developing an HTML5 app with Phonegap and using SVG images. Saving them from Adobe Illustrator's "Save as.." and then using them like normal images in the HTML: <img src="img/the_image.svg" /> They show up fine in Android and iPhone but Windows Phone 8 shows them as broken links. Anything I'm doing wrong? Does WP8 not support SVGs this way? 回答1: remove the starting XML tag from the SVG image. <?xml version="1.0" encoding="utf-8"?> 来源: https:/

Add Secondary Windows Phone 8 Tile

房东的猫 提交于 2019-12-30 19:47:51
问题 I have an app which adds a secondary tile to the user's homescreen. I would like to make that tile wide by default. However, despite enabling it is a wide tile it is never wide when initially added, which forces the user to resize it manually. I would really like to avoid making the user resize the tile manually, and there is a sample application which definitely adds a wide tile with the press of a button. Unfortunately the code they use to do so is precompiled and obscured. I know it MUST

How to add System.ServiceModel.Syndication.dll in Windows Phone 8 project?

走远了吗. 提交于 2019-12-30 13:48:10
问题 I am trying to build an rss feed app. and i want to add System.Servicemodel.Syndication . But when i am trying to add, it is saying a reference to a higher version or incompatible assembly cannot be added to the project. After reading some post on how to solve it, i try to unblock the assembly but i found no unblock button. That means the project is already unblocked. So how can i solve the issue?? Is there any alternative way to read rss? 回答1: Judging from the documentation here Adding a

How to create Tiles like UI within WP8 app?

非 Y 不嫁゛ 提交于 2019-12-30 11:21:30
问题 How to create Tiles like UI within our app. If I use a button with image, its showing with borders. If I create a secondary tile, then the tile is getting created on the start screen. Is there any way to create UI which looks similar to Tiles? Thanks. 回答1: You can use Hub Tile from Windows Phone Toolkit. If you want many tiles in your apps, all arranged like in the start screen of Windows Phone device, then you should use Wrap Panel as container for those Hub Tiles. You can also create Tile

How to create Tiles like UI within WP8 app?

帅比萌擦擦* 提交于 2019-12-30 11:21:06
问题 How to create Tiles like UI within our app. If I use a button with image, its showing with borders. If I create a secondary tile, then the tile is getting created on the start screen. Is there any way to create UI which looks similar to Tiles? Thanks. 回答1: You can use Hub Tile from Windows Phone Toolkit. If you want many tiles in your apps, all arranged like in the start screen of Windows Phone device, then you should use Wrap Panel as container for those Hub Tiles. You can also create Tile

Binding converter to XAML in windows phone 8 app

半世苍凉 提交于 2019-12-30 11:11:09
问题 my .xaml page code : <phone:PhoneApplicationPage x:Class="MVVM1Test.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone" xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns