[android-developers] Re: Matrix maps points to multiples of 4

2012-10-17 Thread FBondarenko
Thank you, you are right! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com

[android-developers] Matrix maps points to multiples of 4

2012-10-16 Thread FBondarenko
Hi. I am using a Matrix that contains only a translation set by setTranslation() to map integer coordinates. Although casting the integers to floats for Matrix.mapPoints() does not seem to be a problem, all mapped points are multiples of 4, even if the translation does contain arbitrary values

[android-developers] Rubberband vs. Gloweffect with ListView (and thus AlertDialog.Builder for Spinners)

2012-08-22 Thread FBondarenko
Hi, as we know, there are different mechanisms to show feedback when overscrolling a list. Samsung had the rubberband effect on Galaxy S2, but on S3 they switched back to a glow effect. HTC Sensation does not show any feedback when at the end of a list. This leads us to the point where many cu

[android-developers] Re: Android and WinXP: look for some tips

2011-11-07 Thread FBondarenko
Customers will have to start usb debug mode to get the connection to work. But how can a socket connection via usb cable without usb debugging mode be established? On 8 Nov., 06:41, Chris wrote: > On Tuesday, November 8, 2011 4:52:05 PM UTC-5, SL wrote: > > > > What do you mean?  You can use And

[android-developers] Re: Activities aren't getting killed by ActivityManager when app is running out of memory

2011-09-26 Thread FBondarenko
> ... I see each activity enter onStop after the new activity starts, but I > don't see > ActivityManager ever killing them ... Are you sure you have multiple instances of your activity and not did not set the FLAG_ACTIVITY_SINGLE_TOP or relatives to keep it to one single activity, thus not havin

[android-developers] Re: What exactly adb install do with apk?

2011-09-23 Thread FBondarenko
Well I had a look now, check out Device.installPackage() in Device.java in the same package. I hope, as incomplete as my two answers are, they will provide at least a starting point. On 23 Sep., 08:26, FBondarenko wrote: > Haven't checked it myself, but have a look at > tool

[android-developers] Re: What exactly adb install do with apk?

2011-09-22 Thread FBondarenko
Haven't checked it myself, but have a look at tools/ddms/libs/ddmlib/src/com/android/ddmlib/AndroidDebugBridge.java. On 14 Sep., 17:05, Rahul Garg wrote: > Hi All, > > Although I have been using adb install to install apk in my device. > But I dont what exactly it do to apk, how it extracts inf

[android-developers] Re: reading choices from spinners

2011-08-27 Thread FBondarenko
That's a java thing: to compare Strings use something like if (strResult.equals("Four")), as (strResult == "Four") checks if the operands are the same object and not if they have the same content. On 26 Aug., 19:49, erik wagner wrote: > Hi all, I have a very simple game that I'm trying to do for

[android-developers] Re: Prebuilt C libraries?

2011-08-16 Thread FBondarenko
Mon, Aug 15, 2011 at 4:20 PM, Mark Ayers wrote: > > >> On Aug 14, 2011 11:31 PM, "FBondarenko" wrote: > > >>> when you're looking for open source libs, why not compile them > >>> yourself? > >> Because automake doesn't work too we

[android-developers] Re: Prebuilt C libraries?

2011-08-14 Thread FBondarenko
when you're looking for open source libs, why not compile them yourself? which libraries do you need? On 15 Aug., 03:11, Mark Ayers wrote: > Are there any open source C libraries that are available prebuilt for > Android? If not, can someone help me figure out how to build libcairo for > android?

[android-developers] Reading SQL Query row by row

2011-07-15 Thread FBondarenko
Hi there, I'm using a large SQLite DB from which a query could return 70k+ rows. As i understand, the query result is written to the CursorWindow, in which the SQLiteCursor is moving freely to get values. Since I want to limit the memoryfootprint of my query result, i want to keep the size of the