The android.os.Message uses a Bundle to send with it\'s sendMessage-method. Therefore, is it possible to put a HashMap inside a
android.os.Message
Bundle
HashMap
If you want to send all the keys in the bundle, you can try
for(String key: map.keySet()){ bundle.putStringExtra(key, map.get(key)); }