From 1ccee45d11edd6574f52384dd23fc7f64c666328 Mon Sep 17 00:00:00 2001 From: Nikolay Pultsin Date: Sat, 24 Dec 2011 23:05:01 +0000 Subject: [PATCH] initial version --- AndroidManifest.xml | 1 + AndroidManifest.xml.pattern | 1 + .../libraryService/LibraryService.java | 32 +++++++++++++++++++ 3 files changed, 34 insertions(+) create mode 100644 src/org/geometerplus/android/fbreader/libraryService/LibraryService.java diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 6c2a7d858..37c2b0d7a 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -90,6 +90,7 @@ + diff --git a/AndroidManifest.xml.pattern b/AndroidManifest.xml.pattern index 659bbafea..19d4fee1d 100644 --- a/AndroidManifest.xml.pattern +++ b/AndroidManifest.xml.pattern @@ -90,6 +90,7 @@ + diff --git a/src/org/geometerplus/android/fbreader/libraryService/LibraryService.java b/src/org/geometerplus/android/fbreader/libraryService/LibraryService.java new file mode 100644 index 000000000..d14cb5192 --- /dev/null +++ b/src/org/geometerplus/android/fbreader/libraryService/LibraryService.java @@ -0,0 +1,32 @@ +/* + * Copyright (C) 2010-2011 Geometer Plus + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + * 02110-1301, USA. + */ + +package org.geometerplus.android.fbreader.libraryService; + +import android.app.Service; +import android.content.Intent; +import android.os.IBinder; + +public class LibraryService extends Service { + @Override + public IBinder onBind(Intent intent) { + System.err.println("LibraryService binded for intent " + intent); + return null; + } +}