migrating 1.5_pre -> 1.5_r1

by skink » Thu, 30 Apr 2009 01:43:52 GMT


Sponsored Links
 hi,

just migrated from 1.5_pre to r1.

should i re-create all AVDs created with 1.5_pre ?
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Locked application

Is it possible to create a application which lock the system.
Like, I would like to create an application who start when I start the
device and stay running (only this application) until I turned off.

Is is possible ?

-- 

2. ListPreference

I know that I'm doing something really stupid but can't see "the
forrest for the trees".

Have the following in preferences.xml
<ListPreference
        android:key="dspmeasurement"
        android:defaultValue="MILE"
        android:title="@string/str_default_measurement"
                android:entries="@array/measurementArray"
                android:entryValues="@array/measurementValues" >
    </ListPreference>

and in the program:
            String  prefdspmeasurement;
            String  strMeasure="initial";


            prefdspmeasurement  = dfltprefs.getString("dspmeasurement",
"ai");
            if (prefdspmeasurement == "MILE")
                        strMeasure = "miles";
            else
                        strMeasure = "kilometers";


            Log.d("LPB: "," Measure:"+prefdspmeasurement+":"+strMeasure+"
Temperate:"+prefDspTemperate+" Dry:"+prefDspDry+" Urban:"+prefDspUrban
+" Mtn:"+prefDspMtn+" Flat:"+prefDspFlat);

The if seems to always return false.  The debug statement below shows
the prefdspmeasurement to be MILE but the strMeasure is set to
kilometers.

03-17 21:28:00.380: DEBUG/LPB:(22849):  Measure:MILE:kilometers
Temperate:true Dry:true Urban:true Mtn:true Flat:true

Any ideas would be appreciated.

-- 

3. Updated to 10.0.1 - layout editor no longer working

4. [WTS] Xperia X10 Mini Red Black

5. handling the results of the DatePickerDialog

6. Android Kernel with NFC

7. [help] knapa app2sdnya kaya gini ya?