Customize extends Intent for Local Broadcast Receiver

Create extends Intent Class with custom Parameters and Content. So you can send and receive any Objects (JSONObject, JSONArray, etc.)  via LocalBroadcastManager and BroadcastReceiver.

package biz.bi3.customintent;

import android.content.Intent;

class LocalIntent extends Intent {
    private Object object;

    LocalIntent(String filter){

    void putObject(Object object){
        this.object = object;

    Object getObject(){
        return object;

Download example Code.