[android-porting] who can help me

2010-07-12 Thread 4K^tony
Now i want to modify the source code of CTS,in order to check the hardware,but I can not get any data by get mGpsSatellite.getAzimuth() and mGpsSatellite.getElevation(),i want to useassertFalse(+mGpsSatellite.getAzimuth(),mGpsSatellite.getAzimuth() = 0 mGpsSatellite.getAzimuth() = 360);to get the

[android-porting] how to get the actual data of GPS?

2010-07-12 Thread 4K^tony
i try to get the data by CTS test ,but fail,who can tell me how to resolve this provblem?Thanks! My code and results are as follows: package android.location.cts; import dalvik.annotation.TestLevel; import dalvik.annotation.TestTargetClass; import dalvik.annotation.TestTargetNew; import

[android-porting] who can help me to solve the probl em how to check gps engine by cts?

2010-07-12 Thread 4K^tony
i want to check the Gps devices by CTS test,but i can not get any data expected,i just want to read the azimuth\elevation and so on, the result can be shown by assert() or fail() ,who can help me? Thanks! My source code as follows: /* * Copyright (C) 2008 The Android Open Source Project * *