Removing the default selection of EditText in Froyo 2.2

by Archana » Thu, 09 Sep 2010 14:49:37 GMT


Sponsored Links
 Hi

How can we remove the default selection of editText.while I am
switching over to another page(which contain edit text) EdiText is
getting focussed and keyboard is pop up.. I want to remove this
behaviour .. for that I created Empty textview and set focus for
that..  below is code which i used.

View emptyView = (View) findViewById(R.id.emptyView);
emptyView.setFocusableInTouchMode(true);
emptyView.requestFocus();

Its working fine in all the device except froyo.Am I doing anything
wrong.. how can we fix it? please help..

--



Other Threads

1. URGENT-> Is SQLiteOpenHelper.onUpgrade() called when installing update from Android Market Place?

Scenario:
User buys my application from Android Market Place.
I update my Application (change version_code, version_name in
Manifest). But no change to my DATABASE_VERSION in my SQLiteOpenHelper
sub class.
User installs update from android market place.

Question:
Is SQLiteOpenHelper.onUpgrade() called when the user installs the
update and starts the app?

Discussion:
I would have thought no, since my database_version did not change.
I am also assuming that the existing database is not wiped out by the
install process during the normal update from market place.

Since there is no "sandbox" version of the market place, it is
difficult to test these things.

Please help.

2. Google Nexus One FAQ

Google Nexus One FAQ

http://bit.ly/7siLac 

Sent from Motorola Milestone
twitter : @jerbid

3. login

4. Porting to Andriod

5. Rookie Rootie

6. Default home screen widgets

7. Led notification on Motorola Milestone