Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4623492
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T02:59:42+00:00 2026-05-22T02:59:42+00:00

I have an android application that I have published on the Market. Some customers

  • 0

I have an android application that I have published on the Market. Some customers have reported compatibility issues with certain devices. I believe that I need to look at the LogCat for these devices to spot the issue. The problem is that I don’t have those devices handy for testing.

Is there some way that I can enable the application to log the logcat output during the time its active? I know that I can add manual logging and write it to a file but I don’t want to log output from only my application but everything from LogCat. I can then have the customers send me there log files for analysis.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T02:59:43+00:00Added an answer on May 22, 2026 at 2:59 am

    If they have SDK installed just connect the phone and do:

    adb logcat -d > logcat.txt
    

    I don’t think there’s an “out of the box” solution on Android OS for what you want. It would be a security risk IMHO. There may be an app.

    You can find a thread about this here: http://forum.xda-developers.com/showthread.php?t=543128

    A way to handle this is to when the application has a crash or fails doing something (try..catch or if…) you can then save the stack to a file for users to send you, or send it automatically to your server (you should warn users of course)

    EDIT:

    As said in the other anwswer “there’s an app for that”: https://market.android.com/details?id=org.jtb.alogcat

    This can also be useful: https://market.android.com/details?id=net.robotmedia.bugreporter
    An app that’s really for Bug Reporting.

    EDIT 2:

    I was mistaken, you can catch logcat from inside your app:

    Process logcat = Runtime.getRuntime().exec("logcat"); // start process
    BufferedReader reader = new BufferedReader( new InputStreamReader(logcat.getInputStream())); // grab output stream
    

    This should be done in a separated thread.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have finished my first application and published in android marketplace ( https://market.android.com/details?id=Mobilesoft.asia.numbers&feature=search_result )
I have an application that I'm going to publish to the Android market. I'm
I created an Android application that I have published in the marketplace. It crashes
I have an android application that consists of a WebWiew and I need to
I have an android application that works like restriction of some Apps categories like
I published an application at Android market but the Android market is stating that
I have an application published in the android market, and now I want to
In the Statistics link of each application I have published in Google's Android Market,
I have an Android application that connects to Facebook to request authorization of an
I have an Android application that uses the Android database to create tables and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.