Code example for Intent

Methods: getCategories

        return false; 
    private static FastImmutableArraySet<String> getFastIntentCategories(Intent intent) {
        final Set<String> categories = intent.getCategories();
        if (categories == null) {
            return null; 
        return new FastImmutableArraySet<String>(categories.toArray(new String[categories.size()]));
    private void buildResolveList(Intent intent, FastImmutableArraySet<String> categories,
            boolean debug, boolean defaultOnly,
            String resolvedType, String scheme, List<F> src, List<R> dest, int userId) {
        final String action = intent.getAction();
        final Uri data = intent.getData();
        final String packageName = intent.getPackage();
        final boolean excludingStopped = intent.isExcludingStopped();
Connect your IDE to all the code out there  Get Codota for Java