Why RIL.java implements CommandInterface twice

by James Wang » Fri, 18 Dec 2009 09:14:04 GMT


Sponsored Links
 Maybe this group is not the right one to ask this question.

I am studying RIL and noticed RIL.java inplements CommandInterface
twice( extend BaseCommand implement CommandInterface). What is it
for?
Any design pattern here?

Best Regards
James

--



Other Threads

1. java.lang.OutOfMemoryError

I used this sort of code to make sure my bitmaps load:

    try
    {
      foo = BitmapFactory.decodeResource( resources, R.drawable.foo );
    }
    catch( Exception e )
    {
      System.gc();
      foo = BitmapFactory.decodeResource( resources, R.drawable.foo );
    }

In 2.2, it's now failing sometimes and my catch block no longer
catches anything.  Why would that be?

Is there a better way to avoid a java.lang.OutOfMemoryError ?


Thanks,

-- 
Greg Donald
destiney.com | gregdonald.com

-- 

2. App disappears from the Market after upgrade

Thanks!

At least now I know I'm not the only one with this issue...I hope Google
will fix it soon!


Yuvi








> > > 

3. requestFocus() doesn't bring up soft keyboard for edittext

4. Google Maps API: Catching zoom and panning events

5. Anyone using the new facebook sdk for android?

6. LinearLayout in ScrollView

7. WebView not loading enough JavaScript that the full Android Browser can.