broschb
1/3/2011 - 4:01 AM

Example of how to read results of Intent to WiiScale Android application

Example of how to read results of Intent to WiiScale Android application

switch (requestCode) {
     case WEIGHT_REQUEST:
          if (resultCode == RESULT_OK) {
  String unit = data.getStringExtra("unit");
  double weight = data.getDoubleExtra("weight", 0);
  }
   }