Re: [android-developers] Is this a bug at TabHost / TabActivity?

2012-10-23 Thread Perry168
I found the method now ! It's work. Thanks a lot! Paul-Peter Tournaris於 2012年10月23日星期二UTC+8下午9時15分20秒寫道: > > Set it at the activity in Manifest! Add the FULLSCREEN option there! > > On Tue, Oct 23, 2012 at 10:24 AM, Perry168 > > wrote: > >> Hi all, >> Following is my testing tabHost and activity.

Re: [android-developers] Is this a bug at TabHost / TabActivity?

2012-10-23 Thread Perry168
Could you tell me how to add? I am not clearly. Thanks a lot! Paul-Peter Tournaris於 2012年10月23日星期二UTC+8下午9時15分20秒寫道: > > Set it at the activity in Manifest! Add the FULLSCREEN option there! > > On Tue, Oct 23, 2012 at 10:24 AM, Perry168 > > wrote: > >> Hi all, >> Following is my testing tabHost

Re: [android-developers] Is this a bug at TabHost / TabActivity?

2012-10-23 Thread Παύλος-Πέτρος Τουρνάρης
Set it at the activity in Manifest! Add the FULLSCREEN option there! On Tue, Oct 23, 2012 at 10:24 AM, Perry168 wrote: > Hi all, > Following is my testing tabHost and activity. > > Layout > > > > http:

Re: [android-developers] is this a bug

2012-01-05 Thread Christopher Van Kirk
ANDEV comedy hour On 1/6/2012 4:20 AM, John Davis wrote: > Hello Treking, > > I am sorry if I made you feel that way. I was most certainly going in > circles myself. Have a good one and thanks for the help. > > Smile > > John > > On Thu, Jan 5, 2012 at 3:16 PM, TreKing wrote: >> 2012/1/5 John Da

Re: [android-developers] is this a bug

2012-01-05 Thread Jim Graham
I was determined to stay out of this absurd grouo of threads...but after reading the bit quoted below, I can't stay on the sidelines anymore On Thu, Jan 05, 2012 at 02:54:52PM -0500, John Davis wrote: > OMG, seriously, the listView class does not contain a list of views? When I read this one

Re: [android-developers] is this a bug

2012-01-05 Thread John Davis
Hello Treking, I am sorry if I made you feel that way. I was most certainly going in circles myself. Have a good one and thanks for the help. Smile John On Thu, Jan 5, 2012 at 3:16 PM, TreKing wrote: > 2012/1/5 John Davis >> >> You have to realize the other person you are talking to might no

Re: [android-developers] is this a bug

2012-01-05 Thread TreKing
2012/1/5 John Davis > You have to realize the other person you are talking to might not have > your experience and might not understand you. > You didn't say you didn't understand - you insisted that either the documentation was wrong, or it was a bug, or what you were trying to do was impossibl

Re: [android-developers] is this a bug

2012-01-05 Thread John Davis
Hello Treking, Nope not at all. You have to realize the other person you are talking to might not have your experience and might not understand you. In this case, I did not know that the logcat contains a different stack trace from the trace in the debug window. So, I learned a few things today.

Re: [android-developers] is this a bug

2012-01-05 Thread TreKing
On Thu, Jan 5, 2012 at 1:53 PM, John Davis wrote: > I would be happy to if I knew how to properly answer your request. You've had about 18 people across two threads tell you how to do this. You're doing this on purpose to see how many monkeys you can get do dance, aren't you? -

Re: [android-developers] is this a bug

2012-01-05 Thread Romain Guy
ListView contains Views that you access by calling getChildAt(). getItemAtPosition() returns an item from the Adapter. An adapter contains data, not Views. On Thu, Jan 5, 2012 at 11:54 AM, John Davis wrote: > OMG, seriously, the listView class does not contain a list of views? > Get out of here,

Re: [android-developers] is this a bug

2012-01-05 Thread Romain Guy
Open the Logcat view in Eclipse (or type adb logcat in a shell), then look for "Caused by". There will be a stack trace showing the cause of the exception. What you are showing us is the current state of the thread. On Thu, Jan 5, 2012 at 11:53 AM, John Davis wrote: > Hello Romain-guy, > > I woul

Re: [android-developers] is this a bug

2012-01-05 Thread Kristopher Micinski
Unless it is a delegate to an underlying adapter and is provided as a utility.. Hmm... In what universe might this be the case... No way, that would -- of course -- be a crazy design decision that no human could possibly fathom... kris On Thu, Jan 5, 2012 at 1:54 PM, John Davis wrote: > OMG, s

Re: [android-developers] is this a bug

