[android-developers] override earphone click button

2014-05-09 Thread Sadhna Upadhyay
Hi Guys, can some one tell me that,can we override headphone functionality in android 4+ version please let me know if any one have idea Thanks: Sadhna -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email t

[android-developers] Re: Does the Android emulator run inside a VM?

2014-05-09 Thread Charles
Thanks, Yeah, it does work if I choose WXGA; RAM 512, heap 64; against latest 4.4.2 ARM/x86 images. Does takes a long time to load. On Wednesday, May 7, 2014 11:32:56 PM UTC-7, Ruud wrote: > > I've used the emulator successfully inside a VirtualBox VM recently. But > didn't use all the options

Re: [android-developers] Activity Back Stack and OutOfMemoryError

2014-05-09 Thread Daniel Rindt
2014-05-09 0:12 GMT+02:00 Kostya Vasilyev : > Are you absolutely sure that your code does not leak memory? How to be "absolutely sure". :-) Just kidding. > Have you tried using Eclipse MAT and putting the app through the usual > paces, like rotating the screen, pausing / restarting, etc.? This i

Re: [android-developers] Activity Back Stack and OutOfMemoryError

2014-05-09 Thread Kostya Vasilyev
2014-05-09 16:59 GMT+04:00 Daniel Rindt : > 2014-05-09 0:12 GMT+02:00 Kostya Vasilyev : > > Are you absolutely sure that your code does not leak memory? > > How to be "absolutely sure". :-) Just kidding. > > > Have you tried using Eclipse MAT and putting the app through the usual > > paces, like r

Re: [android-developers] Activity Back Stack and OutOfMemoryError

2014-05-09 Thread Daniel Rindt
2014-05-09 15:53 GMT+02:00 Kostya Vasilyev : > > > > 2014-05-09 16:59 GMT+04:00 Daniel Rindt : > >> 2014-05-09 0:12 GMT+02:00 Kostya Vasilyev : >> > Are you absolutely sure that your code does not leak memory? >> >> How to be "absolutely sure". :-) Just kidding. >> >> > Have you tried using Eclipse

Re: [android-developers] Re: Alarm Intent not triggered

2014-05-09 Thread Sunil K
No, made it work. But now the real problem is alarm is raised only when my activity is running, otherwise it will not. Currently trying to make my alarm activity as background service but no luck still. Any suggestion? On Wed, Apr 23, 2014 at 10:57 PM, Raymond Rodgers wrote: > Is the alarm wo

Re: [android-developers] Re: Does the Android emulator run inside a VM?

2014-05-09 Thread Kristopher Micinski
I remember doing this last year, I had to unlink some of the GL drivers to get things to go through... I used a testing suite which did GUI interaction and had no need to use UI. Kris On Fri, May 9, 2014 at 8:45 AM, Charles wrote: > Thanks, > > Yeah, it does work if I choose WXGA; RAM 512, hea

Re: [android-developers] Re: Does the Android emulator run inside a VM?

2014-05-09 Thread Charles
Right. Also, if you are using the SDK tools on 64 bit Linux, then additional steps are necessary because the Android SDK was compiled for 32-bit systems. I used the following guides to figure out the 32-bit libraries: * Ubuntu: http://www.vogella.com/tutorials/AndroidInstallation/article.html#

Re: [android-developers] override earphone click button

2014-05-09 Thread TreKing
On Fri, May 9, 2014 at 2:32 AM, Sadhna Upadhyay wrote: > can some one tell me that,can we override headphone functionality in > android 4+ version please let me know if any one have idea You may want to explain what "headphone functionality" you're looking to override. -

[android-developers] Handling touch events inside a listview

2014-05-09 Thread dashman
I've got custom views inside a listview. I've noticed that built-in widgets and other apps have a certain behavior. 1. When an item is tapped (DOWN) to initiate a move - the item is not hi-lighted (the listview starts to scroll) 2. When an item is held down for a little bit longer - then it's h

Re: [android-developers] Activity Back Stack and OutOfMemoryError

2014-05-09 Thread Kostya Vasilyev
2014-05-09 18:37 GMT+04:00 Daniel Rindt : > 2014-05-09 15:53 GMT+02:00 Kostya Vasilyev : > > Well, personally, I usually use the object histogram at the starting > point > > -- filtered by my app's package. > > > > When I see something that looks strange, I right click on a object class > and > >

Re: [android-developers] Handling touch events inside a listview

2014-05-09 Thread TreKing
On Fri, May 9, 2014 at 12:41 PM, dashman wrote: > How can I get a similar behavior - notably the one in the 2nd entry above. > > I'm doing this with a custom view items in the listview. > Your view's background should be a state-list drawable that defines the drawables to use for the relevant st