Back to project page PasswordDroid.
The source code is released under:
GNU General Public License
If you think the Android project PasswordDroid listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package de.wuthoehle.passworddroid.service; //from w w w . ja v a 2 s . c o m /* Copyright (c) 2015 Marco Huenseler <marcoh.huenseler+git@gmail.com> * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ import android.app.Service; import android.content.Intent; import android.os.Binder; import android.os.IBinder; import java.util.List; import de.wuthoehle.passworddroid.service.model.Database; public class PasswordDroidService extends Service { private List<Database> databases; public PasswordDroidService() { } @Override public int onStartCommand(Intent intent, int flags, int startId) { return Service.START_NOT_STICKY; } @Override public IBinder onBind(Intent intent) { // TODO: Return the communication channel to the service. return new PasswordDroidServiceBinder(); } public final class PasswordDroidServiceBinder extends Binder { public PasswordDroidService getService() { return PasswordDroidService.this; } } }