Skip to content

Files

Latest commit

0bf1e9c · Apr 23, 2024

History

History
67 lines (36 loc) · 2.92 KB

File metadata and controls

67 lines (36 loc) · 2.92 KB

Demo: Real-Time Data Streaming with PubNub on Android

PubNub makes it easy to connect and consume massive real time streaming data and deliver usable information to any number of subscribers. These "firehoses of data" could be weather reports, business metrics, stock quotes, tweets - really any source of data that is constantly changing and emitting updates. PubNub’s Network handles keeping both publishers and subscribers securely connected and ensuring that every piece of data is generally available in real time, so scale (or the amount of data you’re sending) is never an issue.

We’ve built sample realtime data streams to make it easy for you to prototype your streaming application. It is those sample data streams that are consumed by this demo app.

Features

  • Subscribe for real-time messages with the PubNub Kotlin SDK

Installing / Getting Started

To run this project yourself, simply clone this repository, open it in Android Studio and run it on your own device or emulator. You do not need your own Publish and Subscribe keys because you are only subscribing to existing data streams.

Building and Running

  • Clone the Github repository
git clone https://github.com/PubNubDevelopers/Real-Time-Data-Streaming-Demo-Android.git
  • Navigate to the application directory
cd Real-Time-Streaming-Demo-Android
  • Open in Android Studio and build / run

Contributing

Please fork the repository if you'd like to contribute. Pull requests are always welcome.

Links

Checkout the following links for more information on developing chat solutions with PubNub:

Other screenshots

Twitter

Wikipedia

Game State (Simulated)

Sensor Network (Simulated)

Market Orders (Simulated)