Android TouchEvents DOM API
Is there a TouchEvents DOM API for Android? I need to implement drag & drop behavior. ...
Is there a TouchEvents DOM API for Android? I need to implement drag & drop behavior. ...
I'm looking into releasing a public REST API, which I'd like to keep protected via API keys. Services like Mashery offer API management services; per their spec sheet, they offer: API registration, access and self-service provisioning Key issuance and credential management Usage throttling and limiting tied to key, user, method or grou...
What's the best image search API for general image search (eg. find pictures of potatoes, paris hilton, or scarface), available for remote invocation from a server (ie. not in-browser javascript)? The Yahoo API is nicely setup and well documented, is easy to use, and includes image thumbnails. This looks like the best candidate so far...
I'm in the process of writing a BSD licensed mini-ORM targeted at embedded databases (with support for ese, sqlite and sqlce out of the box) After working lots with Rails in the last year I have been thinking of implementing an Active Record pattern in C#. I have come up with some demo code and was wondering if the interface design i...
i can get my user_timeline fine: curl -u user:pwd http://www.twitter.com/statuses/user_timeline/user.json {blob of tweets} but when i try to get the friends_timeline, i get an auth error: curl -u user:pwd http://www.twitter.com/statuses/friends_timeline.json {"request":"\/statuses\/friends_timeline.json", "error":"Could not authen...
For the popular languages and libraries we use every day: What are examples of some bad design, embarrassing APIs, or generally bad usability? Design errors that we have to pay for because they introduce subtle bugs, we have to use awkward workarounds or memorize unintuitive ways to get things done. I'm especially thinking of issues l...
When you're programming against a SOAP Service, what tools do you use to explore/poke-at the API? I realize that Visual Studio/Eclipse likely have some sort of client built in (and please, do talk about them), but I'm more interested in information about stand-alone programs like Soap Client for OS X. More specifically, does anyone h...
OpenID authentication is inherently browser based. If I wanted to allow an OpenID user to authenticate against an API for use in alternative clients, is there an accepted best practice for that? So if a user tried to log in with their OpenID into an iPhone app, for instance, how would that work? The only thing I can think of generatin...
I want to write a program under Win/Mac/*nix, that takes a phone number and dials it on my mobile through Bluetooth. I don't know much about BT. Is that possible? The mobile is mine and I WANT it to dial. How would I go about it? Thanks. ...
I receive the follow exception: System.NotSupportedException : This stream does not support seek operations. at System.Net.Sockets.NetworkStream.Seek(Int64 offset, SeekOrigin origin) at System.IO.BufferedStream.FlushRead() at System.IO.BufferedStream.WriteByte(Byte value) The follow link show that this is a known problem for ...
Is it confusing to design an API with multiple ways of achieving the same outcome? For example, I have my own Date library (which is a simple wrapper around the Java Date/Calendar classes to distinguish a year-month-day, Date, from an instant-in-time, Instant and provide mechanisms to convert between the two). I started off with one meth...
Hi, I would like to write a replacement for the S60 Active Screen (app that runs in the idle screen). But I can't find any documentation covering how to write/draw to the idle/active screen API's for S60 3rd edition. I dont mind if they are for C++ or Python bindings. Can anyone point me to some docs/examples? PS I know this can be d...
EDIT: Web Services being called from a windows console application at present, using VB.Net and Visual Studio 2008 We are using the Interwoven Worksite Web Services and are having issues debugging them. The web service is returning the following error: "Unable to access the object. It may have been deleted or you may not have sec...
How can I find the closest intersection of the street I have coordinates of? For instance, say I have street A running from south to north that is crossed by street X on the north and by street Y on the south. Does the Google Maps API allow for finding coordinates of the nearest crossroad (either X or Y) of street A? I couldn't find it...
I am looking for a good API documentation for Javascript especially related to browsers and DOM. I am not looking for any kind of Javascript tutorial, but simply a documentation for all standard Javascript classes and for classes used in web browsers. Something similar to Java's Javadoc ( http://java.sun.com/j2se/1.4.2/docs/api/ ) ...
Is there library support for parsing command line arguments in Java? Preferably in the APIs that are with the default JRE, and supporting UNIX-like arguments Something along the lines of PERL's GetOpt? ...
At our office, we are having heated discussions regarding naming some arguments in our public API. Everywhere we are providing getters to lists of some kind, we want to be able to limit results (for pagination). Ie: getPosts/getNews/getUsers/.../ should be able to return items 0 to 25, 50 to 100 etc. So, we need two parameters. First ...
I have heard this a lot, the the Java API is poorly designed. Do you agree and if so, how? I know there are major issues with the Calendar/Date apis. The collections api takes a lot of boilerplate code to use. The File/IO API can be complicated for some things. But, does this apply across the aboard? And to which versions of Java? ...
I'm looking for a way to list all connected storage devices, like Disk Utility does. That means also for not mounted volumes. The second thing I'm looking for is more detailed information, to what port a device is connected, the size of it and the block size of it. Is there an API to do this? I prefer Cocoa, but a unix API is also ok. ...
So I've recd. a requirement to create an API to access our application. Not all controller actions are covered by the API (maybe 50%). I figure I can either use the same project, check the http headers for each request and respond with either xml, JSON or html as required (much like rails). OR Create a new ASP.NET MVC application, d...