[android-developers] Mock Framework for Android Testing

2009-11-09 Thread Hazam
Hi all, today I made some research and tries for how to use one of the Mock object Framework for doing TDD with android. I see that Mocking Interfaces works fine with EasyMock and I assume also with other frameoworks (I tried Mockito seems to work fine). Instead, I found mocking classes to be im

[android-developers] No focused widget at Activity creation

2009-08-24 Thread Hazam
Hi all, I was wondering If there is a way for an Activity to be started and, even if the View contains one or more focusable widgets, no focus is assigned initially; i.e. the activity view contains two edittext fields, but when the Activity is started and view inflated, none of them should have fo

[android-developers] Re: EditText and Virtual Keyboard

2009-08-23 Thread Hazam
)  A small favor on > my tips to you... please... > > Thanks > > Hong > > > > On Fri, Jul 31, 2009 at 10:48 AM, Azhdar wrote: > > > Hi Hazam, > > > could you show us more in detail how you do that ? > > > Thank you ! > > > Azhdar > &

[android-developers] Correct Way to handle Dialogs and Screen Orientation

2009-08-04 Thread Hazam
Hi all, I'm experiencing MAJOR problems in handling screen orientation when there is a Dialog onscreen. It seems there is no correct way (as far as my understanding goes) to properly manage an onscreen Dialog (expecially a Progress Dialog running) when the user changes screen orientation (possib

[android-developers] Re: Experimental Bluetooth Library

2009-07-23 Thread Hazam
Amazing work. You simply can't close doors to programmers in an open source environment keep up! -Emanuele On Jul 23, 2:24 pm, jdesbonnet wrote: > Ah: I didn't notice a bt pairing alert in the background. I entered > '' and I get NMEA streaming to my screen. Amazing! Now I have IO > capabil

[android-developers] Sliding the view when opening Virtual Keyboard

2009-07-10 Thread Hazam
Hi guys, I was wondering if there is a method for controlling the amount of the View that gets scrolled when opening the virtual keyboard. Right know it scrolls just enough for letting the relate EditText show itself (and not perfectly too, like it scrolls fully in just after the first typed chara

[android-developers] Re: EditText and Virtual Keyboard

2009-07-10 Thread Hazam
t; But looks like some IME related actions you can catch. > > Please let us know if it works... > > > > On Wed, Jun 24, 2009 at 4:36 AM, Hazam wrote: > > > Folks, > > is there nobody having the same problem? > > Did I explain I clearly? > > > The p

[android-developers] Re: EditText and Virtual Keyboard

2009-06-24 Thread Hazam
Folks, is there nobody having the same problem? Did I explain I clearly? The problem is that if i press some of the virtual keyboard keys, they do not cause a onKeyDown event; this happens with keys '/','!' and such. While if i press physical emulator keys, (even the same keys), they do. Could y