Android Intent Check getAction(Intent intent)

Here you can find the source of getAction(Intent intent)

Description

get Action

Declaration

public static String getAction(Intent intent) 

Method Source Code

//package com.java2s;

import android.content.Intent;

public class Main {
    public static String getAction(Intent intent) {
        if (intent != null) {
            return intent.getAction();
        }/*w  w  w.  j  av  a2  s.co m*/
        return null;
    }
}

Related

  1. isActionEquals(Intent intent, String expected)
  2. isActionEquals(Intent intent, String expected)
  3. isBroadcastSafe(Context context, Intent intent)
  4. isIntentAvailable(Context context, String action)