Win a copy of Java Persistence with Spring Data and Hibernate this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Jeanne Boyarsky
Saloon Keepers:
  • Stephan van Hulst
  • Carey Brown
  • Tim Holloway
  • Piet Souris
Bartenders:

logcat?

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
SO im very new to android (hello world new) and i really just want to make a single app that only displays logcat .... could some one give me a place to start? The dev page isnt very helpful

I have been playing around with this code =/ (not mine but im trying to figure out how it works and trying to get it to display)

 
Bartender
Posts: 7488
171
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Have you verified -maybe using a Terminal app- that "logcat" is a functional command on your Android device? It's not on mine.
 
Jack Si
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Tim Moores wrote:Have you verified -maybe using a Terminal app- that "logcat" is a functional command on your Android device? It's not on mine.



logcat not a command its a log....

[adb] logcat [<option>] ... [<filter-spec>] .
 
Tim Moores
Bartender
Posts: 7488
171
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm familiar with logcat. You're using it as a command on the device, though, which is unlikely to work.
 
Jack Si
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Jack Si wrote:

Tim Moores wrote:Have you verified -maybe using a Terminal app- that "logcat" is a functional command on your Android device? It's not on mine.



logcat not a command its a log....

[adb] logcat [<option>] ... [<filter-spec>] .




perhaps but im using an emulator at the moment
 
Tim Moores
Bartender
Posts: 7488
171
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"adb" is not part of the emulator, but it can access either an emulator or an actual device.
 
Jack Si
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Tim Moores wrote:"adb" is not part of the emulator, but it can access either an emulator or an actual device.



Yes, you have to set it up, but im not using adb =/

I have another program that uses logcat and it works perfectly fine
 
Tim Moores
Bartender
Posts: 7488
171
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That leads us back to the question: is "logcat" a valid, working command on your device? Have you tried it in a terminal emulator?
 
We can walk to school together. And we can both read this tiny ad:
The Low Tech Laboratory Movie Kickstarter is LIVE NOW!
https://www.kickstarter.com/projects/paulwheaton/low-tech
reply
    Bookmark Topic Watch Topic
  • New Topic