[android-developers] Question about activity/window on android...

2008-05-02 Thread Wesley Sagittarius
1) Can I set the screen size(width and height) of the activity/window on android?? 2) Can I make one of the activity/window always display on top on android??? anyone have any idea?? Wesley Sagittarius. --~--~-~--~~~---~--~~ You received this message because you a

[android-developers] Re: XMPP two way communication problem

2008-05-02 Thread Hielko
Another cause of your problem could be that binding to a service is asynchonous. So if you bind to the service and directly try to send a message it doens't work, but if you wait +/- 100ms it will work. On 2 mei, 01:58, mickrobk <[EMAIL PROTECTED]> wrote: > it sort of sounds like a problem with h

[android-developers] Hash vs pound

2008-05-02 Thread David Given
A simple but vital question... There seems to be no KEYCODE_HASH symbol. However, there is a KEYCODE_POUND symbol. Is KEYCODE_POUND supposed to represent # or £? If it's supposed to represent #, then what symbol represents £? -- David Given [EMAIL PROTECTED] --~--~-~--~~

[android-developers] Edit Text Max Limit charactars

2008-05-02 Thread Greg
I want to show a alert box if user type more than 13 charactars in EditText how can i do that? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-d

[android-developers] Re: Edit Text Max Limit charactars

2008-05-02 Thread Greg
hello any body can help me ? On May 2, 7:05 pm, Greg <[EMAIL PROTECTED]> wrote: > I want to show a alert box if user type more than 13 charactars in > EditText > > how can i do that? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] Re: Edit Text Max Limit charactars

2008-05-02 Thread Greg
heloo On May 2, 7:19 pm, Greg <[EMAIL PROTECTED]> wrote: > hello any body can help me ? > > On May 2, 7:05 pm, Greg <[EMAIL PROTECTED]> wrote: > > > I want to show a alert box if user type more than 13 charactars in > > EditText > > > how can i do that? --~--~-~--~

[android-developers] Re: Radiogroup

2008-05-02 Thread 6real
Ok guys, thanks all for your answers. Actually this is a point of design so I will developp my app with this "constraint" and if one day it is possible to do what I expect then I will change my code. --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: Edit Text Max Limit charactars

2008-05-02 Thread 6real
You seem in a hurry (!) OK so actually I don't have the javadoc under my eyes but here are some clues : 1 - add a listener on you textview (on change listener or seomething like that) 2 - in the onChange() (or similar) check the lenth of the text of yourt text view. 3 - if it is greater than "n"

[android-developers] Re: Edit Text Max Limit charactars

2008-05-02 Thread Greg
hello u there?? On May 2, 7:45 pm, Greg <[EMAIL PROTECTED]> wrote: > no dude > > i have tried this > > zipCodeText.setOnKeyListener(new View.OnKeyListener() { > public boolean onKey(View arg0View,int d,KeyEvent > keyEvent) { > Log.d("hey","

[android-developers] Re: Edit Text Max Limit charactars

2008-05-02 Thread Greg
no dude i have tried this zipCodeText.setOnKeyListener(new View.OnKeyListener() { public boolean onKey(View arg0View,int d,KeyEvent keyEvent) { Log.d("hey","pressed " + keyEvent.getKeyCode()); if(keyEvent.

[android-developers] Re: Edit Text Max Limit charactars

2008-05-02 Thread David Given
Greg wrote: > hello u there?? Um, you only posted your message three minutes ago. You may want to wait a little longer before following up, like about 24 hours. -- ┌─── dg@cowlark.com ─ http://www.cowlark.com ─ │ "I have always wished for my computer to be as easy to use as my │ telephon

[android-developers] How to get the traffic statistics of data call

2008-05-02 Thread Liang Yang
Hi, All: I would like to wirte one software to get the traffic statistics of data call for a period of time. Is there any API or other hack to get the flow of data call, such as browser/online program. Thanks, Liang --~--~-~--~~~---~--~~ You received this message