api

Java serial comm API - what does inputstream.read() return if a timeout occurs?

Anyone know the exact value returned when the serial driver times out? I'm running Java1.5 on Win XP. ...

What's a good image hosting site with an API to allow me upload images from my website?

I'm looking for an image hosting website that'll allow me to upload images onto their servers from my own website using an API. I like Imgur.com's API but I'm looking for alternatives. ...

Using Data.Heap in Haskell, or reading Haskell docs for a beginner

I'm trying to use Haskells Data.Heap module, but I'm incapable of even using it with integers. The only heap I've been capable of using is "empty", which does not take any arguments. Later on I'll figure out how to instance for my needs, but for now I'd be glad if I was even able to test it with numbers. ...

iPhone private APIs

How to add private APIs and frameworks to an iPhone App. Like Apple80211. ...

Yelp competitor?

I like Yelp but I've never liked putting all of my eggs in one basket. I am about to launch a site this year (hopefully before July) that will rely heavily on Yelp for local businesses, restaurants, reviews, etc. Are there any other noteworthy competitors out there with API's? Basically, if my user is going to be in Tampa, I simply wa...

Google Maps iPhone API Terrain View

We're using MapKit on an iPhone app to display a Google Map with terrain view. However, the terrain view only shows when the user has an active Internet connection, the moment the user's Internet is off, the terrain on the map disappears and it appears flat. Is there any way to keep the terrain view on even when the user isn't on an act...

Speech recognition (web) services?

I have a buffer of audio and I'd like to perform speech recognition/transcription on it. I have limited CPU and RAM locally so I want to perform recognition on a server. Are there any (web) services that allow me to do this? My searches so far have led nowhere... ...

How does this script work for the ImageShack.us API?

I'm looking into using the ImageShack.us API for uploading images from my website. I found this tutorial for using it with the XML return http://elliottback.com/wp/using-the-imageshack-xml-api/, but I'm not sure about what to do with it. Where do I enter my API key for this script? Furthermore, he shows the use of two PHP files - should ...

asp.net c# online documentation generator

We are developing a very complex eCommerce portal using asp.net c# and the client asked us to make the documentation very similar (look & feel) with ebay api documentation http://developer.ebay.com/DevZone/shopping/docs/CallRef/GetSingleItem.html Do you have any idea what kind of tool they are using and if not do you know anything that...

ObjectiveFlickr - how to call getSizes on a photo ID not known until the response?

Hi guys, I'm building a free music instrument iPhone app with the Flickr API and ObjectiveFlickr.A random photo from the interestingness list is displayed in the background, but I can't center it without knowing its size. (so I can reset the UIWebView frame) I've been researching this for awhile, and if the answer is super easy, please...

Twitter API problem iPhone

I have tried to use twitter API in my application using MGTwiiterEngine, I think Ih ave configured all thing but while I am running the app by giving my username and password. The delegate of the MGTwitterEngine was called with the 0 statuses and also the numberOfConnections=0. twitterEngine = [[MGTwitterEngine alloc] initWithDelegate:...

Google Calendar API - Automatically Identify Events from a String (.NET Framework)

Hi, I've looked through other questions but i don't think this has been asked before: I have an email client i'm building in the .NET framework, and would like to automatically create google calendar events (just like in gmail). Is there a way to feed an email message (i.e. a string) and automatically identify if there is a possible eve...

Postcode and radius lookup recommendations

I look after a number of divisional websites for a uk based membership organisation and what we want to do is provide, as well as other address functions, is a closest member lookup to a web user from the websites themselves. A few use cases that I want to fill: Case 1: The user puts in their post code and wants to see all the members ...

Accessing GMail "View as HTML" content programatically?

I love the "View as HTML" option in GMail when viewing attachments. I would love to be able to use this feature programatically, i.e. check a GMail inbox, read emails, if there are attachments, get the html view and use that content. I'm looking to do this in C#. Does anyone know if this is possible or if there's another solution to eas...

Open source web cam conference software

Quick question, has anyone ever come across either a web cam API or an open source alternative that can be easily integrated to a site without having any Flash or ActionScript experience. I should probably say what I'm trying to do.... The idea is to create a Facebook app that lets friends communicate (and meet new people too) in real t...

Google apps API problem with read-only feed?

Hi all, I am beginning to use the google data api (specifically for the finance app). I can read my portfolio's just fine, so I am authenticating correctly (or so I think). However, when i try and create a portfolio, I get a 'feed is read-only' error. The constructor for the service: public class FinanceService : Service, IService { ...

Filter Facebook Stream by Post privacy?

Hi there, i query some wall data within my facebook tab. I was wondering how to filter the data (query) to show only post which are visible to a certain country. $query = " SELECT post_id, created_time, attachment,action_links, privacy FROM stream WHERE source_id = ".$page_id." ...

Facebook AS3 API publishPost() problem

I'm trying to finish a facebook app using the AS3 API. Im having trouble when using the publishPost (message, attachment, action_links, target_id, uid) function. I can get it to post on the user's wall setting the uid=user.uid BUT I can't make it post on the user's friends wall! Setting the target_id=friend.uid isnt working for me I'...

Apache: get client socket descriptor from request_rec?

I would like to call sendfile() to send some data to the client with as little overhead as possible. Given an Apache struct request_rec, how can I get the fd associated with the client socket? ...

PHPDelicious - Fail to Connect to Delicious

phpdelicious (http://www.phpdelicious.com/) is a wrapper class for pulling in your delicious bookmarks using php. But I can't get it to work. Here's my code - my index.php: <?php require('php-delicious.inc.php'); define('DELICIOUS_USER', 'my-user-name-here'); define('DELICIOUS_PASS', 'my-password-here'); $oDelicious = new PhpDelicious(...