[android-developers] Re: Disable spinner item?

2010-01-29 Thread Piwai
Hi there ! I spent a bit of time trying to create a spinner that would have some disabled items, and finally found a SOLUTION ! Yay ! Romain pointed in the right direction, BUT it's not that easy. If one try to create a specific adapter for the spinner, for instance : ArrayAdapterString

[android-developers] JDK dynamic proxy : it works on Android :-)

2010-01-27 Thread Piwai
performance concern :-) . It all depends on what you're doing. For instance, when dealing with getting data from the internet, what is the relative cost of a proxy ? Not much... Of course, one should not use this in the graphical components of a 3D game... Cheers, Piwai -- You received this message

[android-developers] Re: -http-proxy for emulator on Android 1.6?

2009-11-13 Thread Piwai
will be the browser. Do you think I should fill a bug report for this ? Ow, and one more thing : the -verbose-proxy option seems to be unknown to the Android emulator... Has anyone been able to use it yet ? Another bug report to fill ? Cheers, Piwaï On Nov 12, 6:12 pm, Piwai py.ri...@gmail.com wrote: Hello

[android-developers] Re: -http-proxy for emulator on Android 1.6?

2009-11-13 Thread Piwai
This issue report already existed, so I added a comment : http://code.google.com/p/android/issues/detail?id=3764 Please star the issue if you encounter the same problem. On Nov 13, 9:10 am, Piwai py.ri...@gmail.com wrote: By the way, don't you guys think this should be written somewhere

[android-developers] Re: -http-proxy for emulator on Android 1.6?

2009-11-12 Thread Piwai
Hello Android People ! I spent a few days on this kind of problems, so here is my feedback. duykham : your tip (setting proxy in APN) works... for the browser app only. Once you have done this configuration, you need to write specific code in your apps to handle a http proxy. If you use

[android-developers] MapView + ZoomControl = Should it work like in Google Map App ??

2009-07-25 Thread Piwai
Hi ! I am currently working with this great Google Maps API. The MapView Javadoc says that we should not use getZoomControls (which is deprecated), but rather setBuiltInZoomControls instead. I think the idea behind this change is to have all Google Maps based applications to behave the same

[android-developers] Re: ItemizedOverlay ArrayIndexOutOfBoundsException explanation AND solution !!

2009-07-21 Thread Piwai
You are welcome ;-) Oh, and by the way: the minimum touchable bounds were a bit small in my example. private static final int MIN_TOUCHABLE_WIDTH = 10; private static final int MIN_TOUCHABLE_HEIGHT= 10; Although 100 might be too much, I realised that 10 was too

[android-developers] Re: How to compare two (simple) images?

2009-07-21 Thread Piwai
To me, it seems that making computations pixel by pixel is the only solution... However, there might be a faster solution than using getPixels : using a buffer. See copyPixelsToBuffer method in the Bitmap class. A buffer is read only or write only, and I guess it might use lower level

[android-developers] Re: Maven Android Plugin: stable version 2.0.0 released

2009-07-17 Thread Piwai
I will for sure have a look at this new version! The main functionality I am waiting from this Maven Plugin is a full compatibility with the Android Eclipse Plugin. I remember that the first version of the plugin didn't integrate well with Eclipse... Is it ok now ? If yes, I will quickly