BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 07-30-2009, 02:15 PM   #1 (permalink)
New Member
 
Join Date: Jul 2009
Model: None
PIN: N/A
Carrier: None
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Position for a Log file

Please Login to Remove!

Hello all Im a newbie Blackberry developer and I was asked to keep a log file for the application that Im working on. The thing is that this file should be kept in a place where the phone will be able to access it whether it has or not an SD card and it would be better if you could send it by mail. I was wondering if there was a general folder for every blackberry handset so I can place this file.
Thanks in advance
Claudio
Offline  
Old 07-30-2009, 04:54 PM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

There isn't a general folder for this, but there is a device event log that you can write to.

See EventLogger in the API docs.
Offline  
Old 07-30-2009, 05:38 PM   #3 (permalink)
BlackBerry Extraordinaire
 
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
Post Thanks: 20
Thanked 77 Times in 68 Posts
Default

Quote:
Originally Posted by Dougsg38p View Post
There isn't a general folder for this, but there is a device event log that you can write to.

See EventLogger in the API docs.
Seconded. This is a much better solution than trying to log to a file. Experience talking.
__________________
My other Blackberry is a PlayBook.
Offline  




Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.