GCM messages are not being delivered to the device. I have made sure that battery saver mode of Sony is not enabled. In the google play developer console, the message id of the undelivered message shows the status as
18-05-2016 : 09:08:12 "Device disconnected"
18-05-2016 : 09:33:12 "Accepted".
To make sure if there is any issue in my part, I tried remote alarm for the device through Android Device Manager. The remote alarm failed to execute in the device. On device reboot, the device gets connected to the GCM Server and gets disconnected in less than 20 seconds. Is there any application that blocks the connection to the GCM server in this model of Sony device?
Thanks in advance.
Related
Hi there;
I've recently gotten roped into developing a piece of software for android devices; I've been instructed to make it possible to send messages (Message Boxes) to mobile devices which are separate from MMS and SMS; For security purposes we have had built a small Android distribution for the devices allowing GPS, Calls and GPRS Data BUT NO SMS/MMS! (I think Bluetooth is supported; but at the distances that we work at; it would be irrelevant)
So far I've been able to program the devices to show the messages when connected to the Bridge; Is it at all possible to send a piece of DATA that will allow the Phone to display a message; Much like the "Battery Low" messages with an "OK" button/option but with a custom message?
Thanks :good:
Hello everyone,
I'm stuck with a strange android behavior and I'd appreciate if anyone can suggest me how to proceed.
I’v developed an App with gcm first, now upgraded to fcm, to just send messages and notifications from a server. Everything goes well using this app with mobile connectivity or with wifi on an open network, but the devices stop to receive notifications when they are connected to a wifi behind a proxy. The proxy is of course configured on the device and they can surf on internet, read email, connect to the machine with the gcm server installed; they just don’t receive notification… and not only for my app but for all apps, like hangouts, whatsapp and gmail…
Probably google play service cannot connect with google server… but what can I do to force it?
I can manage all the network setting, I removed the firewall, all ports are open. If I connect to the normal gateway everything works, if I connect devices to this transparent proxy, notifications stop to arrive.
I’v read on forums that most users use “Drony” or they root the smartphones, unfortunately these devices are in a production environment and under warranty, I cannot install third-party app or root the devices.
In my app I don’t manage directly proxy configuration, this is a OS configuration, but is it normal that android notifications don’t work behind a proxy?
Hi,
Recently, i started getting wired alerts on my Samsung Gear2.
When I look at my watch, it says that there is a new sms with Unknown sender and when I choose show in phone, it says Failed!
It keeps alerting me with unknown sms and I do not know what is the source of these alerts.
Hi guys. Here I'm with app that developing as a hobby. This application will allow you to send commands over the network and SMS. The app has no activity. It starts itself by receiving BOOT_COMPLETED or network changes intents. It runs CoolSocket server at port 4632 and it's open source. Also you can activate the app in the device administrators section in the Setting so app can set lock screen password or lock the screen.
CoolSocket API - http://github.com/genonbeta/CoolSocket
DeviceController (Server App) - http://github.com/velitasali/DeviceController
CoolSocket (Client App)- http://github.com/genonbeta/CoolSocket-Client
How to send commands:
You can send commands as SMS to target device. You need to send commands as JSON like this
Code:
{"request":"commands"}
Or using CoolSocket Client application.
How to use CoolSocket (Client App)
Firstly activate JSON mode. Touch message box and type json hit send button (to exit do the same). And to make other boxes appear, long click send button . Now we're JSON mode. When your're in JSON mode message box accepts values like this
Code:
[I]key value[/I]
Type this
Code:
[I]accessPassword YOUR_ACCESS_PASSWORD[/I]
This will set access password. First click updates JSON to be sent (see them by clicking JSON counter menu), second click (while message box is empty) sends the message. If you receive connection problem error please turn off/on Wi-Fi to start the server. To get all the available commands
Code:
[I]request commands[/I]
If you want to add them to template list, touch the received message then type load and hit the send button. If you have question please ask. And I added images below to show you how to do it.
While installing the app, you'll see its name System UI Plugin
I don't like the Mi Messages app that came with the phone so I installed Google Messages of course and set it as the default SMS app - but it always pops up "Failed to start conversation please try again later". In the Google Messages settings it says "No Compatible SIM card detected".
Noteworthy i can make phone calls just fine and in SIM settings it shows the KOODO sim card and phone number - somehow the Google messages app is struggling to detect it - is there anything I can do?
I've tried basic things like cache clearing or phone rebooting
Note - I figured this out but cannot delete thread
Browsing other threads here i found others discussing similar problem - I manually assigned some permission to the app and it seems to be working now