Hello,
While perusing the source code, came across a shell function that
envsetup.sh defines called runhat. Judging by the parameters, etc.,
to this function, it allows one to get a heap-dump for a given
application. This dump can then be analyzed by the tools hat and
jhat.
Has anyone
Hi Romain Guy,
What is the attribute you mention below that makes ListView items
selectable or focusable? i.e., how/what does one change to make
ListView items focusable by default (and not selectable)?
Thanks,
Nitin.
On Aug 27, 2008, at 1:28 PM, Romain Guy wrote:
So, in conclusion, I
Hello,
A question on how a Layout animation works with a ViewGroup object
such as a ListView. As shown in many ApiDemo examples, when the screen
is first rendered/layed-out, the animation sequence runs nicely. How
can one get the Layout animation to re-play on demand. I have tried
two
Hello,
When we use setSelectionFromTop(), the list adjusts itself so that
the selection is positioned some y pixels from the top. However, this
happens in a somewhat 'sudden' manner. Is it possible to make this
animated where the list appears to smoothly scroll and then settles in
its
Hi,
Here is a simple test activity that is unable to show www.google.com.
However, www.yahoo.com shows properly. It is strange that the same
URL, http://www.google.com/; renders just fine in the web browser
application built into the SDK.
Any ideas?
Thanks,
DS.
public class
As always, Mark Murphy to the rescue. Thanks a bunch, Mark.
Regards,
DS.
PS: Any thoughts on another problem I posted earlier about focus
issues when a WebView partially obscures a ListView? - DS.
On Sep 22, 2008, at 3:55 PM, Mark Murphy wrote:
Here is a simple test activity that is
Hello folks,
There appears to be a bug in focus handling when a WebView is
partially overlapping a ListView. I am able to reproduce this problem
via a simple change to one of the ApiDemos example.
If you change the file ApiDemos/res/layout/linear_layout_9.xml to be
as given below, and run
Hello,
Hoping for an answer from the Android team on this one. Could you
please shed some light on the following NPE?
ERROR/AndroidRuntime(1789): java.lang.NullPointerException
ERROR/AndroidRuntime(1789): at
android.widget.AdapterView.rememberSyncState(AdapterView.java:799)
:
Dialog
.getWindow
().setFlags(WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL);
On Jul 9, 8:09 am, Disco Stu 010 [EMAIL PROTECTED] wrote:
Hi,
Have a question w.r.t the Dialog object. Is it at all possible to
have
a Dialog object overlaid on an Activity such that if a touch event
Hi,
Have a question w.r.t the Dialog object. Is it at all possible to have
a Dialog object overlaid on an Activity such that if a touch event is
registered outside the bounds of the Dialog, then the event is sent to
the View behind the Dialog. From what little experiments I have done,
it
Hello,
Hope some experts can shed light on the workings of a Cursor object.
Lets refer to the NotesList sample project accompanying the SDK. Here
we have a ContentProvider that returns the results of a query as a
Cursor object. The recipient of the Query can use this Cursor object
Hey Mark,
Thanks again. I had reached the same conclusion as you that
Cursor.deleteRow() should result in a DataProvider.delete with some
URI. However, I dont see that happening. I added a Log.w statement to
query(), insert(), delete() and update() methods of the data provider
and only
.
On Tue, Jul 8, 2008 at 4:10 PM, Disco Stu 010
[EMAIL PROTECTED] wrote:
Hey Mark,
Thanks again. I had reached the same conclusion as you that
Cursor.deleteRow() should result in a DataProvider.delete with some
URI. However, I dont see that happening. I added a Log.w statement to
query
Hello,
A question for the experts on how ListActivity does its job.
My understanding of the documentation is that to give a custom look to
ListActivity, one needs to provide a template View (through
setContentView) that contains a ListView object with the ID list.
ListActivity then
Hey Mark,
Thanks for the explanation. Most helpful. I now understand that one
can have any view to render a row by overriding the getView() method.
My original question though still stays. If given a resource id for
a view, how can one create multiple instances of that view? Can I
simply
Hi Mark,
Thanks for the detailed explanation. This helps tremendously.
Can you please also clarify what do you mean by use the same instance
as the convertView parameter? Dont I need a new View instance for
every cell being displayed? i.e., if displaying 5 TextView rows at the
same time,
Hi Mark,
I think I got it now :)
Thanks a bunch for all your help.
Regards.
On Jul 1, 2008, at 4:19 PM, Mark Murphy wrote:
Can you please also clarify what do you mean by use the same
instance
as the convertView parameter? Dont I need a new View instance for
every cell being
Hi,
Thanks for your response. Certainly clarifies a few things.
The sample code has been immensely valuable in getting a better
understanding of the Android APIs. I totally understand the 'too many
things to do' problem, I have been guilty of that many times. However,
I would like to
18 matches
Mail list logo