FORUMS
Remove All Ads from XDA

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

278 posts
Thanks Meter: 155
 
By _miha_, Senior Member on 29th February 2012, 07:46 PM
Post Reply Email Thread
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:	703
Size:	111.6 KB
ID:	925465   Click image for larger version

Name:	screenshot4.jpg
Views:	505
Size:	41.1 KB
ID:	925466  
Attached Files
File Type: apk RemoteLogCat.apk - [Click for QR Code] (101.1 KB, 185 views)
The Following 14 Users Say Thank You to _miha_ For This Useful Post: [ View ] Gift _miha_ Ad-Free
 
 
2nd March 2012, 02:06 AM |#2  
Epic_VS's Avatar
Senior Member
Thanks Meter: 42
 
More
Nice. I will try it when I get time. It seems very useful.
2nd March 2012, 02:08 AM |#3  
1ceb0x's Avatar
Senior Member
Flag Bucharest
Thanks Meter: 6,361
 
Donate to Me
More
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!
2nd March 2012, 05:26 AM |#4  
rebel1699's Avatar
Senior Member
Flag Oklahoma
Thanks Meter: 1,441
 
More
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!
2nd March 2012, 10:49 AM |#5  
squallvai's Avatar
Member
Flag Yogyakarta
Thanks Meter: 36
 
More
Wow this is work great already do a test from Browser & everything is Great
Nice
3rd March 2012, 10:48 PM |#6  
Senior Member
Thanks Meter: 1,200
 
More
Question
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....
3rd March 2012, 10:59 PM |#7  
OP Senior Member
Flag Hamburg
Thanks Meter: 155
 
Donate to Me
More
Quote:
Originally Posted by CRXed

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

Why is that?

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.
4th March 2012, 07:17 PM |#8  
Senior Member
Thanks Meter: 1,200
 
More
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.
The Following User Says Thank You to CRXed For This Useful Post: [ View ] Gift CRXed Ad-Free
4th March 2012, 10:50 PM |#9  
OP Senior Member
Flag Hamburg
Thanks Meter: 155
 
Donate to Me
More
version 1.04
Quote:
Originally Posted by CRXed

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)!
6th March 2012, 08:34 PM |#10  
Senior Member
Thanks Meter: 1,200
 
More
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.
The Following User Says Thank You to CRXed For This Useful Post: [ View ] Gift CRXed Ad-Free
17th October 2012, 08:07 AM |#11  
OP Senior Member
Flag Hamburg
Thanks Meter: 155
 
Donate to Me
More
To stop the always running background service please disable in the settings and leave the app. This seems not to be obvious enough - so maybe I should add a button in the first menu?
Post Reply Subscribe to Thread

Tags
logcat remote logfile log debug

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes