Re: [android-developers] get bitmap size

2012-09-19 Thread Przemyslaw Wegrzyn
On 2012-09-19 08:34, Live Happy wrote: what is the best way to get the size of bitmap image i know there is myBitmap.getByteCount() but this method is for api level 12 so it is there any other way to get it thx on advance You can use the following instead: myBitmap.getRowBytes() * myBitmap.getH

Re: [android-developers] Re: InApp billing - always getting RESULT_ITEM_UNAVAILABLE

2012-09-04 Thread Przemyslaw Wegrzyn
her (i.e. > deactivating and deleting one and only APK version), and recreating > everything from scratch. > S frustrating... > > BR, > Przemek > > > On 08/16/2012 02:12 PM, Przemyslaw Wegrzyn wrote: > > On 08/16/2012 12:19 PM,

Re: [android-developers] Draw OverlappedBitmap - (Draw onto itself).

2012-08-20 Thread Przemyslaw Wegrzyn
On 20/08/12 20:15, Nathan wrote: > I would like to do a copy on a bitmap from itself, ie, shift pixels in > a bitmap by copying from one rectangle to another rectangle. The src > and destination rectangles might overlap. This "snake eating its own > tail" trick did work in Windows and Windows Mobil

Re: [android-developers] Re: InApp billing - always getting RESULT_ITEM_UNAVAILABLE

2012-08-18 Thread Przemyslaw Wegrzyn
ratch. S frustrating... BR, Przemek On 08/16/2012 02:12 PM, Przemyslaw Wegrzyn wrote: > On 08/16/2012 12:19 PM, bharadwaj wrote: >> u have publish the items u have put in the developer account but no >> need to publish ur app. > That's exactly what I've done.

Re: [android-developers] Obfuscating a database for in-app billing

2012-08-18 Thread Przemyslaw Wegrzyn
Take a look at Google Play licensing library, it is a good example of AES-based obfuscation. Search for AESObfuscator here http://developer.android.com/guide/google/play/licensing/adding-licensing.html BR, Przemek On 08/18/2012 03:06 PM, William Ferguson wrote: > Thanks Nikolay, that makes sen

Re: [android-developers] Re: InApp billing - always getting RESULT_ITEM_UNAVAILABLE

2012-08-16 Thread Przemyslaw Wegrzyn
On 08/16/2012 12:19 PM, bharadwaj wrote: > u have publish the items u have put in the developer account but no > need to publish ur app. That's exactly what I've done. > also need to mention required permisssions in your manifest. I have all the necessary permissions configured. My public key is OK

[android-developers] Re: InApp billing - always getting RESULT_ITEM_UNAVAILABLE

2012-08-16 Thread Przemyslaw Wegrzyn
dividual item state. Which is true? Do I really need to publish my app to check InApps?! BR, Przemek On 08/14/2012 12:48 PM, Przemyslaw Wegrzyn wrote: > Hi! > > I'm integrating InApp Billing functionality into my application. > Testing with "fake" items e.g. android.t

[android-developers] InApp billing - always getting RESULT_ITEM_UNAVAILABLE

2012-08-16 Thread Przemyslaw Wegrzyn
Hi! I'm integrating InApp Billing functionality into my application. Testing with "fake" items e.g. android.test.purchased works fine, but trying to purchase any of my own items fails. I've double-checked the following: - signed application was uploaded to the publisher site, same APK installled