Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import android.content.ComponentName;

public class Main {

    private static String toComponentName(ComponentName cn) {
        if (cn == null)
            return null;
        else
            return cn.getPackageName() + "/" + cn.getShortClassName();
    }
}