Skip to content
Snippets Groups Projects
Commit 36f36a02 authored by Matthias Goebl's avatar Matthias Goebl
Browse files

added about dialog and README

parent 272460f1
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -2,7 +2,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="br.com.bott.droidsshd"
android:installLocation="auto"
android:versionName="0.6"
android:versionName="0.6-mg"
android:versionCode="6">
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Loading
Loading
Tools to configure and manage a Dropbear SSH daemon on Android devices: secure, remote access to your device via network.
This is DroidSSHd.
A tool to install, configure and manage a Dropbear SSH daemon on Android devices: secure, remote access to your device via network.
 
Original author: Augusto Bott (mestre) <augusto@bott.com.br>
http://code.google.com/p/droidsshd/
https://github.com/mestre/droidsshd
 
This version has beed created by Matthias Goebl <matthias.goebl@goebl.net>
https://github.com/matgoebl/droidsshd
It additionally includes
- a sftp-server posted by rgeorgi@gmail.com in http://code.google.com/p/droidsshd/issues/detail?id=1
- ported bugfixes by Tanguy Pruvot <tanguy.pruvot@gmail.com> from https://github.com/tpruvot/android_external_droidsshd
(more try/catch, service startup, released boot receiver, status management)
but preserved the dropbear binaries and related code from https://github.com/mestre/droidsshd
- a service intent "stop"
Now KebabApps' Llama can start/stop the service depending on location profiles:
Choose "custom intent", "start service", package "br.com.bott.droidsshd", class "br.com.bott.droidsshd.system.DroidSSHdService".
To stop the server add data "stop", to start it leave data empty.
DroidSSHd is open source software: you can redistribute it and/or modify
it under the terms of the Apache License 2.0
DroidSSHd 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.
Loading
Loading
@@ -3,6 +3,6 @@
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:icon="@drawable/ic_menu_preferences" android:id="@id/menu_settings" android:title="@string/pref_droidsshd_settings_title" />
<item android:icon="@drawable/ic_menu_refresh" android:id="@id/menu_refreshui" android:title="Refresh UI" />
<item android:icon="@drawable/ic_menu_info_details" android:enabled="false" android:id="@id/menu_about" android:title="About" />
<item android:icon="@drawable/ic_menu_info_details" android:id="@id/menu_about" android:title="About" />
<item android:icon="@drawable/ic_menu_close_clear_cancel" android:id="@id/menu_quit" android:title="@string/menu_quit_title" />
</menu>
Loading
Loading
@@ -72,4 +72,25 @@
<string name="pref_dropbear_start_on_boot_only_if_was_running_default">true</string>
<string name="pref_dropbear_as_root_default">false</string>
<string name="pref_dropbear_port_default">2222</string>
<string name="about_message">This is DroidSSHd.
\nA tool to install, configure and manage a Dropbear SSH daemon on Android devices: secure, remote access to your device via network.
\n
\nOriginal author: Augusto Bott (mestre) &lt;augusto@bott.com.br&gt;
\nhttp://code.google.com/p/droidsshd/
\nhttps://github.com/mestre/droidsshd
\n
\nThis version has beed created by Matthias Goebl &lt;matthias.goebl@goebl.net&gt;
\nhttps://github.com/matgoebl/droidsshd
\nIt additionally includes
\n- a service intent &quot;stop&quot;
\n- a sftp-server posted by rgeorgi@gmail.com in http://code.google.com/p/droidsshd/issues/detail?id=1
\n- ported bugfixes by Tanguy Pruvot &lt;tanguy.pruvot@gmail.com&gt; from https://github.com/tpruvot/android_external_droidsshd
\n
\nDroidSSHd is open source software: you can redistribute it and/or modify
\nit under the terms of the Apache License 2.0
\n
\nDroidSSHd is distributed in the hope that it will be useful,
\nbut WITHOUT ANY WARRANTY; without even the implied warranty of
\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
</string>
</resources>
Loading
Loading
@@ -20,8 +20,10 @@ import br.com.bott.droidsshd.tools.*;
import java.util.Iterator;
import android.util.Log;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.ComponentName;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.ServiceConnection;
import android.os.Bundle;
Loading
Loading
@@ -339,7 +341,18 @@ public class DroidSSHd extends Activity {
// i.setAction("android.intent.action.VIEW");
// i.setData("http://www.android.com");
// i.setType(type)
Util.showMsg("About");
// Util.showMsg("About");
AlertDialog.Builder builder = new AlertDialog.Builder(this);
builder.setTitle("About")
.setMessage(R.string.about_message)
.setCancelable(true)
.setPositiveButton("OK", new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int id) {
dialog.cancel();
}
});
AlertDialog about = builder.create();
about.show();
return true;
default:
return super.onOptionsItemSelected(item);
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment