Code example for Button

Methods: requestFocus

0
 
        mPhoneNumber = (EditText) findViewById(R.id.phoneNumber);
        mPhoneNumber.setOnClickListener(
                new View.OnClickListener() {
                    public void onClick(View v) {
                        mPlaceCall.requestFocus();
                    } 
                }); 
 
        mRadioControl = PhoneGlobals.getPhone().getSimulatedRadioControl();
 
        Log.i(TAG, "- PhoneApp.getInstance(): " + PhoneGlobals.getInstance());
        Log.i(TAG, "- PhoneApp.getPhone(): " + PhoneGlobals.getPhone());
        Log.i(TAG, "- mRadioControl: " + mRadioControl);
    } 
 
    private class ButtonListener implements OnClickListener {
        public void onClick(View v) {
            if (mRadioControl == null) {
                Log.e("Phone", "SimulatedRadioControl not available, abort!");
                NotificationManager nm =