aboutsummaryrefslogtreecommitdiffstats
path: root/templates/other/Service/root/src/app_package/Service.java.ftl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/other/Service/root/src/app_package/Service.java.ftl')
-rw-r--r--templates/other/Service/root/src/app_package/Service.java.ftl16
1 files changed, 16 insertions, 0 deletions
diff --git a/templates/other/Service/root/src/app_package/Service.java.ftl b/templates/other/Service/root/src/app_package/Service.java.ftl
new file mode 100644
index 0000000..571d2b8
--- /dev/null
+++ b/templates/other/Service/root/src/app_package/Service.java.ftl
@@ -0,0 +1,16 @@
+package ${packageName};
+
+import android.app.Service;
+import android.content.Intent;
+import android.os.IBinder;
+
+public class ${className} extends Service {
+ public ${className}() {
+ }
+
+ @Override
+ public IBinder onBind(Intent intent) {
+ // TODO: Return the communication channel to the service.
+ throw new UnsupportedOperationException("Not yet implemented");
+ }
+}