What adapter to use with a Spinner and a ListView in the same layout?

by Dan U. » Fri, 18 Apr 2008 16:17:11 GMT

Sponsored Links
 h, so the xml you posted is notes_list.xml? That might be the
problem. I think the adapter is looking for a layout file describing a
single item in the list, not the layout that contains the listview.

On Apr 17, 5:22 pm, "Fred Janon" <[EMAIL PROTECTED]> wrote:

Other Threads

1. Getting & setting apk configuration in Activity


In Java ME we can set  .jad configuration in decrition file and we can
get this values in midlet by getAppProperti("");
So in Android we can set apk configuration  ( eclipse) apk
But when i set this! my file defaul properties change and my projet
signal some error.

So in activity whe can add System.setProeprty("name","values")

My probleme  I wan to specify the server IP and some code in apk only
for this apk file. Each apk can have his code and server ip.

I need some help


2. How to use the RotationMatrix, actually how to get it

I have a sensor event handler that gets fired and I have no problem
getting and processing acceleration readings. However this code
always fails.

                if (event.sensor.getType() == Sensor.TYPE_ACCELEROMETER)
                        float[] geomagnetic = new float[3];
                        geomagnetic[0] = geomagnetic[1] = geomagnetic[2] = 0;

                        float[] r = new float[9];
                        float[] I = new float[9];
                        boolean b = SensorManager.getRotationMatrix(r, I, 
(), event.values.clone());
                        if ( ! b)
                                Log.e(LOG_TAG, "getRotationMatrix failed");



3. New toys...

4. Programmatically setting style attribute

5. MenuItem ID

6. Change the color of the EditBox hint

7. How to manage service lifecycle when device kills it due to low memory