Used for questions related to Amazon's Device Messaging, a proprietary messaging protocol generally used by Amazon's Fire OS devices.
Questions tagged [amazon-device-messaging]
26 questions
10
votes
2 answers
Amazon Device Messaging Stub! Android Studio
I'm trying to integrate Amazon Device Messaging with Android Studio. First I followed (integrating-your-app-with-adm). When I call
ADM adm = new ADM(getActivity());
if (adm.isSupported()) {
// ...
}
There's this output on…

Kartenspieler
- 101
- 6
8
votes
1 answer
SNS Batch Publish
I see AWS publish API for sending push notifications to devices.
http://docs.aws.amazon.com/sns/latest/api/API_Publish.html
According to:
https://aws.amazon.com/blogs/aws/push-notifications-to-mobile-devices-using-amazon-sns/
We can
"Send messages…

Neeraj Gupta
- 765
- 1
- 10
- 18
5
votes
0 answers
Build error when using Amazon Device Messaging: class must extend android.app.Service [Instantiatable]
I'm integrating Amazon device messaging into my app following this Offical docs. According to the docs, I have to create a class (MyADMMessageHandler.java) that extends ADMMessageHandlerJobBase and declare my class as a Service in…

L.Nam
- 173
- 1
- 7
5
votes
3 answers
Android Studio runtime error Stub! at com.amazon.device.messaging.ADMMessageReceiver.()
When I build the Amazon (Kindle) flavor of my Android app I run into this Runtime error:
Caused by: java.lang.RuntimeException: Stub!
at com.amazon.device.messaging.ADMMessageReceiver.()
I need the local amazon-device-messaging.jar file to…

b.lyte
- 6,518
- 4
- 40
- 51
3
votes
0 answers
Can I test Amazon device messaging ADM on some emulator?
I use Genymotion wit ARM translation and GAPPS for testing as nearly real life environment for applications... Is this possible for amazon also ? What should I download from where ? I need to integrate ADM to my application so I can send push…

Renetik
- 5,887
- 1
- 47
- 66
3
votes
3 answers
NoClassDefFoundError Amazon ADM integration on kindle
I'm trying the Amazon Device Messaging API
I added the jar file using the import as suggested by Amazon. When I deploy onto the device, I get an error,
06-03 16:24:13.680: E/AndroidRuntime(11038): java.lang.NoClassDefFoundError:…

dcanh121
- 4,665
- 11
- 37
- 84
2
votes
2 answers
Why are my Amazon Appstore submissions being rejected? How to get more info?
Since over a year I have a Russian multiplayer word game published at Amazon.
Now I have translated it to English and German languages, but have problems getting the 2 translated apps through the Amazon Appstore review -
The response is always the…

Alexander Farber
- 21,519
- 75
- 241
- 416
2
votes
2 answers
Remove jar during runtime on Sub-Module in Android Studio
i have three build.gradle files on for the project (project build.gradle) one for the main module (main build.gradle) and one for another sub-module (submodule build.gradle)
My submodule build.gradle uses ADM (Amazon Device Messaging). and therefore…

lavi
- 119
- 1
- 9
2
votes
2 answers
send post Https request with Content Type application Json on C#
I'm trying to send the following request:
POST /messaging/registrations/(REGISTRATION_ID_FOR_DESTINATION_APP_INSTANCE)/messages HTTP/1.1
Host: api.amazon.com
Authorization: Bearer (MY_ACCESS_TOKEN)
Content-Type: application/json
…

mouhcine
- 131
- 1
- 3
- 13
2
votes
2 answers
send httprequest in order to receive some data
I have some difficulties in requesting an access token from an other server.
A request to get that is:
POST /auth/O2/token HTTP/1.1
Host: api.amazon.com
Content-Type: application/x-www-form-urlencoded;charset=UTF-8
…

mouhcine
- 131
- 1
- 3
- 13
2
votes
1 answer
Can not get Registration ID in Emulator
Hi I am running ADMMessenger sample application provided with SDK.
in which I am not able to get Registration ID in register() method of MainActivity.
Method is like this.
private void register()
{
final ADM adm = new ADM(this);
if…

Jignesh Ansodariya
- 12,583
- 24
- 81
- 113
1
vote
1 answer
Can we use same AWS IOT device certificate for two AWS regions?
I have tried to use same AWS IOT certificate in two AWS Regions (Stockholm & London).But device could connect only to the region which the certificate has created (Stockholm).
Can we use the same AWS IOT device certificate for two AWS regions…

Maduranga Walakulu Arachchi
- 21
- 1
- 4
1
vote
0 answers
Amazon Device Messaging is crashing runtime, on android emulator, how to fix it?
Almost all the answers available on stackover, I have already tried in last 5-6 hours, please don't mark duplicate :)
I have referred Amazon Device Messaging documentation for integration into my android project, everything compiles fine but when I…

Sheshnath
- 3,293
- 1
- 32
- 60
1
vote
0 answers
How to parse JSON and urlencoded responses with Jetty HttpClient?
Please recommend the optimal approach for parsing urlencoded or JSON-encoded responses when using Jetty HttpClient.
For example, I have created the following utility class for sending ADM-messages and use BufferingResponseListener there, with…

Alexander Farber
- 21,519
- 75
- 241
- 416
1
vote
1 answer
Run Amazon device messaging on android virtual device
I have bug with amazon device messaging.
compile in gradle:
//compile in gradle
provided files('libs/amazon-device-messaging-1.0.1.jar')
I've been tried:
compile files('libs/amazon-device-messaging-1.0.1.jar')
manifest:

Hoang Duc Tuan
- 415
- 1
- 4
- 15