Sony Encouraging SmartWatch 2 Development

Mobile device companies like selling devices–it’s how they make their money and … more

Easily Toggles Your Lollipop Mobile Data Network Type

Android Lollipop is by good margin the most advanced and refinedversion of … more

Unofficial CM12 for Android One, Disabling Encryption on Nexus 6 – XDA TV

Android One devices have received an Unofficial CyanogenMod … more

Pushbullet Universal Copy/Paste Availabe for Linux, Mac OS X

Pushbullet is one of those useful utilities that once installed, permanently … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP _miha_

29th February 2012, 08:46 PM   |  #1  
OP Senior Member
Flag Hamburg
Thanks Meter: 145
 
278 posts
Join Date:Joined: May 2010
Donate to Me
More
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:	645
Size:	111.6 KB
ID:	925465   Click image for larger version

Name:	screenshot4.jpg
Views:	449
Size:	41.1 KB
ID:	925466  
Attached Files
File Type: apk RemoteLogCat.apk - [Click for QR Code] (101.1 KB, 97 views)
Last edited by _miha_; 12th February 2013 at 11:01 PM.
The Following 14 Users Say Thank You to _miha_ For This Useful Post: [ View ]
2nd March 2012, 03:06 AM   |  #2  
Epic_VS's Avatar
Senior Member
Thanks Meter: 42
 
172 posts
Join Date:Joined: Dec 2011
More
Nice. I will try it when I get time. It seems very useful.
2nd March 2012, 03:08 AM   |  #3  
1ceb0x's Avatar
Senior Member
Flag Bucharest
Thanks Meter: 5,775
 
5,058 posts
Join Date:Joined: Jun 2010
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, 06:26 AM   |  #4  
rebel1699's Avatar
Senior Member
Flag Oklahoma
Thanks Meter: 1,233
 
1,681 posts
Join Date:Joined: Feb 2008
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, 11:49 AM   |  #5  
squallvai's Avatar
Member
Flag Yogyakarta
Thanks Meter: 34
 
96 posts
Join Date:Joined: Apr 2009
More
Wow this is work great already do a test from Browser & everything is Great
Nice
3rd March 2012, 11:48 PM   |  #6  
Senior Member
Thanks Meter: 1,134
 
1,733 posts
Join Date:Joined: Jan 2010
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....
Last edited by CRXed; 3rd March 2012 at 11:54 PM.
3rd March 2012, 11:59 PM   |  #7  
OP Senior Member
Flag Hamburg
Thanks Meter: 145
 
278 posts
Join Date:Joined: May 2010
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.
Last edited by _miha_; 4th March 2012 at 12:01 AM.
4th March 2012, 08:17 PM   |  #8  
Senior Member
Thanks Meter: 1,134
 
1,733 posts
Join Date:Joined: Jan 2010
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 ]
4th March 2012, 11:50 PM   |  #9  
OP Senior Member
Flag Hamburg
Thanks Meter: 145
 
278 posts
Join Date:Joined: May 2010
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, 09:34 PM   |  #10  
Senior Member
Thanks Meter: 1,134
 
1,733 posts
Join Date:Joined: Jan 2010
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 ]
Post Reply Subscribe to Thread

Tags
logcat remote logfile log debug
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes