Tag Info

Hot answers tagged

15

On the legal stuff, Looking at your screen shots, your application looks good to me. The purpose of the guidance in StackApps is to encourage people to diversify their apps and make them really kick ass on their platform. I know the issue is confusing but we are trying to steer people away from "I'm just gonna clone the website" or "I'm going to write the ...


7

Version 5 (Finally) updated to API version 1.0 Now using the StackWrap4J library (thanks to @Bill the Lizard and @jjnguy for helping me with the teething problems) StackAuth support (drop-down list of StackExchange sites is pulled from StackAuth dynamically)


4

It is the best Stack Overflow Android app I've seen. Would it be possible to support notifications whenever someone comments on or answers one of your questions? Normally, on the website there is a little red circle with a number in it that shows you the number of unseen messages and answers. Nice work Felix.


4

Search Examples Questions You can search for questions with StackWrap4J by instantiating a StackWrapper then calling the search method. Before calling search, you have to create a SearchQuery, which is a simple parameter object. StackWrapper so = new StackOverflow(); SearchQuery query = new SearchQuery(); query.setTags("swing"); ...


3

OK, well, I've pretty much confirmed that A LOT has changed with version 2.0... the new release does not appear to be backwards compatible with version 1.1 at all. Kind of annoying if you ask me. For now I'm going to modify StackWrap4J myself and just copy and paste the modified source code into my app... if anyone is interested in partnering up to extend ...


3

This is a nice implementation, but it doesn't work on Java ME nor Android though. You seem to be experienced Java developer, because you are using the adapter pattern design and some introspection stuff. The main problem here is that Java ME and Android don't provide the java.beans package which is needed in order to use introspection as you are using it... ...


3

StackWrap4J has been released fairly recently. It is completely up to date with the latest version of the API. (As of June 24th, V0.9) It has been tested and works on the Android platform. We are still developing it and will continue to support it as the API changes. If you are interested in switching to it, we will work with you to make the transition ...


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

I started working on one over the weekend. I went ahead and stuck it on github if you want to look. I'm shooting for a version that will have most functionality stometime this week. http://github.com/carsonmcdonald/Stack-Apps-Java-Library


2

Just thought I'd post an update as an answer so people can see it more easily. Version 2 The deployed application is now generic (see screenshot), but defaults to Jon Skeet. You can now stalk anyone you like on any of the sites that the API supports (just get their user id from their profile url). This obviously increases the load on the API but I'm using ...


2

Version Updates: Version 1.0.1 [download] Added serialization to StackWrapper, all entities, and all queries Url encoded user entered String parameters (i.e. " " => "%20") Set followRedirect on each connection instance instead of JVM-wide. (This was causing problems with Google App Engine)


2

Timeout Example If you find that a response is taking too long for your app, you can set a timeout on the request. If a timeout occurs, a java.net.SocketTimeoutException is thrown. The default timeout is 0 which means infinite, so you don't have to worry about the exception if you never set a timeout. StackWrapper sw = new StackOverflow(); // Set the ...


2

Gmail and iGoogle Gadget for Stack Exchange [v1.0.16 released!, now with user mentions] Changelog v1.0.16 New types of notifications added. Now Gadget notifies you on comments that are directed to you. Comments are expandable, so click on comment title will expand height to accommodate all available text. New updates are highlighted now. 'Mark all as ...


1

I got Jon Skeet beat :) I get the following: C:\Users\mark.henderson>java -jar c:\users\mark.henderson\AppData\Local\Temp\rep Compare.jar Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version n umber in .class file at java.lang.ClassLoader.defineClass1(Native Method) at ...


1

Thanks for this, I was able to get an Android proof-of-concept working very quickly. I wanted to build the latest version from SVN because it has some changes that aren't in the most recent binary but there doesn't appear to be a build script in the repository. The structure seems straightforward, so I could write my own build.xml, but maybe you have ...


1

Bug The link to the user profile is wrong: http://http://api.stackoverflow.com/users/22656 (should be http://api.stackoverflow.com/users/22656 http://stackoverflow.com/users/22656). Screenshot:


1

Version 4 API updated to v0.9 (thanks nabeelmukhtar!) External links (e.g. to user profiles or to the questions themselves) will open in a new tab/window



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