草庐IT

phoenix-channels

全部标签

android - 消费者关闭输入 channel 或发生错误。事件=0x8

01-0311:28:47.499:ERROR/InputDispatcher(164):channel'4085fe50com.bce.tip/com.bce.tip.core.MenuActivity(server)'~Consumerclosedinputchanneloranerroroccurred.events=0x801-0311:28:47.499:ERROR/InputDispatcher(164):channel'4085fe50com.bce.tip/com.bce.tip.core.MenuActivity(server)'~Channelisunrecover

Android 通知 channel - 从系统设置到应用程序设置的链接

我正在尝试遵循有关如何“将您的应用设置链接到Androidchannel设置”的MaterialDesign指南。如图所示,应用程序设置“应用程序中的其他设置”上应该有一个按钮,但我不知道如何设置它。https://material.io/guidelines/patterns/notifications.html#notifications-settings我希望NotificationChannel可以选择设置正确的Intent或Intent过滤器,但我找不到任何选项。managingthenetwork也有类似的行为我认为这会以同样的方式工作?!有人知道如何实现吗?

android - 尽管创建了 channel ,但通知未显示在 Android O 中

这是我在下面给出的代码。这无法在AndroidO上创建任何通知,尽管创建了通知channel。privatevoidweatherNotification(WeatherInfoweather){Intentintent=newIntent(this,WeatherActivity.class);PendingIntentpendingIntent=PendingIntent.getActivity(this,0,intent,0);StringtemperatureScale=prefs.getUnits().equals("metric")?getString(R.string.c

android - 如何启动 Youtube 应用程序以打开 channel ?

我想从我的应用程序访问youtube以打开一个channel。我已经搜索了一个解决方案,但我只是找到了如何打开/流式传输视频:Intenti=newIntent(Intent.ACTION_VIEW,Uri.parse("vnd.youtube:VIDEO_ID"));startActivity(i);但是直接打开一个channel呢?非常感谢。 最佳答案 Intentintent=newIntent(Intent.ACTION_VIEW);intent.setData(Uri.parse(urlStr));startActivit

java - 对 youtube 应用配置文件/ channel 的 Intent

我可以通过YouTube应用轻松观看视频,但如何访问个人资料/channel?publicvoidYouTube(Stringid){//PlayYoutubeVideoIntenti=newIntent(Intent.ACTION_VIEW,Uri.parse("vnd.youtube:"+id));mContext.startActivity(i);}我..只是不知道从哪里开始?是否有特定的Uri来解析?我当然已经尝试过搜索互联网,但我正在寻找答案。甚至有可能吗?谢谢大家! 最佳答案 通过执行以下操作,可以启动YoutubeAp

android - 从 Android O Api 创建通知 channel 的正确方法

从AndroidO(API26)版本引入的通知channel。我从以下链接中了解了它:ManagingnotificationchannelsGoogleSampleforCreatingChannel问题:如果我有多个通知,那么在应用程序启动时创建通知channel并将其保存在ApplicationScope是个好主意吗?publicvoidaddNotificationChannels(Contextcontext){Listchannels=newArrayList();channels.add("channel_1");channels.add("channel_2");..c

PackagesNotFoundError: The following packages are not available from current channel

(diffusion-anomaly)root@I1124347ba900a0114b:/hy-tmp/diffusion-anomaly#condainstall--yes--filerequirements.txtCollectingpackagemetadata(current_repodata.json):doneSolvingenvironment:failedwithinitialfrozensolve.Retryingwithflexiblesolve.Collectingpackagemetadata(repodata.json):doneSolvingenvironment:

HBase学习笔记(3)—— HBase整合Phoenix

目录PhoenixShell操作PhoenixJDBC操作Phoenix二级索引HBase整合PhoenixPhoenix简介Phoenix是HBase的开源SQL皮肤。可以使用标准JDBCAPI代替HBase客户端API来创建表,插入数据和查询HBase数据使用Phoenix的优点在Client和HBase之间放一个Phoenix中间层不会减慢速度Phoenix对于用户输入的SQL有大量的优化手段Phoenix安装部署1.下载并解压官网地址:Overview|ApachePhoenix下载地址:PhoenixDownloads|ApachePhoenix下载好tar包之后上传到服务器上,使用

android - 什么是 "Uncategorized"Android 通知 channel ,它什么时候出现?

在将应用程序转换为AndroidO时,我注意到一件奇怪的事情。有时我的前台服务通知进入一个我没有创建的channel,称为“未分类”。我不知道这是怎么发生的,什么时候发生的。channel总是在开始发布通知之前创建,并且channelID是正确的。我尝试放入一个随机字符串作为channelID以查看是否可以重现该问题,但在这种情况下不会发布通知。因此,当channel之前已经创建时,这似乎是一些奇怪的情况。这是channel的页面:这是出现在应用程序所有channel列表中的channel(注意,出于隐私原因,我删除了图标)。有没有人有这方面的经验,他们能解释一下什么时候会发生吗?不幸

android - 如何在 Android 8 中为 FCM 推送消息指定 Android 通知 channel

我们的应用现在有targetSdkVersion26(Android8)并且该应用使用FCM推送通知。作为FCMdocumentation规定我将FCM客户端库更新到版本11.2.0:dependencies{compile'com.google.firebase:firebase-messaging:11.2.0'}通过此FCM客户端库更新,FCM通知开始出现在Android设备上。很好,但是当应用程序在后台时,它是处理FCM消息的系统,因此它使用名为“Miscellaneous”的默认Android通知channel,这不是我们想要的(我们有其他通知channel,“Miscell