Have Untyped DataSet from a Webservice call. How do I translate that to show in Android App?

by David D » Sun, 07 Mar 2010 03:07:58 GMT


Sponsored Links
 I am making a Webservice call to return data and it's coming back as
an untyped Dataset.

How am using the KSoap2 jar package.  How do I take the Untyped
dataset and return it in a Readable manner in an Android App?

Can I typecast it directly to a Cursor?  Do I use a ContentProvider
for this?  IS there an example on how to do this somewhere?


Thanks,
David

--



Other Threads

1. Video and Audio format Supported by Android

Hi All

 i want to knw what r the Audio and Video format r supported by
Android by Default .

is thier any plug-ins  needs to be add in to SDK .



--~--~---------~--~----~------------~-------~--~----~

2. Using OpenIntents SensorSimulator

Hi,

I want to write a program that can respond to events sensed by
accelerometer. I have the openIntents.jar in my classpath. Also, I
have a simple activity, onCreate() of which has the following lines of
code:

/////////////////////////////////////

mSensorManager = (SensorManager)getSystemService(SENSOR_SERVICE);
Hardware.mContentResolver = getContentResolver();
mSensorManager = (SensorManager) new SensorManagerSimulator(
                                
(SensorManager)getSystemService(SENSOR_SERVICE));


mSensorManager.unregisterListener(this);
SensorManagerSimulator.connectSimulator();

mSensorManager.registerListener(this,
                        SensorManager.SENSOR_ACCELEROMETER ,
                        SensorManager.SENSOR_DELAY_UI);

/////////////////////////////////////

The activity implements the SensorListener Interface and the
onSensorChanged event is coded as follows:

public void onSensorChanged(int sensor, float[] values) {

Log.d("MSG","Acceleromoter detected");
}

When, I run my application and check logcat, i see Log.d() messages
written continuously even when i am not simulating any movements of
the device using the openIntents simulator. the javadoc for
onSensorChanged() reads:
"Called when sensor values have changed. The length and contents of
the values array vary depending on which sensor is being
monitored...."

Is this behavior normal? Am i missing something?




--~--~---------~--~----~------------~-------~--~----~

3. "Unable to look up android.git.kernel.org (port 9418) (Name or service not known)" during sync up

4. TextView - line break

5. Import java.microedition.*... A solution please...

6. market upload issues

7. Google Docs, again