Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import android.os.Bundle;

public class Main {
    public static Object getBundleArg(Bundle extras, String argumentKey) {
        if (extras == null) {
            return null;
        }
        if (!extras.containsKey(argumentKey))
            return null;
        return extras.get(argumentKey);

    }
}