Click here to Skip to main content
15,884,425 members
Articles / Programming Languages / Java

Android: How to Receive Notification Messages from Multiple .NET Applications via Websockets

Rate me:
Please Sign up or sign in to vote.
4.96/5 (17 votes)
2 Aug 2012CPOL8 min read 74.4K   2.5K   54  
Simple example showing how an Android application can subscribe to receive notification messages from multiple .NET applications using Websockets.
/* AUTO-GENERATED FILE.  DO NOT MODIFY.
 *
 * This class was automatically generated by the
 * aapt tool from the resource data it found.  It
 * should not be modified by hand.
 */

package eneter.android;

public final class R {
    public static final class attr {
    }
    public static final class drawable {
        public static final int ic_launcher=0x7f020000;
    }
    public static final class id {
        public static final int linearLayout1=0x7f050002;
        public static final int received1EditText=0x7f050005;
        public static final int received2EditText=0x7f050008;
        public static final int received3EditText=0x7f05000b;
        public static final int reconnectBtn=0x7f050000;
        public static final int statusTextView=0x7f050001;
        public static final int subscribe1Btn=0x7f050003;
        public static final int subscribe2Btn=0x7f050006;
        public static final int subscribe3Btn=0x7f050009;
        public static final int unsubscribe1Btn=0x7f050004;
        public static final int unsubscribe2Btn=0x7f050007;
        public static final int unsubscribe3Btn=0x7f05000a;
    }
    public static final class layout {
        public static final int main=0x7f030000;
    }
    public static final class string {
        public static final int Reconnect=0x7f040008;
        public static final int SubscribeMsg1=0x7f040002;
        public static final int SubscribeMsg2=0x7f040003;
        public static final int SubscribeMsg3=0x7f040004;
        public static final int UnsubscribeMsg1=0x7f040005;
        public static final int UnsubscribeMsg2=0x7f040006;
        public static final int UnsubscribeMsg3=0x7f040007;
        public static final int app_name=0x7f040001;
        public static final int hello=0x7f040000;
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect
Slovakia Slovakia
My programming path started in 1987 when I got my first computer Sharp MZ-800.
It came with 8 bit CPU Z80, 64Kb RAM and the tape recorder. It was a great machine. I think I still have it somewhere.
I was fascinated and I started to write first programs. Eventually I became developer and software architect. I like innovations and clean nice solutions.

Comments and Discussions