草庐IT

delivery_receipt_notification

全部标签

php - 从网站发送 "alert/notification"到手机

我想知道是否有一种方法可以让网站向手机(智能手机、android、iphone...之类的东西)发送警报/通知,通知会向用户提问,他们有回答问题,响应被发送回网站,他们的答案被记录在数据库中。我也想知道这个通知是否可以有复选框?我的项目需要这个,想知道是否有这样的东西。如果您需要更多描述,请告诉我。提前致谢! 最佳答案 没有为每部特定手机构建应用程序来处理此警报,不是真的。如果我是你,我会怎么做...允许用户订阅这些提醒。发送给他们时,请向他们发送指向移动网页的链接。现在请记住,大多数人没有数据计划,甚至不知道如何使用它。最好也允许

android - 如何在 "Notifications"窗口中没有扩展消息的情况下在状态栏中进行通知? (只想要图标)

如何在状态栏中发出通知,但“通知”窗口中没有展开的消息?我的意思是,我只需要图标,仅此而已有办法吗? 最佳答案 Quotingthedocumentation:Astatusbarnotificationrequiresallofthefollowing:AniconforthestatusbarAtitleandexpandedmessagefortheexpandedview(unlessyoudefineacustomexpandedview)APendingIntent,tobefiredwhenthenotificatio

android - Android平台有类似iOS本地Notification的等效解决方案吗?

我的应用需要在未来的某个指定时间(可能几个月后)向用户显示通知。在iOS中,我需要做的就是:UILocalNotification*localNotification=[[UILocalNotificationalloc]init];localNotification.fireDate=[NSDatedateWithTimeIntervalSinceNow:60];localNotification.alertBody=@"Youralertmessage";localNotification.timeZone=[NSTimeZonedefaultTimeZone];[[UIAppli

android - oppo,vivo app kill notification not coming in android fcm

在摩托罗拉测试应用程序,三星在应用程序被杀死时工作正常。但是当我在体内测试应用程序时,如果应用程序被破坏,OPPO将无法工作。publicvoidonMessageReceived(RemoteMessageremoteMessage){Log.e(TAG,"From:"+remoteMessage.getFrom());if(remoteMessage==null)return;//Checkifmessagecontainsanotificationpayload.if(remoteMessage.getNotification()!=null){Log.e(TAG,"Notifi

android - NoSuchMethodError Notification.Builder.build()

Notificationnoti=newNotification.Builder(context).setContentTitle("TITLE").setContentInfo("INFO").build();notificationManager.notify(ID,noti);我对来自google页面的示例有疑问。而且我有异常NoSuchMethodError我不知道发生了什么所以我使用旧的弃用方法和通知noti.setLatestEventInfo但我确定还有另一种解决方案。有什么想法吗? 最佳答案 Notification

android - 我可以检测 Android 是否已从 Notification Intent/PendingIntent 中终止应用程序(任务进程)吗?

Android操作系统会在内存不足时终止进程。场景:Android终止了应用程序进程,我通过Android启动器或最近任务列表(长按主页按钮)重新打开它。我可以使用以下方法检查Android是否在最近查看的Activity的onCreate()方法中终止了我的应用进程:@OverrideprotectedvoidonCreate(BundlesavedInstanceState){super.onCreate(savedInstanceState);if(savedInstanceState!=null){//Re-initialisethingsthatkillingtheappwo

Android : Show Notification in Watch When Any Call or Social Network notification of mobile?(使用蓝牙)

我想这样做,但不知道如何应用/实现。如果手机(Android4.3/4.4)上有任何来电或未接来电、语音邮件或GMail或短信提醒、日历提醒、Facebook聊天和帖子,它会在Watch中显示通知。例如。如果在移动设备中获取新邮件,则该通知提醒会显示在watch屏幕上。(使用蓝牙)ForBetterUnderstandSeeThisLinkorVideo指导我如何实现这一目标。如果可能,请举例说明。谢谢 最佳答案 根据产品信息,它使用BTLE。BTLE有许多配置文件/服务正在运行(检查link)。

php - PhoneGap-Android : Push Notification by Urban Airship from my server

我在AndroidPhoneGap应用程序中工作,我需要使用UrbanAirship推送通知。我在我的应用程序中集成了(Development+Debug)UrbanAirship推送通知,并从UrbanAirship网站发送测试推送并成功接收推送到所有设备。但我需要从我的windows(安装了IIS)服务器发送推送通知(推送文本和发送时间会因服务器时间而异)。我想根据我的计划任务发送推送文本。调度任务由PHP代码完成。那么,有什么线索或想法可以让我以适当的时间表从我的服务器发送推送通知吗?提前致谢。 最佳答案 如果您可以在您的服务

Android推送通知——判断是否显示Notification.bigContentView

我正在创建一个bigContentView通知布局asseeninthisblogpost.出于跟踪目的,了解bigContentView布局是否显示对我来说很重要?有没有一种编程方式可以知道这一点?可能是在我显示通知之前或之后。 最佳答案 您肯定可以确定bigContentView是否(至少)在您的通知中设置,因为它依赖于API级别(API16):这意味着您可以轻松检查session是否是否有资格显示大通知,并通过简单地验证系统api级别相应地跟踪您的指标。关于当前的通知显示状态,只有系统知道真正显示的是什么;实际上没有办法知道它

android - 构建器中的扩展 (android.app.notification.extender) 无法应用于 (android.support.v4.app.notificationcompat.wearableextender)

我试图在Androidwatch上发出通知,但出现此错误。我认为导入有问题,但我无法组织它们。这是我的导入:importandroid.app.Activity;importandroid.app.Notification;importandroid.app.PendingIntent;importandroid.content.Intent;importandroid.content.res.Resources;importandroid.graphics.Bitmap;importandroid.graphics.BitmapFactory;importandroid.os.Bun