Default keyboard pop up

by salman » Thu, 03 Sep 2009 02:03:34 GMT


Sponsored Links
 Hi ,
       i made a calculator appliation on the android but whenever i
click on edit text the default keyboard pop up .I want to disable it
by  implementing  something in code because if i want default keyboard
in some other application it should work.

--~--~---------~--~----~------------~-------~--~----~



Default keyboard pop up

by Beth » Thu, 03 Sep 2009 08:25:41 GMT


 There are a few posts on this subject on the other Android group. I
looked into this over the weekend while trying to turn off the
onscreen keyboard for a timepicker widget.  Here is the answer for
Edit Text:

---------- Forwarded message ----------
Date: Sun, Aug 30, 2009 at 2:29 PM
Subject: Re: Hide the virtual keyboard
To: Beth <emez...@gmail.com>


Hello,

I'm using this code to hide the keyboard on an EditText:

public void hideKeyBoard(EditText et) {

InputMethodManager imm = (InputMethodManager) getSystemService
(Activity.INPUT_METHOD_SERVICE);

imm.hideSoftInputFromWindow(et.getWindowToken(),
InputMethodManager.HIDE_NOT_ALWAYS);

}


NOTE - this does not work with the TimePicker.  I hope it helps.



--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. Scam or true?

Somehow I didn't get my previous email on this topic posted so I'll
ask again

I have 2 apps (DroidIn) on Market for some time now. Lately I start
getting offers from Taiwanese/Chinese "mobile leaders" companies
offering to host and resell the app. They are offering to "help with
translation" and provide links to some Chinese-language sites like
this http://android.sj.91.com/. I followed up with one of the offers
and got bunch of documents and generally "my cut" would be 40% before
taxes. Now, 40% to 2 billion people is not such a bad deal but I'm
wondering if someone already has similar experience and is this
possible some sort of scam?

I'm not implying anything these may be legit offers, but one cannot be
too careful these days

--~--~---------~--~----~------------~-------~--~----~

2. Is there any good Android Development board available?

2009/8/18 Lew Dawson <lew.daw...@gmail.com>:

Yes, as Lew said, Beagleboard is a neat choice as Android development
board.  You can easily extend it via USB 1.x/2.0 and SDIO.
For example, we have hacked it around:
  http://www.youtube.com/watch?v=v6wdTOHrwQw

source: http://gitorious.org/0xdroid

cheers,
Jim Huang (jserv)
http://0xlab.org/




--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

3. what's wrong w/ my code?

4. Starting thread from the Application object

5. Determine what's the active package or activity running?

6. How do I write file:// URLs to access the SD card

7. How To Delete An Item In ListView