api

Hooking into Windows File Copy

I want to write my own file copy program that will run when the user chooses'Paste' (Ctrl+V) in Windows Explorer. Some programs like CopyHandler and SuperCopier are doing this. But I don't know how. Please help. ...

Android API for detecting new media from inbuilt camera & mic

Is there any elegant way in the Android API for detecting new media when it is written to the device? I’m mainly interested in photos taken by the camera, video taken by the camera and audio recorded from the mic. My current thinking is to periodically scan each media content provider and filter based on last scan time. I’m just wonder...

Disable MOSS auto import of colleagues

Upon AD Import for SharePoint, MOSS does this automatically: "Office SharePoint Server 2007 automatically adds your manager, peers, and direct reports as your colleagues". How do I disable this automatically so it's a clean list of colleagues? ...

Are there some statistics on the most frequently used Java API functions?

Given a large API (an in particular, the Java or J2EE standard libraries), is there a tool or search engine or other resource that can tells me which methods, classes, or even packages people in general tend to use the most? I am annotating (see below) APIs and would like to focus my attention on popular areas. The only thing I can think...

Does a print version of the Java 1.5 API exist?

Does a print version of the Java >= 1.5 API exist? Where can I buy it online? Preferably in Canada, but just a title is great. ...

Free SMS API

Anyone know of a free SMS API I can integrate in my web application that will enable my users to send a limited amount of free SMS messages? ...

How to access XML version of CruiseContol.NET Web Dashboard reports (over HTTP)?

I need to determine state of last build (success/failure) and I do it like this: report_url = 'http://.../ViewLatestBuildReport.aspx' success_marker = '<td class="header-title" colspan="2">BUILD SUCCESSFUL</td>' page = urllib.urlopen(report_url) if all(success_marker not in line for line in page): # build is not good, do something ....

My ideal CMS. Does it exist, or isn't it a "CMS" anymore?

As a webdeveloper I have built several small and large websites with different teams, but always had to deliver a CMS to maintain content. In my experience with different CMSes, I have found them to pretty much always leave a footprint on the website, like offering page templates that are required to build the website with. So, I though...

Using Google Spreadsheet as DB for apps

Has anyone had any experience using Google spreadsheets to store data online so multiple people can enter and maintain data, then publishing or exporting (csv,xls,ods) the sheet for their application? What is the easiest way to process the sheet? If the data can be accessed as a link the updates could be immediately reflected in the cl...

Upload a file in Django and then send it somewhere else through REST?

I am building a simple Django app that will use scribd to display documents. I would like to have a page where the administrator can upload documents to scribd through the website, since I need to know a few things about it before it gets to scribd. What is the best/easiest way to do this, display an upload page and then take the file th...

Looking for suggestions for building a secure REST API within Ruby on Rails

I'm getting started on building a REST API for a project I'm working on, and it led me to do a little research as to the best way to build an API using RoR. I find out pretty quickly that by default, models are open to the world and can be called via URL by simply putting a ".xml" at the end of the URL and passing appropriate parameters....

API to broadcast live webcam

Hi! I would like to know if anyone here knows an API where it's possible for me to create a live webcam broadcast from inside my website? I was checking the uStream API and it seems that you can't create anything, just retrieve data... Does anyone knows anything like this? Thanks in advanced! ...

What is the (single) best online source for learning OpenOffice.org scripting API

I am using OpenOffice.org for most of my not so very frequent Office Suite needs and most of the time it is more than adequate replacement for it's commercial alternative. Where it falls short though is the scripting API. I am yet to find the documentation that would make sense of the API in a way that would let me concentrate on my tas...

Change Keyboard Layout for Other Process

I'm writing a program in C# that runs in the background and allows users to use a htokey to switch keyboard layouts in the active window. (Windows only supports CTRL+SHIFT & ALT+SHIFT) I'm using RegisterHotKey to catch the hotkey, & it's working fine. The problem is that I can't find any API to change the keyboard layout for the focus...

How do I check if a Sharepoint Document Library has the Require Approval flag set, using the Sharepoint API ?

Hi It would also be useful to be able to check the "Requires Checkout" flag as well. I thought it might be a property on the SPDocumentLibrary object, but I can't see it. Do I need to look in one of the admin namespaces...? Cheers Matt ...

IIS API - Create virtual directories?

Just looking for the relevant documentation. An example is not necessary, but would be appreciated. We have a situation where we are having to create 100s of virtual directories manually, and it seems like automating this would be a good way to make the process more efficient for now. Perhaps next year we can rework the server env...

Google APIs and tools for C++ developer

Google guys seems to know their game and I like learning from those smarter than me. Google is sharing a lot of code with open source community. Their docs and APIs are IMO state of the art. Which tools / APIs would you recommend for a C++ developer? I'm interested both in looking at interesting solutions / tricks as well as using some G...

Merits of Amazon book API versus Google book API?

If one wanted to build a web site around books, would it be better to use Amazon's web services API or the Google book API? All aspects of the question are welcome discussion fodder: technical ease, quality of metadata, API capabilities, language support, and so on. ...

MySQL C API using results

I am using the "MySQL C API" to query the database and I have the results stored in MYSQL_ROW types. I am able to use print the results to the console with printf("%s", row[0]), however, according to the MySQL C API documentation, I cannot use them as null-terminated strings. At the bottom of http://dev.mysql.com/doc/refman/5.0/en/c-ap...

Is there a programmatic interface to Yahoo! Messenger?

Can we programatically login to Yahoo services with our ID, send instant message, use webcam service and so on directly from our program? ...