Android wheel picker
<p>i just download wheel picker sample project. In that project what ever select in wheel picker it update in text view. Here i changed that text view into button, if i click that button mean it will show the value in wheel picker. its possible or not?</p>

<p>here my sample code:</p>

<pre><code>     public void onCreate(Bundle savedInstanceState)
            {
                 super.onCreate(savedInstanceState);
               setContentView(R.layout.test_wheel_layout);              

                bundle = new Bundle();
                wheelArrayList = new ArrayList&lt;String&gt;();
                bundle = getIntent().getExtras();               


                wheelArrayList = (ArrayList&lt;String&gt;) bundle.get("ItemKey");     
                wheelMenu1 = wheelArrayList.toArray(new String[wheelArrayList.size()]); 
                initWheel1(R.id.p1);            


                btnCurrentSelection = (Button) this.findViewById(R.id.btn_FrstSelection);           

                btnCurrentSelection.setText(bundle.getString("selectedValue"));                 




                btnCurrentSelection.setOnClickListener(new View.OnClickListener() {

                    @Override
                    public void onClick(View v) {
                        // TODO Auto-generated method stub


                        //OnWheelChangedListener();
                    }
                });

            }


        // Wheel scrolled listener
        OnWheelScrollListener scrolledListener = new OnWheelScrollListener()
            {
                public void onScrollStarts(WheelView wheel)
                    {
                        wheelScrolled = true;
                    }

                public void onScrollEnds(WheelView wheel)
                    {
                        wheelScrolled = false;
                        updateStatus();
                    }
            };

        // Wheel changed listener
        private final OnWheelChangedListener changedListener = new OnWheelChangedListener()
            {
                public void onChanged(WheelView wheel, int oldValue, int newValue)
                    {
                        if (!wheelScrolled)
                            {
                                updateStatus();
                            }
                    }
            };

        /**
         * Updates entered PIN status
         */
        private void updateStatus()
            {           
            PreferenceConnector.writeString(WheelActivity.this, itemKeyName, wheelMenu1[getWheel(R.id.p1).getCurrentItem()]);
            }           
            }

        /**
         * Initializes wheel
         * 
         * @param id
         *          the wheel widget Id
         */

        private void initWheel1(int id)
            {
                WheelView wheel = (WheelView) findViewById(id);
                wheel.setAdapter(new ArrayWheelAdapter&lt;String&gt;(wheelMenu1));
                wheel.setVisibleItems(5);
                wheel.setCurrentItem(0);
//              text.setText(""+wheel.getCurrentItem());
                wheel.addChangingListener(changedListener);
                wheel.addScrollingListener(scrolledListener);
            }


        /**
         * Returns wheel by Id
         * 
         * @param id
         *          the wheel Id
         * @return the wheel with passed Id
         */
        private WheelView getWheel(int id)
            {
                return (WheelView) findViewById(id);
            }

        /**
         * Tests wheel value
         * 
         * @param id
         *          the wheel Id
         * @param value
         *          the value to test
         * @return true if wheel value is equal to passed value
         */
        private int getWheelValue(int id)
            {
                return getWheel(id).getCurrentItem();
            }
</code></pre>

<p>any one help me, how to focus </p>
