getChildAt(position) won't work if you scroll the list. You are just
trying to retrieve the data in an unusual way. Like we said before,
you should talk to the Adapter, not to ListView to get the data. You
could also call obtainItem(int position) on the ListView, which is
similar to calling adapte
phew!
finally, (TextView)fruitsList.getChildAt(position)).getText() worked.
But why are all these typecasting acrobatics necessary? I mean why
isn't there a simple method that does this?
Or is what I am asking too unusual?
Thanks Mark and thanks Romain.
Sylvester
--~--~-~--~~-
Hello,
I've just started on android and i was trying to run some samples, but
all the time i try to run some code i get this error message:
" Application not responding
The Application com.google.android is not responding"
I installed eclipse and android and everything seemed to be right till
Can I Linkify a link with a display text that doesn't begin with http://?
For instance, I want the link to go to "http://www.google.com";, but I
want the text to say "Click here for Google"
--~--~-~--~~~---~--~~
You received this message because you are subscribed
Hello,
I've just started on android and i was trying to run some samples, but
all the time i try to run some code i get this error message:
" Application not responding
The Application com.google.android is not responding"
I installed eclipse and android and everything seemed to be right till
Hello,
I've just started on android and i was trying to run some samples, but
all the time i try to run some code i get this error message:
" Application not responding
The Application com.google.android is not responding"
I installed eclipse and android and everything seemed to be right till
t
Hi all,
Is it possible to change the "Home Application", which is the
application displaying while user click "home" button??
I found there are some videos in Youtube contains different home UI,
like the following:
http://tw.youtube.com/watch?v=muIqc7TP1bs
http://tw.youtube.com/watch?v=-rKa8j4
Maybe you have no toString method right implemented for the object you are
trying to diplay
On Thu, Jun 26, 2008 at 5:51 PM, Sylvester Steele <[EMAIL PROTECTED]>
wrote:
>
>
>
> On Jun 26, 2:31 pm, "Romain Guy" <[EMAIL PROTECTED]> wrote:
> > Somewhere, you must have created an Adapter and set it o
Then you need to cast the resulting item to a Cursor and use Cursor's
method to read the value of the column you are interested in. Another
approach, that was mentioned already, is simply to cast the view that
was clicked into whatever view you use to represent the data and then
ask the view for t
On Jun 26, 2:31 pm, "Romain Guy" <[EMAIL PROTECTED]> wrote:
> Somewhere, you must have created an Adapter and set it on the
> ListView. In your onItemClick() method, there's a parameter called
> position. It gives you the index of the clicked item in the adapter.
> You just need to call myAdapte
Can someone please give me an example of an implentation of a custom view
extending a relative layout and not using XML.
For exemple the builder of mine with absolutelayout :
public VideoListRowView(Context context,int position) {
super(context);
//WARNING YOU MUST DEFINE EAC
It's not a problem.
The Android SDK doesn't has an application to handle SMS messages, so you
will have to either create one or get one in the web so you can test SMS
messages.
Regards,
Fred
On Thu, Jun 26, 2008 at 5:54 AM, Sylvester Steele <[EMAIL PROTECTED]>
wrote:
>
> I see a similar option
Is it possible to get the phone number of an incoming call that is
currently ringing?
Thanks,
Sylvester
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to a
Somewhere, you must have created an Adapter and set it on the
ListView. In your onItemClick() method, there's a parameter called
position. It gives you the index of the clicked item in the adapter.
You just need to call myAdapter.getItem(position) and you will get the
result you want.
On Thu, Jun
I am still stuck here, someone please help!
Sylvester
On Jun 23, 11:09 am, Sylvester Steele <[EMAIL PROTECTED]>
wrote:
> Actually, they both return a View. You need to cast the View to the
> type
>
> > you created as your entries (e.g., TextView), then get the data out of
> > there (e.g., getTe
I see a similar option to test smss also, but it doesn't seem to work.
I typed: sms send +1234 qwer . The console says OK but no sms appears
in the emulator. How do I fix this?
Sylvester
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
Maybe you should try google Have juste a little look on the android
website and you'll have all your answers.
On Wed, Jun 25, 2008 at 9:08 PM, 3,14 <[EMAIL PROTECTED]> wrote:
>
> I have some questions regarding re-using existing code on the android
> platform.
>
> 1) Are there any way to re-
17 matches
Mail list logo