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!
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.
private class ExampleWebViewClient extends WebViewClient
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 ...
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 ...
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. ;)
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_message": "`key` is not valid for passed `access_token`, token not found.",
At that point, just re-authenticate.
You can ...
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 ...
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')...
The Stack Exchange app can be found here
It's features are listed as:
Version 1.0.60 can access:
find accounts on the device
modify or delete the contents of your USB storage
read the contents of your USB storage
receive data from Internet
prevent device from sleeping
read Google service configuration
full network access