我只是创建应用程序包,并得到以下错误

需要帮助如何解决这个问题.
我想在Windows Phone 8.1中将我的画布分享为图像.为此我首先将我的画布转换为图像然后共享它.我尝试了我的Windows 8.1代码.没有出现错误但图像不在共享源应用程序中只有说明和标题出现.
这是代码:
private async void DataTransferManager_DataRequested(DataTransferManager sender, DataRequestedEventArgs e)
{
e.Request.Data.Properties.Title = "My app";
e.Request.Data.Properties.Description = "app description";
DataRequest request = e.Request;
// Request deferral to wait for async calls
DataRequestDeferral deferral = request.GetDeferral();
// XAML objects can only be accessed on the UI thread, and the call may come in on a background thread
await Dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal, async () =>
{
try
{
RenderTargetBitmap renderTargetBitmap = new RenderTargetBitmap();
InMemoryRandomAccessStream stream = new InMemoryRandomAccessStream();
// Render to an …Run Code Online (Sandbox Code Playgroud) 我使用bootstrap自定义弹出窗口创建了一个指令.这样可以从用户那里获取组名称的输入,并且有两个按钮用于将该值应用于建模并在工具提示上显示该值以及用于关闭弹出窗口的按钮.我正在使用popover java脚本事件,问题是单个popover工作正常,但是当我打开另一个时,这个popover不关闭自己.当一个人打开时,需要帮助关闭其他popovers.这是显示指令的plnk.
这是代码
var app = angular.module('myApp',[]);
app.directive('customEditPopover', function () {
return {
restrict: 'A',
template: '<span><i class="fa fa-tags" aria-hidden="true"></i></span>',
scope: {
'myModel': '=',
},
link: function (scope, el, attrs) {
scope.label = attrs.popoverLabel;
var btnsave = '#' + attrs.popoverSave;
var btncancel = '#' + attrs.popoverCancel;
var index = attrs.index;
$(el).tooltip({
title: '' + (scope.myModel == undefined) ? "" : scope.myModel,
container: 'body',
placement: 'top'
});
$(el).popover({
trigger: 'click',
html: true,
content: attrs.popoverHtml,
placement: attrs.popoverPlacement,
container: 'body'
}) …Run Code Online (Sandbox Code Playgroud) 我在我的项目中使用mongoDB c#最新驱动程序,即3. +.我使用daterangepicker有不同的日期过滤条件,如今天,最后一天,昨天,本月等.
这是我的模特
public class Student
{
public Student()
{
}
[BsonId]
[BsonRepresentation(BsonType.ObjectId)]
public string Id { get; set; }
[BsonDateTimeOptions(Kind = DateTimeKind.Local)]
public DateTime CreatedOn { get; set; }
[BsonDateTimeOptions(Kind = DateTimeKind.Local)]
public DateTime ModifiedOn { get; set; }
public string Name { get; set; }
public string Description { get; set; }
}
Run Code Online (Sandbox Code Playgroud)
这是驱动程序代码
var server = new MongoClient(_connectionString);
var db = server.GetDatabase("Students");
var collection = db.GetCollection<Student>("student");
var filterBuilder = Builders<Student>.Filter;
var start = new DateTime(2017, 03, …Run Code Online (Sandbox Code Playgroud) 我想从Windows Phone 8.1中的图片专辑中选择一张图片.为此我使用了这段代码,但它给出了错误
private async void gallery_Tapped(object sender, TappedRoutedEventArgs e)
{
FileOpenPicker opener = new FileOpenPicker();
opener.ViewMode = PickerViewMode.Thumbnail;
opener.SuggestedStartLocation = PickerLocationId.PicturesLibrary;
opener.FileTypeFilter.Add(".jpg");
opener.FileTypeFilter.Add(".jpeg");
opener.FileTypeFilter.Add(".png");
StorageFile file = await opener.PickSingleFileAsync();
if (file != null)
{
// We've now got the file. Do something with it.
var stream = await file.OpenAsync(Windows.Storage.FileAccessMode.Read);
var bitmapImage = new Windows.UI.Xaml.Media.Imaging.BitmapImage();
await bitmapImage.SetSourceAsync(stream);
var decoder = await Windows.Graphics.Imaging.BitmapDecoder.CreateAsync(stream);
MyImage.Source=bitmapImage;
}
else
{
//OutputTextBlock.Text = "The operation may have been cancelled.";
}
}
Run Code Online (Sandbox Code Playgroud)
错误

我想发送一封来自windows phone 8.1 app.Email Compose任务的电子邮件.我试过这个
EmailRecipient sendTo = new EmailRecipient()
{
Address = "abc@outlook.com"
};
//generate mail object
EmailMessage mail = new EmailMessage();
mail.Subject = "Feedback";
//add recipients to the mail object
mail.To.Add(sendTo);
//mail.Bcc.Add(sendTo);
//mail.CC.Add(sendTo);
//open the share contract with Mail only:
await EmailManager.ShowComposeNewEmailAsync(mail);
Run Code Online (Sandbox Code Playgroud)
这会在模拟器中出错:
无法共享
没有可与之分享的应用.
我想从flickr上的专辑中获取照片.我有4张专辑.我肯定在做flickr.people.getPublicPhotos方法,它返回所有照片.这是我的网址
如何通过flickr专辑获取照片是否可能?
我有一个场景,我必须在滚动div的底部移动表格页脚行的每个标签.这是plnkr.
我可以用硬编码来移动它
$('.sticky-table').find("table tfoot tr.sticky-row th").css('top', 260);
Run Code Online (Sandbox Code Playgroud)
但我想计算260并做到这一点.需要帮忙.
您好,我通过在 NoSQLBooster IDE 中编写一些普通的 javascript 意外地将 mongodb 中的一些记录更新为未定义的值。问题是记录存在,但是当我将 $exists 运行为 true 时,它显示 Robo3T 中的记录,但不显示 NoSQLBooster 中的记录。然而,当我运行 email is equal to undefined 时,它不会返回任何记录,但记录存在。这是示例查询和结果屏幕截图
db.customer.find({source:'some value',"email":{$exists: true}})
.projection({})
.sort({_id:-1})
Run Code Online (Sandbox Code Playgroud)
我如何查询和更正这些记录。谢谢