This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.project.sdk | |
import org.gradle.api.Plugin | |
import org.gradle.api.Project | |
import java.util.regex.Matcher | |
import java.util.regex.Pattern | |
class ServicesPlugin implements Plugin<Project> { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ExampleService extends Service { | |
int mStartMode; // indicates how to behave if the service is killed | |
IBinder mBinder; // interface for clients that bind | |
boolean mAllowRebind; // indicates whether onRebind should be used | |
@Override | |
public void onCreate() { | |
// The service is being created | |
} | |
@Override |