[android-developers] Re: How can we get the 2^21 bytes from a video file in android

2011-11-05 Thread Tuan.B
Lol On Nov 5, 2:30 am, Christopher Van Kirk wrote: > Sounds like a homework assignment. > > On 11/5/2011 2:16 PM, Sanat Pandey wrote: > > > > > I want to get first 2^21 bytes of a video file which is resided in > > sdcard, but I don't know how? Please suggest me the right solution > > regarding t

[android-developers] Re: Displaying the Image in the screen center using Canvas

2011-04-21 Thread Tuan.B
My guess is you want to draw it on the center of the screen, in your code you refer to the canvas position, then the code you provided will centered the sample image according to the canvas... so it depend on how you declared you View referred by your canvas. On Apr 20, 8:48 pm, Kromosome wrote:

[android-developers] Re: Scrolling in a ListView

2011-04-21 Thread Tuan.B
You forgot to setTag when convertView is null... On Apr 20, 11:41 pm, ABSOLUT wrote: > Hi again, > I begin a new proyect deleting all and only have a listview and the > funcion where I get the arraylist and I have the same error :-( > > 04-21 03:28:27.035: ERROR/AndroidRuntime(682): FATAL EXCEPTI

[android-developers] Re: Create an Android Layer to support application to run on all the versions

2011-04-21 Thread Tuan.B
Do you mean implement Idiom pattern? I reached the same question few days ago :) if yes then: http://tuanbach.wordpress.com/2011/04/14/support-multiple-sdk-version-in-one-release-android-or-others-java-based-platform/ On Apr 19, 2:35 am, AG wrote: > Hello EveryOne, > > Sorry for this question. I