[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

[android-developers] No focused widget at Activity creation

2009-08-25 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

[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, Azhdarazh...@gmail.com wrote: Hi Hazam, could you show us more in detail how you do that ? Thank you ! Azhdar On Jul 10, 3:23 pm, Hazam emanuele.disave...@gmail.com wrote: Hi Hong

[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

[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 jdesbon...@gmail.com 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

[android-developers] Re: EditText and Virtual Keyboard

2009-07-10 Thread Hazam
Hi Hong, thanks for your reply. I tried that but to no avail. The reason seems to be that clicks and actions from virtual keyboard do not follow the same path that normal key and touch events do. The get tunneled in an InputConnection, and things get REALLY difficult for me to understand fully.

[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

[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