Fatal error occurs during creating CDMAPhone in 2.0 releas

by Henry Jeong » Fri, 04 Dec 2009 01:15:41 GMT


Sponsored Links
 Fatal error occurs during creating CDMAPhone but not during creating
GSMPhone in 2.0 release
Here is log. ( logcat -b radio )
  :
D/STK     ( 1853): StkService: StkService: is running
D/STK     ( 1853): StkService: NEW sInstance
I/PHONE   ( 1853): Creating GSMPhone
  :
D/PHONE   ( 1853): [PhoneProxy] Switching phone from GSMPhone to
CDMAPhone
D/PHONE   ( 1853): [PhoneProxy] Setting Radio Power to Off
  :
D/PHONE   ( 1853): mDoesRilSendMultipleCallRing=true
D/PHONE   ( 1853): mCallRingDelay=3000
D/CDMA    ( 1853): [CdmaDataConnection] DataConnection.clearSettings()
D/CDMA    ( 1853): [CdmaDataConnection] CdmaDataConnection
<constructor>
< Fatal Error occurs  : Expect "Creating CDMAPhone" >

If change PREFERRED_NETWORK_MODE to NETWORK_MODE_CDMA from
NETWORK_MODE_WCDMA_PREF in RILConstants.java, Telephony should use
CDMAPhone as default , this error always occurs as below
   :
D/PHONE   ( 1853): mDoesRilSendMultipleCallRing=true
D/PHONE   ( 1853): mCallRingDelay=3000
D/CDMA    ( 1853): [CdmaDataConnection] DataConnection.clearSettings()
D/CDMA    ( 1853): [CdmaDataConnection] CdmaDataConnection
<constructor>
< Fatal Error occurs  : Expect "Creating CDMAPhone">

Let me know how to fix it.

--



Fatal error occurs during creating CDMAPhone in 2.0 releas

by Dianne Hackborn » Fri, 04 Dec 2009 02:09:27 GMT


 This is not appropriate for this list.  Move it to android-porting.




>


Sponsored Links


Other Threads

1. install .apk file OTA

Hi,

I have an android's .apk signed file , how can I install it OTA on my
Android 2.1 device.

Thanks
Rishabh

-- 

2. ListActivity issue

Hi,
I am to display the list and store the selected items in an array. But
I am not able to get the correct items that were selected.
Here whenever the user clicks an item, the array is getting updated,
irrespective if the user is clicking the item to select it or deselect
it. Could some one please help me solve this. I could actually perform
an iteration to remove the odd numbered items in the array but I feel
that would become an overload on the phone. Is there something for
efficient. Please advise.


public class MainActivity extends ListActivity {
        TextView selection;
        String[] items={"sodium", "O2", "C02", "HCL", "NaCl",
                                        "H2So4", "O3", "Ag"};
        String names[] = new String[10];
        static int i=0; int posarray[] = new int[10];
        @Override
        public void onCreate(Bundle icicle)
       {
                super.onCreate(icicle);
                setContentView(R.layout.main);
                setListAdapter(new ArrayAdapter<String>(this,
                                                                                
                android.R.layout.simple_list_item_multiple_choice,
                                                                                
                items));
                ListView listView = getListView();
                listView.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE);
                selection=(TextView)findViewById(R.id.selection);
        }

        public void onListItemClick(ListView parent, View v, int position,
                                                                                
                        long id)
        {
                        posarray[i]=position;

                        if(!check(position))
                        {
                                names[i]= items[position];
                        }
                                selection.setText(arrayToString(names));i++;


        }

        private boolean check(int position) {
                for(int k=0;k<posarray.length;k++){
                        if(posarray[k]==position)
                        {
                                posarray[k]=100;
                                return true;
                        }

                }
                return false;

        }

        public String arrayToString(String[] stringarray){
            String str = " ";
            for (int i = 0; i < stringarray.length; i++) {
              str = str + stringarray[i];
            }
            return str;
          }
}







Thanks,
Raqeeb

-- 

3. Salam Kenal: Newbie di Android

4. CheckedTextView tutorial

5. Landscape / Portrait Orientation Pending Intent?

6. Using ResolverActivity as a activity-alias

7. getting rid of 鈥渨arning: unmappable character for encoding ascii鈥