getNetworkCountryIso() unreliable on CDMA network (e.g., Verizon)?

by monkey.jsun » Thu, 19 May 2011 05:01:30 GMT


Sponsored Links
 Here is what Google web reference says:

-------------
public String getNetworkCountryIso ()
Since: API Level 1

Returns the ISO country code equivalent of the current registered
operator's MCC (Mobile Country Code).

Availability: Only when user is registered to a network. Result may be
unreliable on CDMA networks (use getPhoneType() to determine if on a
CDMA network).
--------------

How unreliable is this function and what are the factors that make
this unreliable in CDMA? Is it the network operator (e.g., in one CDMA
network it will always, while it never work in another)? Or is it
related to a particular handset (one handset always works in any CDMA
work while another never works)?

Specifically can someone confirm or disconfirm where this function
works for verizon network?

There are a few other functions in the same shoe, such as
getLine1Number() etc.

Cheers.

Jun

-- 



Other Threads

1. looping a textview in android

Hi frnds ,
I m new to android..
i want to search for  a keyword in a xml file and list the nodes below
the search box..
so i think i need to list the result nods using text view.. cos
listview cannot be used as it extends ListActivity which cannot be
used for textview...

pls tel me how can i loop the text view..........

thanks and regards
ANUR

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

2. Problem in using ImageView

I am try to display image from internet. I have url  of image , that i
passed in constructing URI ref.

screen display blank

here is code,

 
-----------------------------------------------------------------------------------------------------------------------------------
      ImageView imageView = (ImageView) findViewById(R.id.imageView);

      Uri uri=Uri.parse("http://static.px.yelp.com/upthumb/
q0POOE3vv2LzNg1qN8MMyw/ms");
      imageView.setImageURI(uri);
       setContentView(imageView);
-----------------------------------------------------------------------------------------------------------------------------------

any reply is appreciable

thanks

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

3. LinearLayout doesn't arrange all width for its children

4. How to display map on emulator(our application)

5. APN specification

6. Can mobile position itself?

7. Related To Playing .3gp Videos