Re: [android-developers] I want to learn the android os ,have any suggestion?

2012-02-29 Thread luciofm
Read the documentation maybe? Lúcio Maciel luci...@gmail.com On Wed, Feb 29, 2012 at 12:05, ttgdz ttgdztu...@gmail.com wrote: I have seen some applications in android ,and I know something about the upper development,now I want to learn deeper in the native,any suggestion? -- You

Re: [android-developers] Re: getView called many times when the count is 1

2012-02-24 Thread luciofm
First of all, you should never do I/O (disk, networking) operations on getView() or your scrolling will be very sluggish, since they will run on the UI Thread an will block the scrolling until the request is fulfilled. Lúcio Maciel luci...@gmail.com On Fri, Feb 24, 2012 at 10:19, vani reddy

[android-developers] How much text a TextView fits

2012-02-10 Thread luciofm
Hi, I have a requirement to show a paginated text in a ViewPager, so Ineed to know how much text fits in a TextView within each page of myViewPager. I made a hack, fixing the number of lines of TextView in the layout,and calculating how much text willfit on each line, reaching the limitof 10 lines

Re: [android-developers] Re: Implementing onShowCustomView on Android 3.1 throws in HTML5VideoFullScreen

2011-10-20 Thread luciofm
Hi novemberox Any progress on this??? I'm having the same issue in a project If I don't find any solution I'll have to redirect it to the videoplayer via Intent unitl the ICS source code is released. Thanks Lúcio Maciel luci...@gmail.com On Wed, Aug 31, 2011 at 07:45, novemberox

Re: [android-developers] Re: ViewHolder Pattern leaking a Context on retained Fragments

2011-10-04 Thread luciofm
So, here is my question again, there is some way to use the ViewHolder pattern on this case? It should work fine. Row widgets hold references to their ViewHolder via setTag(). Those row widgets are discarded on a configuration change, which in turn discards their ViewHolders. The list is

[android-developers] ViewHolder Pattern leaking a Context on retained Fragments

2011-10-03 Thread luciofm
Hi, Recently I've started developing my first fully Honeycomb optimized app. It uses the setRetainInstance(true) to retain my list fragment on screen rotations. The odd thing is that I started to observe some very huge leaks on my app, after a few (maybe 6 ou 8) screen rotations my app was

[android-developers] Re: ViewHolder Pattern leaking a Context on retained Fragments

2011-10-03 Thread luciofm
On Mon, Oct 3, 2011 at 23:27, luciofm luci...@gmail.com wrote: Hi, Recently I've started developing my first fully Honeycomb optimized app. It uses the setRetainInstance(true) to retain my list fragment on screen rotations. The odd thing is that I started to observe some very huge leaks on my

Re: [android-developers] Java Generics question (Using AsyncTask)...

2011-06-15 Thread luciofm
nikolay.elen...@gmail.com wrote: On Thu, Jun 9, 2011 at 9:31 AM, luciofm luci...@gmail.com wrote: In this case, with getSuperclassTypeParameter() I get the parameterized types of AsyncTask, and not of my own Class AsyncRequest... (parameterized.getActualTypeArguments()[0] is a String type

Re: [android-developers] Re: Java book (like C KR and C++ Programming Language)

2011-06-11 Thread luciofm
Thanks for the response.. I've already ordered the Effective Java, will take a look now in pricing of the others.. Thanks again, and have a great weekend. Lúcio Maciel luci...@gmail.com On Fri, Jun 10, 2011 at 17:07, fadden fad...@android.com wrote: On Jun 8, 6:55 am, luciofm luci

[android-developers] Java book (like C KR and C++ Programming Language)

2011-06-09 Thread luciofm
I'm pretty sure this has been asked before, but i couldn't find... I have a C and C++ background and i'm looking for THE java book, like the C Programming Language, best know as KR, for C and the C++ Programming Language by Bjarne Stroustrup for C++. Thanks and sorry for this recurring question.

[android-developers] Java Generics question (Using AsyncTask)...

2011-06-09 Thread luciofm
Hi, I'm having some troubles with generics, trying to get the Type of my Parameterized class??? Let's begin with a working example... class TestClassT { Type type; public TestClass() { type = getSuperclassTypeParameter(getClass()); } static Type

Re: [android-developers] Unable to upload to Market

2011-04-01 Thread luciofm
I'm Having lots of Failed to load application list. Try again later. 404 Not Found It is impossible to use the market console right now Lúcio Maciel luci...@gmail.com On Thu, Mar 31, 2011 at 21:05, Kumar Mettu mksre...@gmail.com wrote: I started getting The server could not process your