【发布时间】:2016-09-18 20:37:18
【问题描述】:
我需要将此代码语言设置为与设备相同。
Notification.Builder builder = new Notification.Builder(this);
builder.SetContentTitle("ok");
builder.SetContentText("ok");
Notification nottt = builder.Build();
NotificationManager noeman = GetSystemService(Context.NotificationService) as NotificationManager;
noeman.Notify (122, nottt);
StopSelfResult(this, OnStartCommand);
【问题讨论】:
-
请@joba 在下面将我的答案标记为正确。非常感谢。
标签: visual-studio xamarin.android