Hi,

In my application, I have created a read from file module which reads
from the log report and manipulates the data. I was having problems
with the data manipulation, so decided to reprint the read log lines.
However, upon doing so, I found that not all of the lines from the log
are read. Some of the lines in the middle are not read. Following is
an example:


The logfile has the following lines: where the *** lines are not read.

V/LOCATION_GETACCURACY_APP( 2022): The API tested was:
android.location.Location
.getAccuracy()
V/LOCATION_GETACCURACY_APP( 2022):
V/LOCATION_GETACCURACY_APP( 2022):  STARTING TO TEST THE LOCATION
APPLICATION
V/LOCATION_GETACCURACY_APP( 2022):
V/LOCATION_GETACCURACY_APP( 2022):  STARTING TO TEST THE API :
android.location.
getAccuracy()
V/LOCATION_GETACCURACY_APP( 2022):
__________________________________________________________________***
V/LOCATION_GETACCURACY_APP( 2022): THE NAME OF THE API: public float
getAccuracy
()
V/LOCATION_GETACCURACY_APP( 2022): THE EXACT INPUT PARAMETERS OF THE
API:Void***
V/LOCATION_GETACCURACY_APP( 2022): The result is:120.0***
V/LOCATION_GETACCURACY_APP( 2022): The result is:120.0
V/LOCATION_GETACCURACY_APP( 2022): The result is:120.0
V/LOCATION_GETACCURACY_APP( 2022): SUCCESS_DummyvalidationString***
V/LOCATION_GETACCURACY_APP( 2022):
V/LOCATION_GETACCURACY_APP( 2022): CALLING THE VALIDATION STRING FILE
OF AndroidTest Class...***
V/ANDROID_API_TESTER( 2022): The file exists?... false
V/ANDROID_API_TESTER( 2022): The Newfile is created : true***
I/global  ( 2022): Sep 29, 2008 6:25:51 PM java.io.BufferedWriter
<init>



Dalvik (after the read from file module reprints the same log lines
with the extra tag "Went after the if of else....." given by me and
changed case):

09-29 18:26:10.410: VERBOSE/ANDROID TEST(2158): Went after the if of
else.....v/location_getaccuracy_app( 2022): the api tested was:
android.location.location.getaccuracy()
09-29 18:26:10.410: VERBOSE/ANDROID TEST(2158): Went after the if of
else.....v/location_getaccuracy_app( 2022):  starting to test the
location application
09-29 18:26:10.430: VERBOSE/ANDROID TEST(2158): Went after the if of
else.....v/location_getaccuracy_app( 2022):  starting to test the
api : android.location.getaccuracy()
09-29 18:26:10.439: VERBOSE/ANDROID TEST(2158): Went after the if of
else.....v/location_getaccuracy_app( 2022): the name of the api:
public float getaccuracy()
09-29 18:26:10.439: VERBOSE/ANDROID TEST(2158): Went after the if of
else.....v/location_getaccuracy_app( 2022): the result is:120.0
09-29 18:26:10.439: VERBOSE/ANDROID TEST(2158): Went after the if of
else.....v/location_getaccuracy_app( 2022): the result is:120.0
09-29 18:26:10.439: VERBOSE/ANDROID TEST(2158): Went after the if of
else.....v/location_getaccuracy_app( 2022):
09-29 18:26:10.439: VERBOSE/ANDROID TEST(2158): Went after the if of
else.....v/android_api_tester( 2022): the file exists?... false
09-29 18:26:10.459: VERBOSE/ANDROID TEST(2158): Went after the if of
else.....i/global  ( 2022): sep 29, 2008 6:25:51 pm
java.io.bufferedwriter <init>
else.....w/processmanager( 2158): error killing process 2169: no such
process

Please help! Thank you in advance for any insight that you can
provide.

Thanks again,
Susama

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to