public static Intent createStartServiceIntent ( Context context , String serviceClassName , String intentAction ) { Intent intent = intentAction != null ? new Intent ( intentAction ) : new Intent ( ) ; return intent . setClassName ( context , serviceClassName ) ; }
Create an Intent to start a service using the given class name and action .