Hot answers tagged

7

You need to have a data filter for the activity that you call the authentication URL in the manifest like: <data android:host="stackexchange.com" android:pathPrefix="/oauth/login_success" android:scheme="https" /> The activity also needs to override the onResume function for you to parse the URL and get the access token from the ...


5

For anyone interested in running this apps mobile chat interface on your desktop (as in a sidebar chat window with reply support!) the author has responded in record time to my request and provided a userscript version!


4

Use implicit OAuth flow. Load the specified URL with necessary query parameters into a webview and when authentication is done you can get the access_token from the redirect_uri. You can have the webview handle the redirect_uri by setting a custom webview client. Example: private class ExampleWebViewClient extends WebViewClient { @Override ...


3

I just downloaded android app from market, and tried to look around. And i realized that you keep recreating activity again and again. If you keep open activities enough, this app will realy generate memory overflow :D. (try it and you will need to use back button a lot to exit :) ) And also too obvious and eye diturbing pixelerated UI designs. I hope you ...


3

Sounds like you are technically not "linking" the pages (to open in Chrome, Firefox, etc.). Google suspects you of "bundling" someone else's content: We don’t allow apps whose primary purpose is to drive affiliate traffic to a website or provide a webview of a website without permission from the website owner or administrator. The overall Stack Exchange ...


2

The official Android app was released in early 2014.


2

Stack Exchange's implementation of OAuth 2.0 is modeled after Facebook's. While I haven't used Scribe, presumably their Facebook example is the relevant.


2

The stack exchange API officially does not support posting questions or answers, but it does allow posting comments. So you can install the StackX app and use it to comment on posts. There is also an Official Android App in alpha development. It looks like they are still taking sign-ups for guinea pigs volunteers. ;)


2

Dealing with token expiration is pretty simple. When a token is/goes bad then, when you make an API call that uses the token, you will get a JSON response like this: { "error_id": 403, "error_message": "`key` is not valid for passed `access_token`, token not found.", "error_name": "access_denied" } At that point, just re-authenticate. You can ...


2

I don't have much experience with HttpClient but the problem does not seem to be caused by your code. Probably it is the lack of required parameters that causes problem. When I called this function in C#, I passed following parameters in order to make it work. I am not sure about "preview" parameter but I believe the site parameter is a must. Hope this ...


1

It looks like you are sending a malformed access token. Your example, Vy*iWEzkfPKHAzx7PEtJcA%2529%2529 is not of the proper form and exhibits classic URI encoding corruption. Valid tokens all seem to be 24 characters that end in )). And ) is often encoded as %29 by browsers depending on how you get it and/or cut and paste. ')' === decodeURIComponent ('%29')...


1

The Stack Exchange app can be found here It's features are listed as: Version 1.0.60 can access: Identity find accounts on the device Photos/Media/Files modify or delete the contents of your USB storage read the contents of your USB storage Other receive data from Internet prevent device from sleeping read Google service configuration full network access ...


1

A little heads-up: Google play returns "We're sorry, the requested URL was not found on this server."


1

I have been looking for the same today, and from what I see, no current apps in Google Play seem to optimised for tablets, but couple come close: Stack Remote : the way it shows selected stack QA sites list on to a single screen, you may find it convenient to browse it on a tablet screen. Stack Anywhere : the answer reading is a bit annoying (since it ...


1

I think you are looking for Stack Remote. There are many Android Applications for Tablets. As for a Stack Android App, Stack Remote is working perfectly on my Motorola Xoom as well as on Samsung Galaxy Note.


1

I made this app, link overflow. To scraps the links from stack overflow questions. LinkOverflow -- list of links in a Stack Exchange post Feedback appreciated. Thanks.


Only top voted, non community-wiki answers of a minimum length are eligible