Hi guys
My program consists of 2 parts - A server socket running on a different thread, and a client to test the server. I'm 99.9% sure that the server is correctly written (because I have tested it with a client socket), and all it does is returns "hello world" as a response. The server sits on port 3490.
Now what I tried to do is t...
In Interface Builder.app (and some other cocoa apps), image dragging has a very nice/sexy effect of morphing the drag image while you drag a draggable item out of its window.
For example in Interface Buildler.app:
Show the Library Palette (⇧⌘L, or Tools Menu -> Library)
Drag an item out of the Library palette
NOTE: as you drag the ...
My Motorola Droid shows up just fine in this configuration and appears as a deployment target. Works like a snap. How do I get the HTC Eris Droid to show up as a deployment target? Is there some special driver needed for the Eris?
...
How do you lower the mimic low bandwidth settings for testing HTML rendering on slow computers? I'm using Safari 4 on a Mac.
...
How would I send a command to a Mac (which has network sharing turned on) over the Wi-Fi network that both it and the iphone is connected to? In my case I want it to open an application.
...
Hi,
I'm using OpenGL to grab the contents of the Mac OSX screen - thsi works very well, except it does not grab the mouse cursor graphic. I need to somewhow get that cursor graphic, either as part of my screen capture routine, or separately.
My question is either:
How can I ensure that the mouse cursor image is included with the Open...
I posted this question a while ago regarding where to store non-user specific application data on Linux.
As you can see, I intended to use "/Library/Application Support” on Mac and perhaps "/var/lib" or "/usr/share" on Linux.
On an existing application (currently Windows only) we use “\ProgramData” on Vista & Windows 7 and “\Documents ...
I need to write a "virtual printer driver" for OSX, so that when the user presses Command+P to open the Print dialog, he sees my virtual printer...which will be used to generate files of various types, instead of physically printing to paper.
I'm new to the subject, I looked around a bit but found nothing. Do you have any link or refere...
Hi
My program (iphone app) consists of 2 parts - A server socket (sits on port 3490) running on a different thread, and a client to test the server. The server has a video file, and I want to send it to the client upon request. This I do like this:
int fileDesc = open([viewController.filePath UTF8String], O_RDONLY);
if (fi...
What would cause the Mac installer command to hang when installing an app from a shell script? The last output the installer gets to is "Preparing Target Volume". This behavior is observed on 10.5 and 10.6 but not 10.4.
...
I know the UUID of a volume - as found in Disk Utility.
How can I get additional information on the volume?
Most importantly, I want to know its mount point.
Looking at /etc/fstab doesn't do the trick. This does not list the root volume. I would at least need to figure out the UUID of the root volume to verify my known UUID against it...
I have to make a prototype application where I superimpose a small image over the file icons of a given folder.
Let's say I have a folder /MyDocuments/
and there are three files /MyDocuments/Doc1.rtf /MyDocuments/Doc1.pdf and /MyDocuments/Doc1.jpg
and I have an image myicon.png, now I have to superimpose this image myicon.png over the fi...
Right I'm getting a bit tired of this so hopefully you can help me sort it out once and for all.
I'm really confused about what's going on with Python on my MacBook. I'm running OS X 10.6.2 and have installed python from the website (the package that includes IDLE). This works absolutely fine, and in fact IDLE will run everything I want...
I was trying to run a project in my local machine.
I tried to load this jnilib file which I got from a running instance of this project on my Mac 10.6.2,
System.load(lib.getAbsolutePath());
then I got this exception thrown:
java.lang.UnsatisfiedLinkError, mach-o but wrong architecture
I have check the jnilib with file command:
l...
I’m not speaking about Apple’s Keychain Services Programming Guide or the Certificate, Key, and Trust Services Programming Guide. The official reference is OK and points you in the right direction, but there aren’t any sophisticated examples I could find. It would be great to have more documentation about how you should handle cerfiticat...
Currently iPhoto lets me upload pictures to Facebook and Flickr.
Is there any way (perhaps write a plugin) to extend this so that I can post photos to a different web service e.g. Picasa?
...
I have MAMP installed on my mac OSX 10.5, php 5.2.11, Apache 2
running phpinfo() from the webserver, shows:-
error_log = /Applications/MAMP/logs/php_error_log
log_errors = On
display_errors = On
ini as poining to /Applications/MAMP/conf/php5/php.ini
Thinking that there might be a permissions issue. ...
I am using Eclipse on Mac with Android SDK. I have the emulator working with my code and today I borrowed an Android that I would like to test on.
I have run 'adb devices' from the command line, but I think the problem is more fundamental at the USB hardware detection level.
What tools do I use to troubleshoot this?
...
Greetings,
I am responsible for a Java Applet that needs to work on a wide range of Macs. This applet needs access to the file system and thus needs to be signed. On a Mac, even if the applet is signed and the certificate is valid, by default the applet will still not work. You need to open the certificate and put under the trust settin...
Hi,
Can I develop a desktop app in VS2008 that can also run on Mac? What approach?
That is, if I am developing an application (thick client) that runs on a Windows XP/Vista PC, is there an approach to do this such that I could also run it on a Mac? (e.g. silverlight?)
The kind of things my winforms type app needs includes:
HttpWeb...