saichandu415 / MNS-Android-Sample

This is the sample project created to demonstrate the usage of Alibaba Cloud Messaging and Notification Services.
Apache License 2.0
1 stars 1 forks source link
alibaba-cloud alibaba-cloud-messaging android android-studio mns notification-service notifications

License

MNS-Android-Sample

This is the sample project created to demonstrate the usage of Alibaba Cloud Messaging and Notification Services.

Built using

Overview of this application

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

Prerequisites

Installation

  1. Clone or download the project into your Android Studio 3.0.0
  2. You need the /libs folder for proper functioning. DON'T REMOVE LIBS FOLDER.

Access Keys Information

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>

Bugs & Feedback

For bugs, questions and discussions please use the Github Issues.

Snapshots

Home Sending Message
Messages Sent Receiving Messages
Messages Received Sending Notification Notifications Received

License

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.