User Tools

Site Tools


android_misc

Table of Contents

Android Miscellaneous

Handler

A Handler allows you to send and process Message and Runnable objects associated with a thread's MessageQueue.

private class DataSentRunnable implements Runnable {
  private RPStream stream;
  public DataSentRunnable(RPStream stream) {
	 this.stream = stream;
  }

  public void run() {
    parent.onDataSent(stream);
  }
}

Handler handle = new Handler();
this.handler.post(cr); (or postDelayed())

Kafka

  • Persistent log of Events.
  • Stored as Topics
  • Services through Topics
  • Real-time analytics

All based on Topics

android_misc.txt · Last modified: 2020/03/10 03:29 by jrseti