I'm looking for a well-maintained Java bytecode manipulation library with an intuitive API. There seem to be quite a lot of them out there. Any suggestions on which ones to try?
Is there a way to determine what kind of data plan a device has so an app provides a less rich experience if a data plan is not available? I imagine the connector factory would still be able to return me an HTTPConnection but it would cost the user serious money for lots of data, and I'd like to be nice and prevent that.
I thought there would be a way to query device capabilities in the MIDP API, but maybe it's in CLDC?
i take a regular multiselect listbox and convert it to a jquery ui multiselect listbox by calling this:
$(".multiSelectMe").multiselect();
As per the API, i call this method in the return of an ajax function
$(".multiSelectMe").multiselect("select", "Item 1");
but nothing seems to happen. i can't figure out a way to have this programatically add items within an ajax call.
i was thinking there was maybe another "refresh" method or something like that but i can't find any.
I have an application where I would like to exchange information, managed via Core Data, between two iPhones.
First turning the Core Data object to an NSDictionary (something very simple that gets turned into NSData to be transferred).
My CoreData has 3 string attributes, 2 image attributes that are transformables.
I have looked through the NSDictionary API but have not had any luck with it, creating or adding the CoreData information to it.
Any help or sample code regarding this would be greatly appreciated.
i have use this code but it is Private API ,apple also reject!
[[UIDevice currentDevice] setOrientation:UIInterfaceOrientationLandscapeRight];
if i rotate my device in Landscape then open my Application it will present as Portrait mode, i need to rotate my device to another orientation then it will update.
how to update it to correct orientation when call UIViewController?
I want to use WatiN with IE in a parallel setting, i.e. work with dozens/hundreds of pages at once. I've tried sticking it into a Parallel.For loop only to see the whole thing crash, so I'm thinking opening multiple tabs in the browser is the way to go. Can someone suggest how this can be done using WatiN (or just some IE-related API) or whether there's a better way? TIA!
Any recommendation of a Fax server to use in Windows? Looking for good API support for incoming faxes. (Lots of them are good for outgoing). I want to route incoming faxes to email programmatically after the server gets the fax and set Whitelist of phone numbers to filter spam - all in code.
Hello I have implemented the following
$fql = "SELECT uid2 FROM friend WHERE uid1=" . $uid;
$param = array(
'method' = 'fql.query',
'query' = $fql,
'callback' = ''
);
$fqlResult = $facebook-api($param);
Now I need to fetch elements from $ fqlResult. How should I do this??
Can somebody tell me best SMS gateway in USA . I want my application to send SMS using HTTP. So I would like to the best and cheap gateway which can provide api's to send sms. My App is written in VB.NET.
i want to take a folder of pictures, and turn it into a slideshow video with music in the background.
i have no idea how to do this, or where to get help, cos this isnt the kind of thing you can search in google.
idk if there are api's for it, or if it can even be done in C#.
maybe ill have to move the project to C++ or something, but first i need to know where the hell to start.
thanks.
Hello
I am having trouble reading ldap error codes. Is there any method or an API to read ldap error codes/sub error codes.Right now I am parsing the exception message and getting the error code. I believe there is a simple way of extracting codes?
Padur
Using adLDAP.php class
receiving following error: Notice: Undefined index: memberof in /web/ee_web/include/adLDAP.php on line 762
line 762: if (is_array($groups[0]["memberof"])) {
Also receiving error: Notice: Undefined index: count in /web/ee_web/include/adLDAP.php on line 982
line 982: $entries[0]["memberof"]["count"]++;
Unsure of what I need to do to resolve these error messages, it seems that the script is working fine, but I'd like get rid of these errors.
Using: http://adldap.sourceforge.net/wiki/doku.php?id=api
I have multiple locations (20+ per page) that need to be mapped on a single map. I would like to click on a link for the location that is not dynamically generated (for SEO purposes) that would open the info window for the respective marker on the map.
Behavior should mimic http://maptheburg.com/ - but this map has the sidebar links dynamically generated.
Yelp.com is the only site I have seen so far that manages to implement the Google Maps API with unobtrusive JavaScript.
Using the SharePoint API (the one with the assemblies you add, but requires you to run on the server) it is easy to get audience members:
using (SPSite site = new SPSite("http://localhost"))
{
ServerContext svrContext = ServerContext.GetContext(site);
AudienceManager audManager = new AudienceManager(svrContext);
foreach (Audience audience in audManager.Audiences)
{
ArrayList people = audience.GetMembership();
if (people != null)
{
foreach (UserInfo user in people)
{
Console.WriteLine("send email to " + user.Email);
}
}
}
However I can not find a web service to do the same thing?
I'm writing a new product, and I've noticed that a lot of the features I want already exist in blogging platforms like wordpress. For example, comments and comment moderation, content editing, etc.
Is there a good blogging system that is easy to use as a foundation for something else? Something with an API, extremely customizable, and hopefully something that works well with Java.
I want to get the overall CPU usage on Android, similar to what Windows' Task Manager does. I can parse the output of the top program included in Android, but if there is a API call that does the same thing, it would be better.
Any pointers?
Hi Guys,
I am creating a GUI frontend for the Eve Online API in Python.
I have successfully pulled the XML data from their server.
I am trying to grab the value from a node called "name"
from xml.dom.minidom import parse
dom = parse("C:\\eve.xml")
name = dom.getElementsByTagName('name')
print name
This seems to find the node ok but the output is below:
[<DOM Element: name at 0x11e6d28>]
How could I get it to print the value of the node?
Cheers
Well the title says it all -
couldn't find that info using DiskArbitration or FSGetVolumeInfo/GetVolumeParms...
I know that hdiutil uses a private framework called DiskImages framework, but I wouldn't want to run an external utility each time I want this info... wheres the API for this ?
Thanks.
How do I compare the 2 images in Java based web application.
I have installed the Biometric thumb reader, I need to read the user Thumb and compare it with his thumb image which is captured during the registration process.
Initially I am storing the image in the Mysql as Blob.
Else I can store that image in a separate folder as well
Please suggest which is best way to do
1)Shall i Use the Java script
2)Is there any built in Java API to perform this
Does anyone know of a means to copy a worksheet from one workbook to another using POI? The Workbook class has a cloneSheet method, but there doesn't seem to be able to insert a cloned sheet into a new workbook?
If there isn't an API to do this easily, does anyone have the code to copy all of the data (styles, column widths, data, etc) from one sheet to another?
The jxls has methods to copy sheets, but they don't work when copying between workbooks.
Hey,
Does anyone know how I can get the helpful Eclipse popups with javadoc when programming for the Google Wave Robots API? I have access to the JAR-file, the HTML Javadoc, as well as the source files from here
How do I set up eclipse so I get javadoc integrated? I have tried adding the source files, but things just get "messy"
Hi,
I want to delete one ABPerson (say, person) in address book then add another one (say new), since some parts of attributes may be reused, I want to clone 'person' to 'new', here is my question, it seems there is NO function to do this clone, I found ABRecordCreateCopy but it seems to be MAC specified, Is there any api I could use to avoid copy each properties one by one ?
Thanks in advance!
Jeff
Briefly:
I'm after the equivalent of .NET's String.Trim in C using the win32 and standard C api (compiling with MSVC2008 so I have access to all the C++ stuff if needed, but I am just trying to trim a char*).
Given that there is strchr, strtok, and all manner of other string functions, surely there should be a trim function, or one that can be repurposed...
Thanks