に私のプログラムは、こののTextViewを追加するのTableRow
`
public class InfoWifiActivity<Intent> extends Activity {
TableRow tr;
TextView temp;
public void onCreate(Bundle savedInstanceState) {
wifi.startScan();
tr = new TableRow(this);
temp = new TextView(this);
IntentFilter i = new IntentFilter();
i.addAction(WifiManager.SCAN_RESULTS_AVAILABLE_ACTION);
registerReceiver(new BroadcastReceiver(){
@Override
public void onReceive(Context context,
android.content.Intent intent) {
temp.setText("SSID");
temp.setPadding(0,0,3,0);
tr.addView(temp);
}
}
}, i);
}
}
`
のようですが、それはtr.addView(温度)に来るとき、それはFCを保持します。
誰も私を助けることはできますか?事前に感謝を。
logcatのメッセージは強制的に終了しますか?それはそれはそれは閉じを強制するときに、モバイルデバイスからlogcat出力ショーを何だから、FC – FoamyGuy
それはエミュレータ上でエラーを持っているdoesntの? –
を保持し、私の携帯電話に無線LAN data.Onlyを持っているdoesntの原因 – FoamyGuy