[android-developers] Re: Making ListView stop on a finger press

2009-02-07 Thread Gw1921
n Feb 7, 2:35 pm, Gw1921 wrote: > Okay more on this - it seems my custom view for each row inside the > list is grabbing the touch event and not passing it through to the > list. I have set "setItemsCanFocus" on the ListView to True (as its > required) and now I can't mak

[android-developers] Re: Making ListView stop on a finger press

2009-02-07 Thread Gw1921
. It only stops when it stops scrolling eventually. Any idea how I can pass the touch back to its parent? I've tried returning "false" from a TouchListener as well but no luck On Feb 7, 11:56 am, Gw1921 wrote: > How can I make the ListView immediately stop scrolling on a finger

[android-developers] Making ListView stop on a finger press

2009-02-07 Thread Gw1921
How can I make the ListView immediately stop scrolling on a finger down event? It keeps scrolling if I give it a big swipe and doesn't stop immediately if my finger is pressed down again. Any idea? Thanks --~--~-~--~~~---~--~~ You received this message because you a

[android-developers] Re: Memory Leaks, sigh

2009-02-04 Thread Gw1921
ndroid-developers.blogspot.com/2009/01/avoiding-memory-leaks > > On Feb 4, 12:46 pm, Gw1921 wrote: > > > Hi > > > I'm trying to track down memory leaks in my application. It seems the > > total amount of memory the app really needs is perhaps around 3MB > > (Maximum,

[android-developers] Moving back to a specific Activity always

2009-02-04 Thread Gw1921
Hi I've got four activities A, B, C and D where A is the main entry screen. No matter how I navigate to B, C or D (via A->B or A->C-B etc), I want the back button to always go to activity A. What flag can I set to do this specifically? Thanks --~--~-~--~~~---~--~--

[android-developers] Re: Profiling Tools?

2009-02-04 Thread Gw1921
rote: > Actually it is in DDMS, just not in the DDMS view of the Eclipse > plugin. You will have to run the standalone version. > > > > On Wed, Feb 4, 2009 at 11:28 AM, Gw1921 wrote: > > > Ouch :( > > > The documentation in that case needs updating too: > > &

[android-developers] Re: Profiling Tools?

2009-02-04 Thread Gw1921
Excellent :) Thanks! On Feb 4, 8:12 pm, Romain Guy wrote: > Actually it is in DDMS, just not in the DDMS view of the Eclipse > plugin. You will have to run the standalone version. > > > > On Wed, Feb 4, 2009 at 11:28 AM, Gw1921 wrote: > > > Ouch :( > > >

[android-developers] Re: Profiling Tools?

2009-02-04 Thread Gw1921
hanks for your time. On Feb 4, 7:25 pm, Romain Guy wrote: > Argh I just remembered it's not part of the SDK yet. Sorry :( > > > > On Wed, Feb 4, 2009 at 11:21 AM, Gw1921 wrote: > > > That definitely looks useful :) > > > However I can't find it for the

[android-developers] Re: Profiling Tools?

2009-02-04 Thread Gw1921
 pm, Romain Guy wrote: > You want to use the Allocation Tracker tab instead. See attached screenshot. > > > > On Wed, Feb 4, 2009 at 11:14 AM, Gw1921 wrote: > > > Thanks again Romain for the prompt reply, much appreciated! > > > Okay I may be looking at the wrong view

[android-developers] Re: Profiling Tools?

2009-02-04 Thread Gw1921
on the stack and 'destroy' the current one? Is it in theory supposed to reclaim all used memory in the currect activity as that seems to be the culprit. Cheers On Feb 4, 7:05 pm, Romain Guy wrote: > When you click on an allocation in DDMS it shows you the stack trace > for that allo

[android-developers] Re: Profiling Tools?

2009-02-04 Thread Gw1921
conversion tool that turns the > heap dumps into "standard" hprof dumps that can be opened and analyzed > by MAT, VisualVM, JProfiler, etc. You will information > there:http://groups.google.com/group/android-developers/browse_thread/threa... > > > > On Wed, Feb

[android-developers] Memory Leaks, sigh

2009-02-04 Thread Gw1921
Hi I'm trying to track down memory leaks in my application. It seems the total amount of memory the app really needs is perhaps around 3MB (Maximum, on average it's around 2.1MB). There's only one activity in the whole app which uses max amount of memory. However, every time I switch from that a

[android-developers] Re: Profiling Tools?

2009-02-04 Thread Gw1921
. For > memory usage, you can use DDMS to track allocations and the state of > the heap. We are also working on ways to give SDK developers access to > a heap analysis tool. > > On Wed, Feb 4, 2009 at 8:17 AM, Gw1921 wrote: > > > Hi > > > I've been runnin

[android-developers] Re: Profiling Tools?

2009-02-04 Thread Gw1921
so working on ways to give SDK developers access to > a heap analysis tool. > > On Wed, Feb 4, 2009 at 8:17 AM, Gw1921 wrote: > > > Hi > > > I've been running Eclipse on Mac OS X for android development. Since > > I'm new to eclipse I'm not sure how

[android-developers] Profiling Tools?

2009-02-04 Thread Gw1921
Hi I've been running Eclipse on Mac OS X for android development. Since I'm new to eclipse I'm not sure how to profile my apps. Especially Memory usage. Could some one guide me to a direction please? Thanks! --~--~-~--~~~---~--~~ You received this message because y

[android-developers] How does one sell on the Android Market?

2009-02-02 Thread Gw1921
Hi I'm aware that one can post free applications on the Android Market. However, if one wishes to sell an app, how does one go about doing this? Do we have to sell apps from our own websites? What instructions do we give our users (in terms of the installation procedure etc). Any ideas would be h

[android-developers] Re: How to scroll a Listview to focus a particular element?

2009-02-01 Thread Gw1921
Thanks! That worked On Jan 30, 5:31 pm, Romain Guy wrote: > Use setSelection(position). > > On Fri, Jan 30, 2009 at 9:28 AM, fahad wrote: > > > Hi, > > > I'm trying to scroll my ListView (from an Activity) to a particular > > element in the list. I know it's position in the list. How is this >