api

How to set the area/rectangle in which the cursor is allowed to move?

E.g. when you hit the side of your monitor your cursor can't go any further, and more of an example is when in microsoft paint, and your choosing a colour from the RGB table, it won't allow your mouse to go outside of the rectangle while your mouse is down.. my question is how would you implement that in c++ with win32 api? ...

SKype4COM C# Authorization Message

I want to send online user a custom authorization message similar to this: "XXX would like to invite you for XXX" Yes or NO" This should be shown inside the chat message and the user can click to respond Any idea how to do it? I had studied the skype API and its samples but couldn't find a feasible solution. You can use skype.clien...

Picasa PhotoFeed method getNextLink() returns null. Why? Please advise.

Hi! I have problem getting Photo Next and Prev. links. When a photo is displayed on the page I want to offer visitor to visit Next photo in album and Previous photo in album. Unfortunetly Picasa always returns me Null when calling getNextLink() or getPreviousLink() methods of PhotoFeed Entry. Please advise me. Thank you! Sample co...

posting file "multipart/form-data" through php

Hello Im trying to use imageshshack api in php in the following way: <?php function do_post_request($url, $data, $optional_headers = null) { $params = array('http' => array( 'method' => 'POST', 'content' => $data )); if ($optional_headers !== null) { $params['http']['header'] = $optional...

XML parser syntax error

So I'm working with a block of code which communicates with the Flickr API. I'm getting a 'syntax error' in xml.parsers.expat.ExpatError (below). Now I can't figure out how it'd be a syntax error in a Python module. I saw another similar question on SO regarding the Wikipedia API which seemed to return HTML intead of XML. Flickr API r...

how to get user profile in linkedin using some api?

hi.. How to get profile of user in linked in. plz specify the api and how to get authonicated through api. plz specify the complete procedure. 1.get token 2. access profile. plz reply. thanks & regards... ...

Patents - Passing the Nonobvious test: When is a language API/Wrapper worthy of a patent?

I've made this library virtually allowing porting of features of one software language into several others. Obviously, it rides on several past inventions: the library's underlying language, the method/system for allowing different languages to communicate with each other, and possibly others. But what this library does is allow this o...

Need some advice on a java api to use for a 'presentation display board'

As part of the project i am working on I am looking to produce some software that works on a LCD display (think call center info boards) and displays various graphs (the bars grow etc in realtime, so incoming call stats etc etc) and flicks between various 'plug-ins'. I asked before, and WPF was suggested, and it looks excellent.. Howev...

Any good Finance API?

Yahoo! Finance feeds are pain in the ass. Google Finance API seems OK but don't know why I can't retrieve stock quotes information for Dow Johnes, NASDAQ, S&P... Works perfect with company quotes like YHOO, MSFT but don't gets full data for stock indexes. There is an article at YQL blog on how to get this data from Open tables with YQ...

Limesurvey -- How can I verify from a custom Java app that a user has completed a survey?

Using LimeSurvey 1.90, I want to be able to check from a custom Java application if a user has completed a survey defined in LimeSurvey. I found this, but it looks like it applies to version 2, not version 1.9. I don't care about any other information from the survey, other than if the user has completed it or not. Has anyone done thi...

need php api help

hi friends i am trying to solve how i can access the halo reach api for get states bungie has released a api for this here is the link http://www.bungie.net/fanclub/statsapi/Group/Resources/Article.aspx?cid=545064 how can i access this service via php and display some stats need help thanks i am trying like this <?php require_once('...

Google Contacts API not showing emails, nor max results

I'm using the Google Contacts API to get back formatted JSON, hopefully containing ALL of a user's contacts' email addresses. I use this information to search my database for the user's friends. Neither of these results occur. Here's the URI that's called (broken up by paramater for slightly better readability: http://www-opensocial.g...

Opening a handle to flash drive gives me an "Access Denied" error code

Hello, I would like to know why when I try to create a handle to a USB flash drive, I receive a path not found error. HANDLE aFile = CreateFile(_T("\\\\.\\F:\\"), GENERIC_READ, 0, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL); if (aFile == INVALID_HANDLE_VALUE) { printf("\n"); printf("Bad handle val...

The best Scala API reference?

In my PHP years http://www.php.net was my best friend. I think that the clean and complete API reference on that website is one of the best features of the language. It references every function available with examples and comments from the community. I want to ask all the Scala programmers out there: Is there something like this f...

CiviCRM - get custom data for user

I've set up CiviCRM and created a custom data fieldset. I'm now trying to get this raw data and output as I wish. I've got code that displays the basic user info (contact id, display_name, image_URL, etc), but it does not include my custom fields (for example, twitter_username). How do I get to the custom data I've added? ...

How to read pdf form fields using Java ?

Hi, I've a requirement where user are going to fill lots of fields ( text field, check box, radio button ) on pdf form and they will mail us. I need to read each fields on pdf form and insert into oracle table. Edit1: I'm trying following code, It generates pdf but when I double click it says "invalid format". What's wrong ? import j...

Finding Android source code

Are the Android APIs open source? If so, I want to see how they implemented the smoothscroll method for the ListView object (this is implemented in API level 8, but I want to build against an earlier API level). How would I go about finding this? ...

Programmatically get the yahoo messenger status

I'm interested to know how can I get the yahoo messenger status, as some sites do. I've find how to get the online/offline status, but not the invisible status as in this website: detectinvisible[dot]com Do you have any idea? ...

Use of eBay API in PHP to retrieve My eBay information

Hi, I am on working on a personal project to write a PHP website which will allow me to easily track all my purchases/bids/watch list on eBay. As you know, purchases which are older than 2 months (I think) can't be seen on eBay; but I would still like to keep track of them. So I would be using the eBay API's to retrieve the information ...

How to download Google AdWords reports automatically

Hi, Is it possible to programmatically download an AdWords report (containing information about campaign and keyword performance like impressions, clicks, CTR, etc.) without logging in to the AdWords web site? I'm aware that they provide an API, but it appears that you have to be approved, and I don't need all the services -- just basi...