Android OpenCore question.....

by rcp2...@gmail.com » Fri, 06 Mar 2009 01:10:57 GMT


Sponsored Links
 What is the difference between the header versions under "linux" and
"linux_nj", for example under the directory /oscl/config?

Thanks

-R
--~--~---------~--~----~------------~-------~--~----~

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



Other Threads

1. random 404 on google android pages

Hi

I've been trying to upload a new version of my apps for the past 7
hours without much luck.
http://market.android.com/publish returns 404 or times out constantly.

Any news on what's going on? I entered IRC and checked twitter and it
seems a widespread problem for the past 20 hours, but I see no news or
posts in here.

Regards,
Joaquin Grech

-- 

2. ListPreference.getSummary

Some error occured on device with Cyanogen:
04-03 14:35:04.793 E/AndroidRuntime(21105):
java.util.UnknownFormatConversionException: Conversion is ''
04-03 14:35:04.793 E/AndroidRuntime(21105): at java.util.Formatter
$FormatSpecifierParser.advance(Formatter.java:2641)
04-03 14:35:04.793 E/AndroidRuntime(21105): at java.util.Formatter
$FormatSpecifierParser.parseConversionType(Formatter.java:2716)
04-03 14:35:04.793 E/AndroidRuntime(21105): at java.util.Formatter
$FormatSpecifierParser.parseArgumentIndexAndFlags(Formatter.java:2687)
04-03 14:35:04.793 E/AndroidRuntime(21105): at java.util.Formatter
$FormatSpecifierParser.parseFormatToken(Formatter.java:2624)
04-03 14:35:04.793 E/AndroidRuntime(21105): at
java.util.Formatter.doFormat(Formatter.java:1072)
04-03 14:35:04.793 E/AndroidRuntime(21105): at
java.util.Formatter.format(Formatter.java:994)
04-03 14:35:04.793 E/AndroidRuntime(21105): at
java.lang.String.format(String.java:2254)
04-03 14:35:04.793 E/AndroidRuntime(21105): at
java.lang.String.format(String.java:2219)
04-03 14:35:04.793 E/AndroidRuntime(21105): at
android.preference.ListPreference.getSummary(ListPreference.java)
It happens only on Cyanogen's firmware when there's "%" symbol in
ListPreference's summary.

If u will open ListPreference.java from Froyo's sources u wouldn't
find method ListPreference.getSummary, so it looks like ListPreference
uses base method from Preference.java:
 public CharSequence getSummary() {
        return mSummary;
    }
And javadoc's from eclipse it confirms that:Returns the summary of
this Preference.

Ok, now let's open ListPreference.java from Cyanogen's sources:
  public CharSequence getSummary() {
        final CharSequence entry = getEntry();
        if (mSummary == null || entry == null) {
            return super.getSummary();
        } else {
            return String.format(mSummary, entry);
        }
    }
It look's like it's Cyanogen's feature (only 8 bug reports from >3000
users), but let's go to 
http://developer.android.com/reference/android/preference/ListPreference.html:
Returns the summary of this ListPreference. If the summary has a
String formatting marker in it (i.e. "%s" or "%1$s"), then the current
entry value will be substituted in its place.

WHAT IS GOING ON HERE???
Can someone explain how *exactly* getSummary works?

-- 

3. Widget RemoteViews and autoLink

4. Combine multiple audio files and encode it to .mp3

5. GridView over scroll problem

6. parsing of silver light response

7. Animated Application icons