Bek
Android Expert
I can reaffirm that the comment in the SDK definitely does not indicate that Froyo will be in the Evo. All this portion of text and code shows it that the constant TYPE_WIMAX has not been implemented.
Let me break it down to hopefully help:
These first two lines of code set up the Connectivity Manager and sets up a simple variable called networkType. It references getActiveNetworkInfo() to obtain what network type the device is currently on. Then the code afterwards is simply a standard IF clause comparing networkType to TYPE_WIMAX. If implemented, TYPE_WIMAX is simply a constant that's already available in the SDK. But because this is NOT Froyo, the comment simply advises developers to hardcode a value of 6 as the expected networkType for WIMAX.
That's all. Unfortunately nothing interesting to see here. Whether the Evo drops with Froyo is still up for speculation, but this snippet from the SDK does not indicate it will.
Let me break it down to hopefully help:
ConnectivityManager cm = (ConnectivityManager) this.getSystemService(Context.CONNECTIVITY_SERVICE);
int networkType = cm.getActiveNetworkInfo().getType();
These first two lines of code set up the Connectivity Manager and sets up a simple variable called networkType. It references getActiveNetworkInfo() to obtain what network type the device is currently on. Then the code afterwards is simply a standard IF clause comparing networkType to TYPE_WIMAX. If implemented, TYPE_WIMAX is simply a constant that's already available in the SDK. But because this is NOT Froyo, the comment simply advises developers to hardcode a value of 6 as the expected networkType for WIMAX.
That's all. Unfortunately nothing interesting to see here. Whether the Evo drops with Froyo is still up for speculation, but this snippet from the SDK does not indicate it will.

