I have a Java Project, where i would like to use Android LogCat’s debug-tagging functionality.
Is it somehow possible for Java projects? (not Android, but pure Java)
EDIT:
As stated below, it is not possible.
Is there any alternative for Java?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No. Logcat is formatting the output of the ADB (the Android Debug Bridge). Since you can’t connect the ADB to plain java projects, there is no way for you to use Logcat in such a fashion.
Unless ofcourse you get the Android Eclipse plugin’s source code and modify it to your needs.