Temptationx/android-random

Filtering support - patch available

GoogleCodeExporter opened this issue · 3 comments

This isn't an issue/bug, more of a feature addition. This patch adds
support for filtering the log for specific data and also has the same
changes as the previous patch (in saving logcat data issue).

Some things to note:

- No support for PID filtering: I couldn't find any available arguments for
filtering via PID in the docs and the Android Dev I spoke to on irc wasn't
aware of one either, so I'm assuming DDMS manually checks the PID when
filtering with PID. The java code is there and the xml layout for the
dialog has hidden the option until a solution is found.

- Doesn't work with tags with spaces: This is a logcat issue, something
like "My Tag" will NOT be filtered correctly, it will look for "My" only. 

- No support for multiple tag filtering (yet): This is supported by logcat,
I just haven't got around to adding support for it.

Changes:

- Launch mode changed to single task: While debugging, I noticed the same
process open loads of times.
- New XML file for dialog layout
- New menu option for filtering
- strings.xml modified to list new strings
- New methods: createDialog() and createCatter()
- Moved the code around a bit to make it better structured

Original issue reported on code.google.com by alcapw...@googlemail.com on 2 May 2009 at 10:06

Attachments:

I have searched long and hard, and I cannot for the life of me find how to 
apply this 
patch file.  Could you please point me in the right direction? Thanks!

Original comment by suma...@gmail.com on 12 May 2009 at 7:00

In Eclipse, add the project to the workspace as usual. Then right click project 
->
Team -> Apply Patch. Browse to location of patch file and apply.

Original comment by alcapw...@googlemail.com on 12 May 2009 at 7:08

awesome...thanks.  I wasn't just barking up the wrong tree, it was in a forest 
across 
town.  I was attempting to find some way to apply the patch to the apk 
file...doh!

Thanks Again.

Original comment by suma...@gmail.com on 12 May 2009 at 7:11