How to Submit patches?

by vikram » Thu, 08 Jul 2010 02:34:12 GMT

Sponsored Links
 Hi i want to send few patches for issues reported,
what is the procedure to send patches for any issues ?
For example i want to provide fix for issue: 9584



How to Submit patches?

by Mark Murphy » Thu, 08 Jul 2010 02:59:34 GMT

Other Threads

1. getMaxSatellites returns 255

Hi All,

When I try to get the number of satellites used for getting the fix. I
get the response as 255. Is this value correct? My code is below:

public void onGpsStatusChanged(int event) {
    switch (event ) {
        case GpsStatus.GPS_EVENT_SATELLITE_STATUS : {
            GpsStatus status = mgr.getGpsStatus(null);
            Iterable<GpsSatellite> sats = status.getSatellites();
            output[0].append(""+status.getMaxSatellites()) ;
            Iterator<GpsSatellite> it = sats.iterator() ;
            while ( it.hasNext() )
            GpsSatellite oSat = (GpsSatellite) ;
            Log.d("TEST","LocationActivity - onGpsStatusChange:
Satellites:" +
            oSat.getSnr() ) ;

            // Check number of satellites in list to determine fix
        } break ;
        case GpsStatus.GPS_EVENT_FIRST_FIX : {
                log( "First Fix received" ) ;
        break ;
        case GpsStatus.GPS_EVENT_STARTED : {
                GpsStatus status = mgr.getGpsStatus(null);
                log( "Time to fix:"+status.getTimeToFirstFix() );
        break ;

Is there anything which I have missed out..?

Thanks in advance.


2. using a random string.

i am trying to choose a random string that is defined in strings.xml
with the only change between the strings ID is the int .
<string name="q0">
<string name="q1">
<string name="q2">
<string name="q3">
<string name="q4">

i am using this java code to generate what string to use.

int RandomQ = R.string.q0  (rgenerator.nextInt(5) + 1);

the error eclipse gives is "The method q0(int) is undefined for the
type R.string"
when i use the quick fix to create a method in, it generates
it. but if i try to save or run the app this happens
" was modified manually! Reverting to generated version!".


3. AV sync mismatch after seek in Real media files.

4. ViewFlipper problem

5. Mending kiri mending kanan?

6. Spell Checking

7. generating keypress