push-notification

send notification using openfire xmpp server android using callbackonoffline

柔情痞子 提交于 2020-01-17 05:48:30
问题 I am currently developing chat application using openfire and smack library in android.I have installed openfire on my windows machine and also xampp server on it.I am able to do the android device to device chat using openfire,smack and xampp.I want to send notification when user is unavailable to chat.I found that that there is plugin available in openfire with name callbackonoffline.but i do not know how should i use it from my client android device to receive notification.I am doing using

How to setup setContentTitle and setContentText for Push Notification from json data

萝らか妹 提交于 2020-01-17 04:44:07
问题 I received the response from the server and I parsed that response in the android now I have to set the Notification Title and Text from that response. I means from that particular function. Here I am putting my ParseList() function here where i parsed my response. private void parseList(Bundle bundle) { String id,name,photo,updates; try { JSONObject json = new JSONObject(); Set<String> keys = bundle.keySet(); for (String key : keys) { try { json.put(key, bundle.get(key)); } catch

Facebook App Invide V4.0 Notification

一曲冷凌霜 提交于 2020-01-17 01:55:37
问题 I upgraded my apps (iOS and Android) to the new Facebook SDK (V4.0) to use the Facebook app invite. (See https://developers.facebook.com/products/sharing/app-invites). My problem: when I send an invitation to a Facebook friend he gets a notification if he is using an Android device, but he doesn't get one if he is on iOS (even if he normally receives notifications from Facebook). Despite that, in both cases I can find the invitation in the Facebook app. So the problem is just about the

How to send Push Notification from one iPhone Device to another? [closed]

醉酒当歌 提交于 2020-01-17 01:50:15
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 8 years ago . Is it possible to send Push Notification from one iPhone Device to another? If yes, then can you please show me how it can be done? 回答1: No, you can not send Push Notifications directly between two devices. Push

unable to receive push notification for Google calender

夙愿已清 提交于 2020-01-16 04:54:06
问题 I am trying to watch events resource based on given example using API explorer and Chrome Advanced Rest Client. https://developers.google.com/google-apps/calendar/v3/push#watch_request_examples Requst POST https://www.googleapis.com/calendar/v3/calendars/XXX%40gmail.com/events/watch?key={YOUR_API_KEY} Content-Type: application/json Authorization: Bearer ya29.AHES6ZSNBYiHYPu6Y1_5P08hdb-EX5pdF4Ygj5ou_RKp_jOCS5beiDDH X-JavaScript-User-Agent: Google APIs Explorer { "id": "01234567-89ab-cdef

iOS doesn't receive push from Azure Notification Hub

梦想的初衷 提交于 2020-01-16 04:37:07
问题 In my iOS app I'm trying to add push notifications via Azure Mobile Services. I have followed this article: https://azure.microsoft.com/en-us/documentation/articles/mobile-services-javascript-backend-ios-get-started-push/ But my app still receive no push notifications! In the iOS dev center I registered App ID with Dev and Production push certificates. Added Dev certificate (.p12) to Sandbox in the Azure. I wrote POST function exports.post = function(request, response) { var text = 'You\'ve

Getting Parse Push Notification in List view

白昼怎懂夜的黑 提交于 2020-01-16 04:25:05
问题 I am using parse push notification for my app , the notification comes fine but on clicking the notification I need to show them in a list view , I searched for tutorials but I could not find any . Please help me . Please explain with code , I am new to android . Thanks in advance. here is my custom receiver. public class CustomReciever extends BroadcastReceiver { NotificationCompat.Builder mBuilder; Intent resultIntent; int mNotificationId = 001; Uri notifySound; String alert; @Override

ios alternative to push notification by using iCloud like “find my iPhone”

巧了我就是萌 提交于 2020-01-16 03:30:11
问题 I have been looking at the "find my iPhone" app and it seems like it is using iCloud and no push notification to receive a alertView about a notification. By having some mechanism in the background running and alerting the user once it receives a notification. What I am wondering is that is this app a special exception Apple made for this app, and all other apps have to do push notification? Or can I make an app that runs in the background just like the "find my iPhone" app and communicate

Server name of apple for push notification testing in Production

一曲冷凌霜 提交于 2020-01-16 01:10:55
问题 What is the apple server's/host name for push notification testing of iPhone in production mode? 回答1: For production: gateway.push.apple.com, port 2195 For development: gateway.sandbox.push.apple.com, port 2195 Note: Every app generates different pushtokens for production and development mode. Don't send the same one to both. Source: Apple 来源: https://stackoverflow.com/questions/19784043/server-name-of-apple-for-push-notification-testing-in-production

Parse Receiver android code after sending push from php

给你一囗甜甜゛ 提交于 2020-01-16 01:10:16
问题 I have a PHP code to send push notification, PHP script returns `{"result":true} but its not displayed on the device. I think I need to write a custom receiver code. I have the Receiver class as: package com.phpand; import org.json.JSONException; import org.json.JSONObject; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.util.Log; public class ParseReceiver extends BroadcastReceiver { private