2012-01-05 Thread John Davis
LOL Treking, buddy. I posted it to the best of my ability. Do you mean copy and paste the output from the stack trace in the debug window? On Thu, Jan 5, 2012 at 2:51 PM, TreKing wrote: > Will someone please go to John's house / work and copy and paste the actual > mother loving stack trace so w

Re: [android-developers] is this a bug

2012-01-05 Thread John Davis
OMG, seriously, the listView class does not contain a list of views? Get out of here, if that was not the case, it would be called somthing else. Its a listView. Its a bug. Geez. > > Yes, it is a bug in your code. You are getting a ClassCastException > now, because getItemAtPosition() is not ret

Re: [android-developers] is this a bug

2012-01-05 Thread John Davis
Hello Romain-guy, I would be happy to if I knew how to properly answer your request. I removed the breakpoint on the getitematpos call and let it rip. Then when it crashed, I went to debugger window and did a copy of the stack trace and posted it below: SwtorCompanion [Android Application]

Re: [android-developers] is this a bug

2012-01-05 Thread TreKing
Will someone please go to John's house / work and copy and paste the actual mother loving stack trace so we can end this dumbass thread? - TreKing -

Re: [android-developers] is this a bug

2012-01-05 Thread Mark Murphy
2012/1/5 John Davis : > Nope. >            for (int i=0;i                // If it is the 2nd or 5th item, tag it so that it will be > displayed in blue. >                if (i==2 || i==5) { >                        listCount = adapter.getCount(); >                        count = theList.getCount();

Re: [android-developers] is this a bug

2012-01-05 Thread Kostya Vasilyev
Why in the world are you casting the result of getItemAtPosition to View? 5 января 2012 г. 23:46 пользователь John Davis написал: > Hello Mark, > > Nope. > for (int i=0;i // If it is the 2nd or 5th item, tag it so that it will be > displayed in blue. >

Re: [android-developers] is this a bug

2012-01-05 Thread John Davis
Hello Kostya, numRows is the value returned by my database call. It is what I used to set the arraybound on the array adapter. It is also 6 as verified by the debugger. Like I said, it appears that the api is buggy and does not provide the ability to set listview items to be of different colors,

Re: [android-developers] is this a bug

2012-01-05 Thread Kristopher Micinski
2012/1/5 John Davis : > Hello Mark, > > Nope. >            for (int i=0;i                // If it is the 2nd or 5th item, tag it so that it will be > displayed in blue. >                if (i==2 || i==5) { >                        listCount = adapter.getCount(); >                        count = the

Re: [android-developers] is this a bug

2012-01-05 Thread Romain Guy
Please show us the stack trace generated by the exception. On Thu, Jan 5, 2012 at 11:46 AM, John Davis wrote: > Hello Mark, > > Nope. >for (int i=0;i// If it is the 2nd or 5th item, tag it so that it will be > displayed in blue. >if (i==2 || i==5) { >

Re: [android-developers] is this a bug

2012-01-05 Thread John Davis
Hello Mark, Nope. for (int i=0;i wrote: > 2012/1/5 John Davis : >> The only exception which i can find is >> javalang.unsupportedOperationException. >> as I was saying the api has a bug. The docs say you can get the data, >> when you try to so you get an exception. Either the docs are

Re: [android-developers] is this a bug

2012-01-05 Thread Kostya Vasilyev
Back to the original code snippet: The list view's item count is returned by "theList.getCount" and stored in a variable called "count". The loop goes from 0 to "numRows". That's an entirely different variable. Perhaps it's also set to theList.getCount() earlier, but that's not in the posted sn

Re: [android-developers] is this a bug

2012-01-05 Thread Kristopher Micinski
2012/1/5 John Davis : > The only exception which i can find is javalang.unsupportedOperationException. > as I was saying the api has a bug. The docs say you can get the data, > when you try to so you get an exception. Either the docs are incorrect > or its a bug. > Yeah, it's a bug you caused. Th

Re: [android-developers] is this a bug

2012-01-05 Thread Mark Murphy
2012/1/5 John Davis : > The only exception which i can find is javalang.unsupportedOperationException. > as I was saying the api has a bug. The docs say you can get the data, > when you try to so you get an exception. Either the docs are incorrect > or its a bug. Yes, it is a bug in your code. My

Re: [android-developers] is this a bug

2012-01-05 Thread John Davis
The only exception which i can find is javalang.unsupportedOperationException. as I was saying the api has a bug. The docs say you can get the data, when you try to so you get an exception. Either the docs are incorrect or its a bug. On Thu, Jan 5, 2012 at 2:06 PM, TreKing wrote: > On Thu, Jan 5,

Re: [android-developers] is this a bug

2012-01-05 Thread TreKing
On Thu, Jan 5, 2012 at 1:02 PM, Kristopher Micinski wrote: > Yeah, while it could be some threading thing, I think it is as simple as > this... > > (Also, like I said, you're probably pulling the irrelevant portion of > the logcat, the offending code is surely sitting in your functionality > activ

Re: [android-developers] is this a bug

2012-01-05 Thread Kristopher Micinski
2012/1/5 Kostya Vasilyev : > getItemAtPosition calls the adapter's getItem, which returns the data object > backing the item. > > I don't see why it would be anything derived from View. > Yeah, while it could be some threading thing, I think it is as simple as this... (Also, like I said, you're p

Re: [android-developers] is this a bug

2012-01-05 Thread Kostya Vasilyev
getItemAtPosition calls the adapter's getItem, which returns the data object backing the item. I don't see why it would be anything derived from View. Certainly the logcat has more information under "Caused by:". -- Kostya 5 января 2012 г. 22:49 пользователь TreKing написал: > 2012/1/5 John D

Re: [android-developers] is this a bug

2012-01-05 Thread TreKing
2012/1/5 John Davis > It looks like a bug Yup - a threading bug in your code. You are probably deleting an item somewhere else and not synchronizing your list. - TreKing

Re: [android-developers] is this a bug

2012-01-05 Thread Kristopher Micinski
Ew, quit blaming the framework for your (somewhat obvious) mistake. Your list doesn't contain views, you're probably casting to something which isn't correct. (I suspect you're looking at the wrong part of the logcat.) You've most likely got a classcastexception, from something which should have

Re: [android-developers] is this a bug

2012-01-05 Thread John Davis
It looks like a bug ActivityThread.performLaunchActivity(ActivityThread$ActivityRecord, Intent) line: 2661 ActivityThread.handleLaunchActivity(ActivityThread$ActivityRecord, Intent) line: 2679 ActivityThread.access$2300(ActivityThread, ActivityThread$ActivityRecord, Intent) line: 125 ActivityThrea

Re: [android-developers] is this a bug

2012-01-05 Thread Kristopher Micinski
Oh geeze, haha... the framework would never have this obvious a bug... What kind of an exception are you getting? A ClassCastException I would suppose? Kris On Thu, Jan 5, 2012 at 12:39 PM, John Davis wrote: > A listview says there are 6 items in the list. ie. count = 6 > Yet, you can not get

Re: [android-developers] is this a bug

2012-01-05 Thread TreKing
On Thu, Jan 5, 2012 at 12:39 PM, John Davis wrote: > fooView = (View) theList.getItemAtPosition(i); // raises exception The exception would be? The stack trace would be? - TreKing

Re: [android-developers] Is this a bug? Is this a forum to file bugs?

2010-11-05 Thread Marcin Orlowski
On 5 November 2010 10:29, Rene Grothmann wrote: Answering your subject's question. No. This is the right place to file bugs against the framework: http://code.google.com/p/android/issues/list But I believe it's still perfectly fine to discuss the finding here with others, before filling the bug

Re: [android-developers] Is this a bug in TextView?

2010-03-08 Thread Romain Guy
FYI, I just fixed the bug in FroYo. On Mon, Mar 8, 2010 at 12:04 PM, Brion Emde wrote: > Geez, I know it's hard to believe, but stuff like this sticks out like > a thumb to me as a Copy & Paste error. From the source I've been > looking at for TextView (please correct me if I'm in the wrong place

Re: [android-developers] Is this a bug in TextView?

2010-03-08 Thread Romain Guy
This is indeed a bad copy and paste error. On Mon, Mar 8, 2010 at 12:04 PM, Brion Emde wrote: > Geez, I know it's hard to believe, but stuff like this sticks out like > a thumb to me as a Copy & Paste error. From the source I've been > looking at for TextView (please correct me if I'm in the wron

Re: [android-developers] is this a bug?

2009-12-26 Thread Romain Guy
The image is indeed picked at random amongst a few variations. On Sat, Dec 26, 2009 at 12:32 PM, Mark Murphy wrote: > Andrei wrote: >> This image is for Droid which has Android 2.01 on it >> Is the Default picture for contact suppose to be upside down? >> >> http://sites.google.com/site/gmlvsk/tm

Re: [android-developers] is this a bug?

2009-12-26 Thread Mark Murphy
Andrei wrote: > This image is for Droid which has Android 2.01 on it > Is the Default picture for contact suppose to be upside down? > > http://sites.google.com/site/gmlvsk/tmp/device.png?attredirects=0 I believe the orientation of the lil' green guy is randomly chosen or something. On that same