This is the sample project created to demonstrate the usage of Alibaba Cloud Messaging and Notification Services.
- Android Studio 3.0.0
- MNS SDK 1.1.8
This application shows a demo of Notification & Messaging services capability of the Alibaba Cloud Messaging and Notification Services (MNS). Please find the device screenshots in "Snapshots" section
- You need a Alibaba Cloud Account. If you want one you can get one with free credit of $300 by registering here
- Clone or download the project into your Android Studio 3.0.0
- You need the /libs folder for proper functioning. DON'T REMOVE LIBS FOLDER.
Please replace your information from your Alibaba Cloud console in "strings.xml".
<resources>
<string name="app_name">YOUR APP NAME</string>
<!-- Alibaba MNS Service details-->
<!-- Please replace this details with your own-->
<!--Public Endpoint-->
<string name="Endpoint">UPDATE YOUR ENDPOINT FOR QUEUES HERE</string>
<!-- Access ID -->
<string name="AccessKey">UPDATE YOUR ACCESS ID</string>
<!-- Access key Secret -->
<string name="AccessKeySecret">UPDATE YOUR ACCESS KEY HERE</string>
<!-- Queue Names -->
<string name="QueueName_1">-QUEUE 1 FOR SEND AND RECEIVE MESSAGE</string>
<string name="QueueName_2">QUEUE 2 FOR NOTIFICATIONS</string>
</resources>
For bugs, questions and discussions please use the Github Issues.
Home | Sending Message |
---|---|
Messages Sent | Receiving Messages |
---|---|
Messages Received | Sending Notification | Notifications Received |
---|---|---|
Copyright (c) 2017-present, Sarath Chandra.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.