microsoft-dpe/wa-toolkit-android — Issue #9: classcastexception java.lang.Double
Author: GsAndy
Created: 2012-01-04 08:21:42+00:00
State: open

Hi,

I've got a WinForms exe that uploads calculation data to several tables in Azure Table Storage.

I have an Azure Worker role that listens to a Cloud Queue and when the worker finds a message it will run the calculation and put the results in several tables in Azure Table Storage. The results consist of int, double and string values.

From an Android App I want to read the results from the Azure Table Storage. This is pretty much what the Toolkit Sample does and when I read results from tables with only strings and int values everything works fine. But when I try to read from a table containing double values I get:
java.lang.ClassCastException: java.lang.Double

The questions are: Is this by design? Am I not understanding something? Or is this a limitation or bug?

Would be grateful for an answer!

Kind regards,
Andy