google-plus

How does scrolling work in the Google+ Android app?

北城余情 提交于 2019-12-06 06:07:56
I've noticed, while playing around with it, that if you scroll up and down in the stream from the Google+ Android app, the scroll bar changes size depending on the vertical size(s) of the currently visible post(s). For example, if you scroll into a long posting, the bar shrinks in size, and if you scroll into a short post, it lengthens. How is this implemented? Now, I don't particularly need this feature, but it's just something that has piqued my curiosity. It's a side effect of using a recycling ListView . As new posts are scrolled in to view, the rest of the items are virtualized -

load specific visible people in google plus in android

妖精的绣舞 提交于 2019-12-06 06:03:41
I have successfully implemented google plus list people activity public class ListPeopleActivity extends Activity implements PlusClient.ConnectionCallbacks, PlusClient.OnPeopleLoadedListener, PlusClient.OnConnectionFailedListener, DialogInterface.OnCancelListener { private static final String TAG = "ListPeopleActivity"; private static final String STATE_RESOLVING_ERROR = "resolving_error"; private static final int DIALOG_GET_GOOGLE_PLAY_SERVICES = 1; private static final int REQUEST_CODE_SIGN_IN = 1; private static final int REQUEST_CODE_GET_GOOGLE_PLAY_SERVICES = 2; private ArrayAdapter

How to get a user's Google+ ID from a YouTube channel ID

試著忘記壹切 提交于 2019-12-06 06:02:36
I'm running a service where people can connect their Google account using oauth 2.0, and with YouTube permissions I can manage their channels/access their YouTube Channel ID. However, my question is whether or not you can go backwards. i.e. How can you determine the Google Account Owner from a given YouTube channel ID? Michael Waltman googlePlusUserId is now deprecated from https://developers.google.com/youtube/v3/docs/channels#properties contentDetails.googlePlusUserId no longer exists as part of the contentDetails part. Based on this excerpt from their change-log June 13, 2016 This update

Does Google+ JavaScript API have an equivalent to Facebook's signed_request?

不羁的心 提交于 2019-12-06 05:51:32
问题 The Google+ Sign-In button bears a striking similarity to the Facebook Login API, and I like that. The Facebook JS SDK has a signed_request parameter that's provided on the client side but which can be passed to my server, verifying that client-side authentication has taken place. It's cryptographically signed by Facebook, which allows me to verify that the client is logged in without talking to the Facebook on the server side. Is there a way to do something similar with the G+ JS API?

Duplicating Android ViewPager type functionality with menus on the iPhone

不想你离开。 提交于 2019-12-06 05:46:51
I'm trying to duplicate the Android UI left-right gesture type of navigation. This is used in the Android Marketplace, but also on the iPhone version of Google+. Here is a youtube link of the Google+ in action that I am trying to mimic. http://www.youtube.com/watch?v=RYW9yxhhhPU&t=0m25s As you can see in the video above, there is a small scrolling area on top of the main viewing area. The small scrolling area holds the text "Incoming", "Circles", "Nearby" and shifts between them when the main page is scrolled. What I've tried to do (unsuccessfully) is making two UIScrollViews. One for the main

Google plus sign in on android

帅比萌擦擦* 提交于 2019-12-06 05:21:22
I've been searching web for a few days, and I am totally confused. I would like to add "Sign In with Google+" button to my android app. All I need from user is his name, email (if possible) and ID. Google suggests to use it's library, but I believe that it is to heavy solution for my purposes. I know that I should use OAuth, but I don't know what API I should use. Can someone point me where should I start? Jorch914 Actually I do recommend to use Google's own client, this would be GoogleAPIClient . Here is the why. This client is fully optimise to run in Android, it is not actually as heavy as

Linking to Google PlusOne, without embedding the button (for privacy reasons)

[亡魂溺海] 提交于 2019-12-06 04:58:27
问题 It seems that Google only offers code to embed the +1 button. However, there are heavy privacy concerns (plus quite some load time) associated with it. For some pointers about the privacy and legal issues associated with Facebook like and Google +1, see: Like button and privacy concern A common workaround seems to be a two-click solution German (also discussed on slashdot English ), where the first click enables the button (loading the javascript from Google), the second then is on the

Storing a Response From a Google JavaScript API Request

狂风中的少年 提交于 2019-12-06 04:50:52
问题 While trying out Google's Javascript API with Google+, I ran across a snag. var response; var request = gapi.client.request({ 'path': '/plus/v1/people/' + "THEUSERID", 'params': {}}); request.execute(function(resp){}); The execute function (gapi.client.HttpRequest.execute) takes a single argument; a callback function. However, I do not wish to handle the data immediately after I receive it, I want to store it in the response variable I declared at the start of the code. Is there a way to use

Google Signin:Error signing in the specified account. Please choose a different account

房东的猫 提交于 2019-12-06 04:44:15
问题 This question already asked but I did not find any satisfactory answer. I followed each and every step of https://developers.google.com/+/mobile/android/samples/quickstart-android#credentials-screenshot but instead of their package name I am using mine. There are two cases one is direct testing and one after signin the apk with keystore. When I am testing my app in that case signin with any google account working fine but after I generate my signed apk it is giving me Error signing in the

google share doesn't show description while sharing

会有一股神秘感。 提交于 2019-12-06 04:30:54
问题 I have a google plus share button in my website but it doesn't load any description on it. I have even tried adding <meta property="og:title" content="titletest"/> <meta property="og:image" content="url of image"/> <meta property="og:description" content="descriptiopnddd fas"/> I don't understand why it only shows the site "onlyin.projectsshowcase.info" . I just want to show default title, description and image while anyone clicks on share button on the page. What am I missing? 回答1: The new