You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
Context: implement startService() and bindService()
This commit is contained in:
@@ -1,5 +1,15 @@
|
||||
package android.app;
|
||||
|
||||
public class Service {
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.os.IBinder;
|
||||
|
||||
public abstract class Service extends Context {
|
||||
|
||||
public abstract void onCreate();
|
||||
|
||||
public abstract IBinder onBind(Intent intent);
|
||||
|
||||
public abstract int onStartCommand(Intent intent, int flags, int startId);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user