windows-phone-8

Build native OpenSSL library for WP8 Platform

僤鯓⒐⒋嵵緔 提交于 2019-12-23 16:07:59
问题 I am creating Windows phone 8 application.I need to create App which uses compiled OpenSSL library.I was following standard latest library. I am following INSTALL.W64 steps, as I don't know which INSTALL.* to be used.As my machine is 64 bit I preferred this: To build for Win64/x64: 1 perl Configure VC-WIN64A 2 ms\do_win64a 3 nmake -f ms\ntdll.mak 4 cd out32dll 5 ..\ms\test Using Visual Studio Command Prompt.Upto step 2 is fine.At 3rd step it fails to build and doesn't create library in

C#/XAML add image to button

旧城冷巷雨未停 提交于 2019-12-23 15:16:24
问题 I'm beginning to program in Windows Phone 8 using C#/XAML. Currently I'm developing a quiz type WP8 app which has a question (textblock) and 4 options (in the form of buttons). What I'd like to do is, to display the images of those options in buttons. How am I gonna do that? Please do check what I have started this is my DataEntry class: class DataEntry { List<DataModel> dataModelList = new List<DataModel>(); public List<DataModel> GetData() { dataModelList.Add(new DataModel { ID = 0,

Retrieving thumbnail of a StorageFile (Video) which is located in the localfolder of the app in WP8.1

混江龙づ霸主 提交于 2019-12-23 15:07:23
问题 I'm trying to get the thumbnail of the StorageFile located inside the application package (LocalFolder) of the app. The storage file is a media file which can be image(jpg or png) or a video (mp4 or wmv). Now when i try to get the thumbnail using GetThumbnailAsync(ThumbnailMode) method of the StorageFile class i get a System.Exception : The component cannot be found. error, while the same thing works fine if the file is image or a video which is not inside the app package. Here is the

CoreWindow::GetCurrentForThread() always NULL

≡放荡痞女 提交于 2019-12-23 13:13:28
问题 I'm trying to get the CoreDispatcher in C++ on Windows Phone 8 so that I can submit work items to the UI thread Dispatcher so I can update UI elements on the UI thread. However, when I call CoreWindow::GetCurrentForThread() , I get NULL back. In the documentation it states that this is supported on WP8. As long as I'm getting NULL for the current Window, I can't get the current Dispatcher from it; does anyone know how to get the current Dispatcher on WP8? 回答1: CoreWindow::GetForCurrentThread(

The tag 'ViewModelLocator' does not exist in XML namespace clr-namespace:XXX

六眼飞鱼酱① 提交于 2019-12-23 12:58:49
问题 I have tried numerous other solutions without any success. I have a class called ViewModelLocator which is located in my portable class library. It has a property in it called ViewModels , which is of type Dictionay<K, V> Then I have a Windows Phone 8 project that references the portable class library. I added the following to the WP8 app.xaml: <Application x:Class="Kaizen.WP8.Test.App" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com

ItemsControl with Grid as template : add control to Grid

孤街醉人 提交于 2019-12-23 12:55:38
问题 Windows Phone 7.1 project (XAML). I have a itemscontrol with a grid as template, bound to collection of data-elements, everything works okay. However, I have to add one extra Image to the Grid, which does not bind to the collection. Some kind of header image. I have this code: <ItemsControl ...> <ItemsControl.ItemsPanel> <ItemsPanelTemplate> <Grid ShowGridLines="True" x:Name="ShipsGrid"> <Grid.ColumnDefinitions> <ColumnDefinition Width="0.1*"></ColumnDefinition> <ColumnDefinition Width="0.1*"

Is it possible to use computer camera from windows phone emulator 8.1?

白昼怎懂夜的黑 提交于 2019-12-23 12:09:47
问题 I am very newbie to the windows phone development. I try to come up with a simple app taking photos. For testing I need to run emulator and take photos from the emulator by using computer camera. However, if I start to camera it shows very interesting shapes and does not use computer camera. Is there any way to exploit PC camera directly from emulator and take photos? 回答1: No way to do this, you just get the "interesting shapes" and that is it. 回答2: Unfortunately, it currently isn't possible

Out-of-browser specific settings do not affect in-browser applications

大兔子大兔子 提交于 2019-12-23 10:07:26
问题 I've a couple of scenarios in my WP8 where I'm getting this exception message : "Out-of-browser specific settings do not affect in-browser applications." Both of these scenarios have async calls. I want to know in general when do I get such an exception, so that I understand what to look for whenever I get them. Is that possible to know or I need to describe my particular scenario? 回答1: Unfortunately, this is a pretty generic message meaning you did something wrong with your XAML. If you're

SupportedOrientations unavailable in XAML of windows phone 8.1 app?

房东的猫 提交于 2019-12-23 09:41:50
问题 What is the equivalent of this in Windows Phone 8.1 App. When I create a new app, there is no more phone:ApplicationPage <phone:PhoneApplicationPage ... ... SupportedOrientations="Landscape" Orientation="LandscapeLeft" shell:SystemTray.IsVisible="False"> 回答1: Yes, In windows phone 8.1, We can't set supportedOrientations in page's XAML. We can set supportedOrientations of App in Package.appxmanifest only. 回答2: You can force the orientation of any page via code, writing just after the this

ContextMenu's MenuItem DataContext returns old items

馋奶兔 提交于 2019-12-23 09:22:40
问题 I am using a ContextMenu within a LongListSelector so that I can delete some items in the list bounded to the LLS. I am following a recent guide here in order to implement the LLS (though I am not using the JumpList). The only thing I've changed is to have the base group class extend ObservableCollection instead of List. The issue I am having is that once I've implemented the ContextMenu and delete from there, I can delete from the same "location" in teh visible list twice and then it would