Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,778,176 Members 51,690 Now Online
XDA Developers Android and Mobile Development Forum

[APP][1.5+] Remote LogCat 1.08 - device/browser/sd/http/sms logcat

Tip us?
 
_miha_
Old
(Last edited by _miha_; 12th February 2013 at 10:01 PM.)
#1  
Senior Member - OP
Thanks Meter 143
Posts: 278
Join Date: May 2010
Location: Hamburg

 
DONATE TO ME
Default [APP][1.5+] Remote LogCat 1.08 - device/browser/sd/http/sms logcat

You did read the title and still clicked so I think you may need this little app

I wanted to see the Android device log convenient on my desktop browser without using USB cable and also be able to send APKs to the device to update my apps. Without root! App install of course needs confirmation on device.
Also a nice log view on the device is always helpful - I found aLogCat scrolling too slow to be usefull and it can not jump directly to errors.
For tests of my remotely running app MobileWebCam I also need the possibility to get logs saved even without internet connection - so SMS can be sent to the device to trigger logging. For other apps there is an intent to trigger logs if Remote LogCat is installed. And the standard feature is there, too: dump logs from time to time onto sdcard, http or others like email with the support of my other app AutoShare ...

Filtering the log is a little complicated right now but I found myself using the full log most of the time anyway ...

Find the apk is attached to this post or in Android Market.
Attached Thumbnails
Click image for larger version

Name:	screenshot1.png
Views:	634
Size:	111.6 KB
ID:	925465   Click image for larger version

Name:	screenshot4.jpg
Views:	438
Size:	41.1 KB
ID:	925466  
Attached Files
File Type: apk RemoteLogCat.apk - [Click for QR Code] (101.1 KB, 91 views)
The Following 14 Users Say Thank You to _miha_ For This Useful Post: [ Click to Expand ]
 
Epic_VS
Old
#2  
Epic_VS's Avatar
Senior Member
Thanks Meter 42
Posts: 172
Join Date: Dec 2011
Nice. I will try it when I get time. It seems very useful.
Nexus S 4G Nexus 5
 
1ceb0x
Old
#3  
1ceb0x's Avatar
Senior Member
Thanks Meter 4895
Posts: 4,445
Join Date: Jun 2010
Location: Bucharest

 
DONATE TO ME
Ohh, for some time I've wanted something like this! Thank you _miha_!

Downloading now, will report a little bit later as my phone is currently in 'flashing' state!
 
My past projects

HTC Hero GSM!
SHPONGLE / HeroICS 4.0.3 / BEASTsense

HTC One V GSM!
SHPONGLE
PARANOID ANDROID



LG G2
render™ inside | AICP™ 4.4


Nexus 4
hellscore™ inside | slimKKatz™


Like my work for the community? Feel free to make a donation
 
rebel1699
Old
#4  
rebel1699's Avatar
Senior Member
Thanks Meter 1218
Posts: 1,661
Join Date: Feb 2008
Location: Oklahoma
Thanks _miha_! Working great on my LG Thrill 2.3.5. I would love to see it auto scroll on the pc browser side. Even without it, awesome app. Thanks again!
 
squallvai
Old
#5  
squallvai's Avatar
Member
Thanks Meter 34
Posts: 91
Join Date: Apr 2009
Location: Yogyakarta
Wow this is work great already do a test from Browser & everything is Great
Nice
Device : HTC7 Mozart
ROM : Dynamics7 v2.0 by Ultrashot

Device : SE Xperia X1 Black [HTC Kovsky]
ROM : Dynamics 2.4.5 by Ultrashot
 
CRXed
Old
(Last edited by CRXed; 3rd March 2012 at 10:54 PM.)
#6  
Senior Member
Thanks Meter 1079
Posts: 1,689
Join Date: Jan 2010
It does not work for me, because the browser URL shows up like this:

http://fe80::123:65ff:fe68:767a%wlan0:8080

Why is that?
I am using a SGS2 with CM9.

Also, the RemoteLogCat service is running all the time, even when the app is closed....
Samsung Galaxy SII i9100
CyanogenMod 11.0
Android 4.4.4
 
