[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

[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

[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 crehb...@gmail.com wrote: On Tuesday, November 8, 2011 4:52:05 PM UTC-5, SL wrote: What do you mean?  

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

2011-09-27 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 having

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

2011-09-23 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 rahul.lnm...@gmail.com 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,

[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 f.bondare...@web.de wrote: Haven't checked it myself, but have a look

[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 erik.j.wag...@gmail.com wrote: Hi all, I have a very simple game that

[android-developers] Re: Prebuilt C libraries?

2011-08-16 Thread FBondarenko
, 2011 at 4:20 PM, Mark Ayers markthe...@gmail.com wrote: On Aug 14, 2011 11:31 PM, FBondarenko f.bondare...@web.de wrote: when you're looking for open source libs, why not compile them yourself? Because automake doesn't work too well on my Windows development box, and automake and friends

[android-developers] Re: Prebuilt C libraries?

2011-08-15 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 markthe...@gmail.com 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

[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