How to add a Fixed header in ListActivity - List4.java

by JP » Mon, 16 Nov 2009 12:49:03 GMT


Sponsored Links
 Hi

I am not able to add a Fixed Header in  a customView / ListActivity
very similar to

sample - 
 http://developer.android.com/guide/samples/ApiDemos/src/com/example/android/apis/view/List4.html 


Thanks in advance

--JP

--



Other Threads

1. Where are files created in the simulator stored?





Nitpick: you're running the emulator, not the simulator.

The real reason I want to find the files is because I am downloading


Can you access the file otherwise? I.e. can you open and read the file that
exists at iconFile.getAbsolutePath() ?

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

2. Orientation Sensor problems.

Hi All,

Hoping someone can help me make sense of my problem,  Using eclipse to
create a v1.5 compass application for my tmobile G1.  What i'm
experiencing is wacky heading results from the orientation sensor.

the important bits of my code are :

the setup of the sensor is >>

sensorManager = (SensorManager)getSystemService
(Context.SENSOR_SERVICE);
if (sensorManager != null) {
        Sensor orsensor = sensorManager.getSensorList
(Sensor.TYPE_ORIENTATION).get(0);
        sensorManager.registerListener(sensorListener, orsensor,
SensorManager.SENSOR_DELAY_NORMAL);
}

And my listener is defined as :
private final SensorEventListener sensorListener = new
SensorEventListener() {

                public void onAccuracyChanged(Sensor sensor, int accuracy) {}

                public void onSensorChanged(SensorEvent event) {
                        updateOrientation(event.values[0],
                                        event.values[1],
                                        event.values[2]);
                        Log.d("sensor","Sensor event: 
"+event.sensor.toString()+"//
"+event.values[0]+" "+event.values[1]+" "+event.values[2]);

                }
        };



When I run the app',  my heading values are always being reported as
being between 250 - 270 and don't alter from that irrelevant of which
way I'm pointing the device.

Theres nothing physically wrong with the hardware as all other apps
which use the sensors work fine so i'm confused, i'm sure its
something silly i've missed off.

If anyone can see a problem, please let me know it's greatly
appreciated..

Thanks

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

3. adb: command not found

4. How to send email using my application?

5. webservices-android-ksoap2 ? can i find the answer in this group

6. Join an app test group?

7. How to incorporate external library for android JNI project for a device