[android-developers] How to clear Trackball foucs view when press Hard Key(like. MENU key)

2011-06-23 Thread rain
In Android, when user use Trackball to foucs one view, then press MENU key , the first menu option will be focused. or In Launcher, the User use Trackball to focus one app icon , when press HOME key the launcher moved to default screen. but there is one app icon is focused in default screen . how

[android-developers] Re: How to open or close the soft keyboard by code

2009-07-27 Thread Rain
? On 7月27日, 下午2时07分, Zsolt Váradi wrote: > On Mon, Jul 27, 2009 at 4:59 AM, Rain wrote: > > > Thanks Evan > > > I'm sorry to forgot to say that may SDK is 0.9 Beta,so the inputmethod > > class is not inclued,besides that,i want toopenorclosethe key > > board n

[android-developers] Re: How to open or close the soft keyboard by code

2009-07-26 Thread Rain
rlton wrote: > http://groups.google.com/group/android-developers/browse_thread/threa... > > Evan Charlton > > On Jul 26, 10:38 pm, Rain wrote: > > > > > Does anyone knows how to open or close the soft keyboard by code not > > for application developme

[android-developers] How to open or close the soft keyboard by code

2009-07-26 Thread Rain
Does anyone knows how to open or close the soft keyboard by code not for application development? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to

[android-developers] Open/Close Soft KeyBoard

2009-07-26 Thread Rain
HI, Does anyone knows how to open or close soft keyboard by program code (not for application development)? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group

[android-developers] where to download android 1.5 r1 source code ?

2009-05-13 Thread rain
I know I can find the source code from http://android.git.kernel.org/?p=platform/frameworks/base.git;a=summary but I'm not familiar with git, don't know how to download it from there. where to find a zip archive file about the source code? I donot know why the sdk don't contain the source code.

[android-developers] How to use TextPaint

2009-05-07 Thread rain
I saw the TextPaint source, found there have some properties. but there are to properties i do not how to use them. public int baselineShift; public int[] drawableState; what's that mean? how to set this value? --~--~-~--~~~---~--~~ You received this mes

[android-developers] Re: How to implement a link view

2009-05-07 Thread rain
I find a way to display the link text: TextView tv = new TextView(this); SpannableString str = SpannableString.valueOf("google"); str.setSpan(new URLSpan("http://www.google.com";), 0, 6, Spannable.SPAN_INCLUSIVE_EXCLUSIVE); tv.append(str); but when i click the text, there will not trigger the op

[android-developers] How to implement a link view

2009-05-07 Thread rain
Just like the html a tag, I want dispaly a link text, when user click the linkView then trigger some evnet( link: open a new page). for example: display text is: google when user click the google text ,then open the google home page: www.google.com. I saw the TextView and the Linkify class, b

[android-developers] how to set EditText 's password attribute in the code

2009-05-06 Thread rain
There's a "password" attribute in the xml file , but i want set the password attribute through the code. actually , In my project all Views are generated on the fly. do not using the xml files. --~--~-~--~~~---~--~~ You received this message because you are subs

[android-developers] END CALL Api

2009-04-28 Thread Rain
HI, Does anyone could end up connected phone call by api not to click the end call button? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-

[android-developers] How to get the wedgit property

2009-04-23 Thread Rain
How to get the wedgit property such as the title,text ...etc by wedgit id --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups

[android-developers] Re: How to get the phone call talking status

2009-04-22 Thread Rain
teListener event can be used,could you teach me,thanks(My SDK is 0.9 Beta) On 4月22日, 下午7时48分, Mark Murphy wrote: > Rain wrote: > > How can i get the status whether thephonecallis talking or not > > Use TelephonyManager and PhoneStateListener. > > -- > Mark Murphy (a Commons

[android-developers] How to get the phone call talking status

2009-04-22 Thread Rain
Dears, How can i get the status whether the phone call is talking or not BRS --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@g

[android-developers] How to get the current webpage title and url

2009-04-01 Thread Rain
I want to use the webview's getTitle() and getUrl() to get the current webpage title and url,but i don't know how to do... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this gr