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
Any design pattern here?

Best Regards


Other Threads

1. Strange platform error in Droid(2.0.1), Hero(1.5)

I have been running into strange problems. here is the stacktrace it seems ,
there is nowhere the error is in my application, I donot know why this
exception/error is comming..

java.lang.NullPointerException at
android.widget.ArrayAdapter.createViewFromResource(ArrayAdapter.java:355) at
android.widget.ArrayAdapter.getView(ArrayAdapter.java:323) at
android.widget.AbsListView.obtainView(AbsListView.java:1274) at
android.widget.ListView.makeAndAddView(ListView.java:1668) at
android.widget.ListView.fillDown(ListView.java:637) at
android.widget.ListView.fillFromTop(ListView.java:694) at
android.widget.ListView.layoutChildren(ListView.java:1521) at
android.widget.AbsListView.onLayout(AbsListView.java:1113) at
android.view.View.layout(View.java:6831) at
android.widget.FrameLayout.onLayout(FrameLayout.java:333) at
android.view.View.layout(View.java:6831) at
android.widget.FrameLayout.onLayout(FrameLayout.java:333) at
android.view.View.layout(View.java:6831) at
android.view.ViewRoot.performTraversals(ViewRoot.java:996) at
android.view.ViewRoot.handleMessage(ViewRoot.java:1633) at
android.os.Handler.dispatchMessage(Handler.java:99) at
android.os.Looper.loop(Looper.java:123) at
android.app.ActivityThread.main(ActivityThread.java:4338) at
java.lang.reflect.Method.invokeNative(Native Method) at
java.lang.reflect.Method.invoke(Method.java:521) at
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618) at
dalvik.system.NativeStart.main(Native Method)


2. Unable to get the trigger with Repeat Alarm when set in BootUp Sequence

Hi All,

I have to run a particular background task everyday, hence  I chose to  set
a Repeat Alarm  as soon as BOOT_COMPLETE event is received with 24hrs  as
interval. When tested, observed that  alarm expiry is not received to the
IntentReceiver,  when phone successfully powers up. Unable to figure out the
root cause. Please  someone help  me to resolve this issue, as it is
blocking our Application. Appreciate, your quick response.

Best Regards,


3. try to see hprof dump from ddms

4. android and google docs

5. Waiting for Debugger on Release Version.

6. EMMA code coverage

7. how to load XML files dynamically