1
0
mirror of http://galexander.org/git/simplesshd.git synced 2025-01-01 02:40:52 +00:00
Commit Graph

20 Commits

Author SHA1 Message Date
Greg Alexander
f0347f7477 probably startForeground() is overkill? 2014-12-16 18:43:12 -05:00
Greg Alexander
5c01b97345 when creating the Service, we check for a pid file for an orphaned daemon
process, and if it exists, we kill it.
2014-12-16 18:42:37 -05:00
Greg Alexander
e77351edd4 factor the SharedPreferences usage into its own Prefs class 2014-12-16 18:31:53 -05:00
Greg Alexander
5248db4380 add a (useless) service onDestroy() to clean up the sshd 2014-12-16 18:20:01 -05:00
Greg Alexander
aa006d51d8 eek! and call super.onPause() too 2014-12-16 17:11:22 -05:00
Greg Alexander
f5d6675cad make the start button color a little more palatable 2014-12-16 17:09:48 -05:00
Greg Alexander
58eefb02b9 add something to wait for the forked process to die, so it doesn't become
a zombie
2014-12-16 17:07:26 -05:00
Greg Alexander
c6fbf0cbcc fix getting the port number out of the UI 2014-12-16 16:50:05 -05:00
Greg Alexander
41faa118cc fix typos in definition of startstop_clicked() 2014-12-16 16:49:54 -05:00
Greg Alexander
b9ad9864ce whoops, chain to super.onResume() 2014-12-16 16:37:17 -05:00
Greg Alexander
1febe9ebe9 add service lifetime termination, and notes about future service foregrounding.. 2014-12-16 15:55:14 -05:00
Greg Alexander
a9ca75accc communicate the preferences to the C code 2014-12-16 15:50:30 -05:00
Greg Alexander
02a88eae06 typos... 2014-12-16 11:21:17 -05:00
Greg Alexander
8ced3ab635 and there's the start/stop button implementation 2014-12-16 11:20:36 -05:00
Greg Alexander
9cac7ed132 make sshd_pid static 2014-12-16 11:19:26 -05:00
Greg Alexander
720007ae32 now it compiles... 2014-12-16 09:55:54 -05:00
Greg Alexander
643a5aff23 first draft of service 2014-12-16 09:52:42 -05:00
Greg Alexander
4cd9277401 oversight 2014-12-14 23:23:43 -05:00
Greg Alexander
a23c28a02d first draft of preferences ui code 2014-12-14 22:56:31 -05:00
Greg Alexander
3bbf3ce0dc a bare project, created with
android create project --target android-7 --name SimpleSSHD --path `pwd` --package org.galexander.sshd -a SimpleSSHD
2014-12-10 16:17:23 -05:00