_miha_
Old
(Last edited by _miha_; 3rd March 2012 at 11:01 PM.)
#7  
Senior Member - OP
Thanks Meter 143
Posts: 278
Join Date: May 2010
Location: Hamburg

 
DONATE TO ME
Quote:
Originally Posted by CRXed View Post
That is an IPv6 format address. I do not know why you have one - maybe CM9 uses v6 preferred?

Try to enter [ and ] around the numbers and ::s. Like:

http://[fe80::123:65ff:fe68:767a%wlan0]:8080

(see here: http://superuser.com/questions/24212...ver-using-ipv6)

You can disable webserver with the third setting (Enable - HTTP server enabled. Access using Browser...) - it is enabled default at the moment so users do not have to search it before trying the app.
 
CRXed
Old
#8  
Senior Member
Thanks Meter 1079
Posts: 1,689
Join Date: Jan 2010
I can't get it to work.

My phone has a normal IPv4 IP adres, 192.168.0.13

I tried
http://[fe80::123:65ff:fe68:767a%wlan0]:8080
http://[fe80::123:65ff:fe68:767a]:8080, because, what is %wlan ??

Anything else I can try?

Also, when disabling HTTP server and exiting the app with the back button, the logcat service is still alive.
Samsung Galaxy SII i9100
CyanogenMod 11.0
Android 4.4.4
The Following User Says Thank You to CRXed For This Useful Post: [ Click to Expand ]
 
_miha_
Old
#9  
Senior Member - OP
Thanks Meter 143
Posts: 278
Join Date: May 2010
Location: Hamburg

 
DONATE TO ME
Default version 1.04

Quote:
Originally Posted by CRXed View Post
Anything else I can try?

Also, when disabling HTTP server and exiting the app with the back button, the logcat service is still alive.
Updated version 1.04 displays ipv4 adress only now. And does no longer let Android restart the service in case it is not enabled (thanks for making me aware of that)!
 
CRXed
Old
#10  
Senior Member
Thanks Meter 1079
Posts: 1,689
Join Date: Jan 2010
IPv4 is working now!


But when I disable the HTTP server, I still see a service running in the background.
Which service is this? I use SystemPanel to check.

Also, when opening the app for the first time, my entire phone get's very slow, because it is trying to retreive all logging info.
After clearing the log, everything is smooth again.

Also, when the log is very big, I get this:

Code:
W/dalvikvm(18755): threadid=21: thread exiting with uncaught exception (group=0x40a541f8)
E/AndroidRuntime(18755): FATAL EXCEPTION: Thread-333
E/AndroidRuntime(18755): java.lang.OutOfMemoryError
E/AndroidRuntime(18755): 	at java.lang.AbstractStringBuilder.enlargeBuffer(AbstractStringBuilder.java:94)
E/AndroidRuntime(18755): 	at java.lang.AbstractStringBuilder.append0(AbstractStringBuilder.java:145)
E/AndroidRuntime(18755): 	at java.lang.StringBuilder.append(StringBuilder.java:216)
E/AndroidRuntime(18755): 	at com.dngames.remotelogcat.a.a(HelloServer.java:85)
E/AndroidRuntime(18755): 	at com.dngames.remotelogcat.h.run(NanoHTTPD.java:424)
E/AndroidRuntime(18755): 	at java.lang.Thread.run(Thread.java:856)
W/ActivityManager( 1803):   Force finishing activity com.dngames.remotelogcat/.RemoteLogCat
More info in my signature.
Samsung Galaxy SII i9100
CyanogenMod 11.0
Android 4.4.4

The Following User Says Thank You to CRXed For This Useful Post: [ Click to Expand ]
Tags
logcat remote logfile log debug
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


[APK] Google News and Weather Gets Material Design Makeover, Minor Maps Updates

Although Google has somewhat gotten out of the habit of their … more

Software Build Automation with Jenkins – XDA Developer TV

Many members of the XDA community come to learn and begin in the exciting … more

Add Bits and Pieces of Honami to Your Current ROM

In the last few months, we’ve talked about quite a few Sony Honami-related projects. … more

Always Enter the Correct Password with HideNoPasswords

If you’ve ever entered apassword on your mobile device, you’ve surely … more