[android-developers] Re : Re: Drawing scaled bitmaps on a SurfaceView -- no antialiasing
Yeah, that's crazy, I either get the choice of implementing a bicubic interpolation library or create a gazillion pre-scaled bitmaps, I can't believe nobody ever encountered this problem... -- 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 For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Automatic Google+ sign-in
Hi everyone, sorry if this topic has been discussed before, I didn't find a definitive answer. I am developing a game with Google Play Game capabilities (leaderboards & achievements). I implemented Google+ sign-in, following the tutorial and the provided code examples. Everything is working fine, but the problem I am currently facing occurs in the following scenario, at least on an Android 2.2 device : - I have two Google accounts, both of them are declared and syncing on my device - I start my game, and a dialog (of my own) asks me whether I want to use Google Play Game capabilities, and therefore if I want to sign in to Google+ - I click 'Yes' and my code starts calling the Google+ sign-in API - Android Google+ API kicks in and asks me to choose one of my two accounts to sign in What I'd like for my future players is allow them to do this once, and never bother to sign in again (if they allow it, of course). Is there a way to tell the Google+ API to use one account in particular and use it to sign in automatically ? I can understand that a completely silent sign-in can be a privacy concern, but is there a way to store which account was used and use it later ? Thanks -- 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 For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Automatic Google+ sign-in
Ok, thanks for the insight. I must be doing something wrong, then, that would also explain why I didn't find any results relating to this. I don't know what, though, because the connection code is pretty straightforward. Anyway, thanks ! Le vendredi 20 septembre 2013 03:41:09 UTC+2, Douglas Drumond a écrit : > > After the user signed in, unless they signed out, this should be > automatic. At least on my phone (4.3), when I signed in my app, I had to > manually sign out to test login with Google+ again because it already used > the last account to login the second time I launched the app. I have three > accounts on this device. > > > -- > Douglas Drumond > *GDG Campinas <http://www.gdg-campinas.org/> > – > **eee19.com* <http://eee19.com/> > *gplus.to/douglasdrumond > > * – *@douglasdrumond <https://twitter.com/douglasdrumond>* > > > > 2013/9/19 FReDD > > >> Hi everyone, >> >> sorry if this topic has been discussed before, I didn't find a definitive >> answer. >> I am developing a game with Google Play Game capabilities (leaderboards & >> achievements). >> I implemented Google+ sign-in, following the tutorial and the provided >> code examples. >> >> Everything is working fine, but the problem I am currently facing occurs >> in the following scenario, >> at least on an Android 2.2 device : >> >>- I have two Google accounts, both of them are declared and syncing >>on my device >>- I start my game, and a dialog (of my own) asks me whether I want to >>use Google Play Game capabilities, >>and therefore if I want to sign in to Google+ >>- I click 'Yes' and my code starts calling the Google+ sign-in API >>- Android Google+ API kicks in and asks me to choose one of my two >>accounts to sign in >> >> What I'd like for my future players is allow them to do this once, and >> never bother to sign in again (if they >> allow it, of course). Is there a way to tell the Google+ API to use one >> account in particular and use it to >> sign in automatically ? >> I can understand that a completely silent sign-in can be a privacy >> concern, but is there a way to store >> which account was used and use it later ? >> >> Thanks >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Android Developers" group. >> To post to this group, send email to >> android-d...@googlegroups.com >> To unsubscribe from this group, send email to >> android-developers+unsubscr...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en >> --- >> You received this message because you are subscribed to the Google Groups >> "Android Developers" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to android-developers+unsubscr...@googlegroups.com . >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- 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 For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] Automatic Google+ sign-in
Well, here's an update : you actually solved my problem. The key part here is what you mentioned : *unless they signed out*. I had implemented an automatic sign out on leaving the game, I mixed up Google+ sign in and Games Client connection. A big thank you, FReDD Le vendredi 20 septembre 2013 23:45:22 UTC+2, FReDD a écrit : > > Ok, thanks for the insight. I must be doing something wrong, then, that > would also explain why I didn't find any results relating to this. > I don't know what, though, because the connection code is pretty > straightforward. > Anyway, thanks ! > > Le vendredi 20 septembre 2013 03:41:09 UTC+2, Douglas Drumond a écrit : >> >> After the user signed in, unless they signed out, this should be >> automatic. At least on my phone (4.3), when I signed in my app, I had to >> manually sign out to test login with Google+ again because it already used >> the last account to login the second time I launched the app. I have three >> accounts on this device. >> >> >> -- >> Douglas Drumond >> *GDG Campinas <http://www.gdg-campinas.org/> >> – >> **eee19.com* <http://eee19.com/> >> *gplus.to/douglasdrumond >> >> * – *@douglasdrumond <https://twitter.com/douglasdrumond>* >> >> >> >> 2013/9/19 FReDD >> >>> Hi everyone, >>> >>> sorry if this topic has been discussed before, I didn't find a >>> definitive answer. >>> I am developing a game with Google Play Game capabilities (leaderboards >>> & achievements). >>> I implemented Google+ sign-in, following the tutorial and the provided >>> code examples. >>> >>> Everything is working fine, but the problem I am currently facing occurs >>> in the following scenario, >>> at least on an Android 2.2 device : >>> >>>- I have two Google accounts, both of them are declared and syncing >>>on my device >>>- I start my game, and a dialog (of my own) asks me whether I want >>>to use Google Play Game capabilities, >>>and therefore if I want to sign in to Google+ >>>- I click 'Yes' and my code starts calling the Google+ sign-in API >>>- Android Google+ API kicks in and asks me to choose one of my two >>>accounts to sign in >>> >>> What I'd like for my future players is allow them to do this once, and >>> never bother to sign in again (if they >>> allow it, of course). Is there a way to tell the Google+ API to use one >>> account in particular and use it to >>> sign in automatically ? >>> I can understand that a completely silent sign-in can be a privacy >>> concern, but is there a way to store >>> which account was used and use it later ? >>> >>> Thanks >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Android Developers" group. >>> To post to this group, send email to android-d...@googlegroups.com >>> To unsubscribe from this group, send email to >>> android-developers+unsubscr...@googlegroups.com >>> For more options, visit this group at >>> http://groups.google.com/group/android-developers?hl=en >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "Android Developers" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to android-developers+unsubscr...@googlegroups.com. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >> >> -- 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 For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] 'Donate' button w/ in-app billing - Google policies
Hi all, I wanted to know if the Google Play policies allowed including a 'Donate' button or page in one's app ? Given, of course, that the button uses in-app billing and not Paypal or some other external site. Thanks -- 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 For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Help needed -- There is no linked app associated with this client ID.
Hi all, I'm becoming crazy with this one. I just published a game on Google Play and the game uses the Google Play Games services. Sign-in and leaderboards / achievements worked fined with the application signed with the debug key, but since I built and published my app using my release key, Google+ sign-on is impossible. I always get the infamous error *"E/SignInIntentService(25004): There is no linked app associated with this client ID."* I double- and triple-checked everything : my app is published, the package name and SHA1 fingerprint are correct and match what I extracted from the release APK, I unlinked and relinked the app in the Google Play Console multiple times, but nothing works. Ideas, anyone ? Thanks -- 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 For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Google Play Developer Console Error : unexpected error in Achievements and Leaderboards page
Hi all, since a few weeks, I (me and some other developers) am unable to check the achievements and leaderboards pages of my application in the Google Play Developer console. Every try fails with an '*Unexpected Error. Please try again later*', whereas from my game they can be checked without any error. I did not change anything, and signing off / signing on again, trying with another browser, etc. did not succeed. (Please check the SO topic: http://stackoverflow.com/questions/19973872/google-play-developer-console-errors-signed-apk-config-error-achievements-and ) Any ideas ? -- 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 For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Drawing scaled bitmaps on a SurfaceView -- no antialiasing
Hi all, I'm sorry if this topic has been brought before, but all my searches on the web and this group did not help me. I'm currently developing a little game with th Android SDK, and use hi- res bitmaps that I resize accordingly to match the device's resolution (letting the system do it for me is not "crisp" enough). I use a SurfaceView, on which I paint in one pass a canvas filling the whole surface. The paint uses setXfermode(new PorterDuffXfermode(PorterDuff.Mode.SRC_IN)) to allow masking. Beforehand, I retrieve various bitmaps -- which are resized at initialization with createScaledBitmap() and put in a cache -- and I apply the bitmaps with a paint on this canvas, before drawing this canvas on the SurfaceView. My problem is, whatever I try, whatever paint settings I use (dithering, antialias, etc..), the resized bitmaps are not antialiased and the drawing present jagged edges. I tried everything. The only little success I had was using inSampleSize to approach the desired scaled size and force a first pass of antialiasing, before invoking createScaledBitmap on the retrieved hi-res bitmap, but it is not beautiful enough. I just can't allow to create multitudes of pre-sized bitmaps for every combination of resolution. What did I miss ? Thanks a lot in advance -- 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 For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Drawing scaled bitmaps on a SurfaceView -- no antialiasing
Thank you for your help, but unfortunately I already set the filter to true. I just really don't understand what's going on, because nobody seems to experience this issue. When searching on the web, I stumbled upon two or three people describing the problem and that's all. It seems pretty straightforward : you set the filter to true, you scale the bitmap and paint it with antialiasing and dithering to true, and voilà... I'm obviously doing something wrong, or not doing something necessary, but I tried every combination of settings (antialiasing enabled / disabled, dithering too, etc.) and it doesn't change a thing. Beats me. -- 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 For more options, visit this group at http://groups.google.com/group/android-developers?hl=en