changeset 523:775a81a78a2b stable-1.9.4-7

add more debug code
author Carl Byington <carl@five-ten-sg.com>
date Fri, 31 May 2024 18:53:22 -0600
parents 645d22a0e8cb
children 609b142218bc
files Makefile app/src/main/java/com/five_ten_sg/connectbot/HostListActivity.java
diffstat 2 files changed, 10 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Fri May 31 18:30:19 2024 -0600
+++ b/Makefile	Fri May 31 18:53:22 2024 -0600
@@ -17,6 +17,9 @@
 adb=/home/carl/Android/Sdk/platform-tools/adb
 aapt=/home/carl/Android/Sdk/build-tools/33.0.0/aapt
 
+# dropbox path
+dropboxpathandroid:='AccuSpeech Mobile Dropbox/AccuSpeech/Software/Android'
+
 ifeq ($(style),release)
     task:=assembleArmRelease
 	debug:=0
@@ -138,8 +141,13 @@
 	$(adb) install -r -d $(debugapk)
 
 logcat.device:
+	$(adb) logcat -c
 	$(adb) logcat
 
+push.dropbox:
+	cp -a -p $(apk)		 ~/$(dropboxpathandroid)
+	cp -a -p $(debugapk) ~/$(dropboxpathandroid)
+
 push:
 	# from from android build machine
 	hg push ssh://ns.five-ten-sg.com/usr/hg/510Connectbot || /bin/true
@@ -160,4 +168,5 @@
 # hg commit -m 'commit message'
 # make build.asm.packages
 # make push
+# make push.dropbox
 # make install.android
--- a/app/src/main/java/com/five_ten_sg/connectbot/HostListActivity.java	Fri May 31 18:30:19 2024 -0600
+++ b/app/src/main/java/com/five_ten_sg/connectbot/HostListActivity.java	Fri May 31 18:53:22 2024 -0600
@@ -497,9 +497,7 @@
                 if (!line.contains("://")) continue;            // invalid uri
 
                 Uri uri = Uri.parse(line);
-                String uriline = line;
-                Log.d(TAG, "uriline: " + uriline);
-                Log.d(TAG, "uri 2 str: " + uri.toString());
+                Log.d(TAG, "uri: " + uri.toString());
 
                 ContentValues values = null;