For the record, rebooting with a momentary battery removal restored the 
sensor data acquisition rate to the previous rate. (In other words, I 
thankfully do not have to revert back to a prior OS version in order to 
acquire sensor data at the rate my application requires.)

On Monday, April 9, 2012 2:31:35 PM UTC-4, greg wrote:
>
> Last year, I slightly modified the SDK's samples/ApiDemos/OS/Sensors.java 
> code to log the acquired sensor data to the Nexus S internal SD card in CSV 
> format. Last week, after updating the Nexus S from OS 2.3.3 to 4.0.4, the 
> number of logged samples per second plummeted from about 50 samples per 
> second (accelerometer, magnetometer, and gyroscope) to between 5 to 8 
> samples per second. In addition, the application's real time display of 
> data is no longer smooth and continuous but now has lags of several 
> seconds. Also, the TextToSpeech voice saying "starting" that I added to the 
> beginning of my modified sample application now has about a dozen audible 
> gaps in the output of that one word (e.g., 
> "s...s...st...t...ah...ar...rr...rrt..tti...in....ing"). Given that the 
> unmodified ApiDemos/OS/Sensors.java runs smoothly on OS 4.0.4, I suspect 
> the decrease in sampling speed is related to some change in the OS's 
> efficiency of writing to the SD card.
>
> Has anyone else noticed problems related to SD card write speed after 
> updating to OS 4.0.4 (Ice Cream Sandwich)? If I don't hear from anyone, 
> I'll try to isolate the problem with a simpler application and file a bug 
> report.
>

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

Reply via email to