[android-developers] Adding event listener to a drawable

2010-07-12 Thread Divkis
call some event handler. Isn't there an easier way to achieve the same? Any other ideas or suggestions would be really helpful. Thanks in advance, Divkis -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, se

[android-developers] Re: Buttons looking weird when they are too small

2010-05-19 Thread Divkis
on the same page as you, my btn_default.xml looks something like this, wherein I don't see any property for margins: http://schemas.android.com/apk/res/android";>   Thanks & Regards, DivKis -- You received this message because you are subscribed to

[android-developers] Re: Removing / replacing radio button image

2010-05-19 Thread Divkis
Hi, On May 18, 11:10 pm, TreKing wrote: > On Tue, May 18, 2010 at 12:53 PM, Divkis wrote: > > Any other ideas? > > Nope, sorry. I haven't used it myself, but I assumed the setDrawable > functions in that class would be what you were looking for. Nopes there is no

[android-developers] Re: Buttons looking weird when they are too small

2010-05-19 Thread Divkis
rlier at the btn_default.xml files as you suggested earlier as well, but even there I don't seem to find any xml tag for margins. It only lists the various kind of button image to use for different states of the button. Thanks again, Regards, DivKis -- You received this message because you

[android-developers] Re: Buttons looking weird when they are too small

2010-05-19 Thread Divkis
int me to appropriate documentation if that is the case. Thanks a zillion for your reply, Regards, DivKis -- 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.com To un

[android-developers] Re: Removing / replacing radio button image

2010-05-18 Thread Divkis
mentation but I can't seem to find anything useful there. Any other ideas? Thanks for your reply, Regards, DivKis -- 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@googlegrou

[android-developers] Re: Buttons looking weird when they are too small

2010-05-17 Thread Divkis
it automatically stretches and fits with the text? I think I am still missing something. Thanks for your reply, Regards, DivKis -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-develop

[android-developers] Animating Views with custom layout

2010-05-13 Thread Divkis
rix(matrix); mCamera.restore(); } Any help, suggestion and pointers is appreciated, Regards, DivKis -- 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.com To unsubscribe f

[android-developers] Re: Controlling the rendering order of child views

2010-05-11 Thread Divkis
Hi, > You can do it by calling setChildrenDrawingOrderEnabled(true) and then > implementing getChildDrawingOrder(int, int). That solves my problem. The only glitch was that this method is available from API-7 onwards only. Thanks a ton, Regards, DivKis -- You received this message becau

[android-developers] Controlling the rendering order of child views

2010-05-11 Thread Divkis
rendering order of the ImageView inside the my own Layout class which extends ViewGroup. Could someone please suggest how could I achieve the same? Thanks in advance, DivKis -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to

[android-developers] Re: Recording into Direct ByteBuffer with offset

2010-02-15 Thread Divkis
Could anyone please offer some advice on this? I hope my question was clear enough. Thanks and hoping to get a reply, DivKis On Feb 14, 12:03 am, Divkis wrote: > Hi, >     Is there a way to capture the audio using AudioRecord or any other > API into a Direct ByteBuffer crea

[android-developers] Recording into Direct ByteBuffer with offset

2010-02-13 Thread Divkis
ead(directbytebuffer, size); I would appreciate any help, Thanks, Divkis -- 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.com To unsubscribe from this group,

[android-developers] audio record, playback working on emulator not on device

2010-02-11 Thread Divkis
playback on emulator vs device? Thanks in advance, Divkis - nativeSampleRate = 8000; AudioManager am = (AudioManager) getSystemService(Context.AUDIO_SERVICE); int actualBufferSize = 4096*8; int capacity = 0; int bufferSize

[android-developers] Re: Join Us In Protesting!

2010-01-29 Thread Divkis
on of an individual unless the individual is an experienced attorney in the field of patenting. Just my two cents, Divkis -- 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@

[android-developers] No output with playing a media file with Android APIDemos Mediaplayer

2010-01-19 Thread Divkis
1373 OMX_EventError nData1 -2147479541 nData2 0 W/MediaPlayer( 169): info/warning (1, 16) ... ... I have already tried setting the resolution of the emulator to be higher than that of the mp4 file's resolution. Any ideas/ suggestions what could be wrong? Thanks in advance, Divkis -- You received th

[android-developers] Re: SDK and Linux 64 bits

2009-12-30 Thread Divkis
settle before scanning usb-storage: device scan complete scsi 10:0:0:0: Direct-Access PQ: 0 ANSI: 2 sd 10:0:0:0: Attached scsi generic sg2 type 0 sd 10:0:0:0: [sdb] Attached SCSI removable disk Thanks in advance, Regards, Divkis On Dec 23, 11:11 am, "Raymond C. Ro

[android-developers] developing on a physical device

2009-12-30 Thread Divkis
0 [155560.082069] sd 10:0:0:0: [sdb] Attached SCSI removable disk Has anyone tried running an android application with Debian Lenny host? Please suggest if I need to make any changes to my setup. Thanks in advance, Divkis -- You received this message because you are subscribed to the Google Gr