Hi guys,
I am trying to write an php twitter script which will be run by crontab, what the script does is to get the tweets from a dedicated twitter account.
I have looked at some of the php twitter oauth libraries, all of them seem to use redirect to a twitter page to get a token, then goes back to a callback link. In my case I don't want to…
I have an object variable Object test = Spinner.getSelectedItem();
-It gets the selected item from the Spinner (called spinner) and names the item 'test'
I want to do an if statement related to that object e.g:
'if (test = "hello") {
//do something
}'
But it appears not to work....
Can someone give me some help?
-Do I have to use a…
I want to import all songs (on the Archos 5 IT) into an array in my app?
How can I do this?
-What is the file path?
-How do I get an array?
Please help...
Thanks alot,
James
As a communications method is TCP best way to get lots of data through to multiple android devices from another android device over 3g? Also are there recommended ports to use for 3g data transfer?
I want to rule out using a web service intermediary as I want this app to be decentralised if possible.
Cheers,
James
I was surprised to see in the Java source that System.arraycopy is a native method.
Of course the reason is because it's faster. But what native tricks is the code able to employ that make it faster?
Why not just loop over the original array and copy each pointer to the new array - surely this isn't that slow and cumbersome?
Thanks,…
I want to add a feature into my app where you can record sound and then use it within the app (MediaPlayer)
How can I do this?
-First, how do I record sound?
-Second, how do I get it into a Mediaplayer?
-Does it have to be saved? or can it go from being recorded - into app straight away...
Please help,
Thanks alot...
James
I know you can 'seekto()' with Mediaplayer... (To start at a certain point)
But does anyone know if there is a way to make a track (the audio playing)... Stop at a certain point?
-or would an if statement on a timer loop have to be used?
Please help...
Thanks alot,
James
Once again we consider some of the lesser known classes and keywords of C#. In the next few weeks, we will discuss the concurrent collections and how they have changed the face of concurrent programming.
This week’s post will begin with a general introduction and discuss the ConcurrentStack<T> and…
Once again we consider some of the lesser known classes and keywords of C#. In this series of posts, we will discuss how the concurrent collections have been developed to help alleviate these multi-threading concerns.
Last week’s post began with a general introduction and discussed the…
I have something that splits each line of a file. here is a sample of a line it might split
"James","Project5","15/05/2010","3"
I have this code
Private Sub Command1_Click()
Open jobs For Input As #1
Do While Not EOF(1)
Line Input #1, tmpstring
splititems = Split(tmpstring, ",")
…
I have two tables that link together through an id one is "submit_moderate" and one is "submit_post"
The "submit_moderate" table looks like this
id moderated_by post
1 James 60
2 Alice 32
3 Tim 18
4 Michael 60
Im using a…
Hi,
I want to compare the time used by our internal servers against time.microsoft.com. Is there an easy way to do this?
Basically a third party sends me messages stamped with a time that has been synced iwth time.microsoft.com, unfortunately our servers are using a different time server, so I…
After a cursory Googling, I can't find a legitimate list of DICOM vendors. I've tried DCM4Chee, Conquest, and PacsOne. Each server seems to have it's own quirks and annoyances, memory leaks, etc...
I'd like to see what people use for their DICOM servers. Usually Wikipedia would have something…
I recently give a free trial to amazon EC2 service, I created a free tier micro instance(AMI is windows server 2008) in the Asian Pacific(Tokyo) region, but when it's done the public DNS it provided is ec2-54-238-181-35.ap-northeast-1.compute.amazonaws.com.
The corresponding IP is…
The question is a bit stupid but I can't get it sorted. I have a server with SVN that uses the SVNPath directive in httpd.conf and all works fine with path authorizations. Now I'm installing a second serer where I'm going to use SVNParentPath directive and I've got it all running…
Is there a table that shows what is necessary for streaming video on demand?
Specifically what I'm trying to do is stream Video on Demand to 50-100 people. I'm flexible with the format, but I'd like text on the screen to be legible (i.e. not 320x240).
If someone knows of a…
Well, I just figured I'd ask because this site is so awesome that it probably is faster to ask than try it and waste a few cents.
So can I burn an CD ISO to DVD? We've just got a bunch of DVD-R's lying around and I don't want to bother with torrents to download the new…
Just got a VPS from Network Solutions, it's got Red Hat 4, PHP 5.16, Java 1.4, no Yum and a whole bunch of packages I'd expect to have from a fresh install.
Anyway, obviously I sound like a spoiled Ubunutoligist, but do I seriously have to manually update all this stuff,…
The Magnetic Stripe Reader that I'm using and testing is just supposed to be sending keystrokes. Unfortunately, it seems to randomly be sending upper case and lower case keystrokes, sometimes substituting % for 5 and ^ for 6 and vice versa. (If you've ever programmed for…
I have a number of training documents which are formed from a word processor file and a slideshow. I'd like to be able to keep them together ideally by inserting the slides from Keynote into Pages. Is there any way of doing this quickly. So far I have tried Applescript…
I am playing around with a computer which has no CDROM drive or internet access and I have installed Ubuntu Server onto it. I have that all up and running nicely but now I'd like to install Xfce, GNOME or something similar so I can load up a desktop environment from…
I have a number of training documents which are formed from a word processor file and a slideshow. I'd like to be able to keep them together, ideally by inserting the slides from Keynote into Pages. Is there any way of doing this quickly? So far I have tried…
Is there any way of doing a Mail Merge in Microsoft Word 2007 taking data, including images from a Sharepoint site? It's a bit crude, but I've managed to merge text by taking the data off the sharepoint site as an Excel sheet and then merging that. My…