cross-platform

How to read from a serial port using xpcom from Firefox?

Hello, I want to use xpcom to connect Mozilla Firefox to a serial port. The final result should be an xpi addon that can be installed on various environments (cross-platform Windows/Linux with Firefox 3.*). Where should I start? I have found an example here: http://forums.mozillazine.org/viewtopic.php?f=19&t=1083965&start=0 , b...

Platform independent paths in Java

I know the relative path of a file, and want to be able to handle it as a File object on both Linux and Windows. What is the best way to specify platform-independent paths in Java? ...

How to access iTunes Library both in Windows and Mac OS X

I would like to know how can I access to the iTunes Library information in multi-plataform way. I want to make a program that can run in both Windows and Mac OS X. Which programming language, API do you recommend? Take into account that this program will need a GUI. ...

Should I use CORBA, MessagePack RPC or Thrift, or something else entirely?

I'm writing software for a new hardware device which I want any kind of new third-party application to be able to access if they want to. The software will be a native process (C++) that should be pollable by 3rd party games and applications that want to support the hardware device. Those 3rd party apps should also be able to receive ev...

Cross platform software devleopment (Mac, Window) languange suggestion pls

I need to develop a software which works for both windows and Mac OS. The requirement are follows: User can view flash file, make the selection and software print out the user selected flash file list. I have experience in .net and windows platform but no experience in Mac OS. What is best development language and tool for my current...

Mobile cross-platform classes

Does the fact that different mobile platforms can use similar languages implies that you can reuse classes between these platform ? For example c++ code on iOS, Android and Symbian devices. Or is there some other things to take into account, libraries, etc. ? In the same spirit would it be possible to share C# code between iOS, Android ...

Create a mobile app that listens to incoming phone call events

As the title suggests, I would like to create a mobile app that runs in the background and catches "incoming call" events. Moreover I would like to use a Cross-Platform Development Tool to do this. I looked at three tools: PhoneGap, Rhomobile and Appcelerator. But I couldn't find any documentation or examples that suggest they support s...

Developing apps for both iPhone and Android

We have customers asking for apps that can run on both iPhone and Android. I realize this will mean two different development projects, but wonder if anyone has any advice/creative tips on this subject? e.g. Ways to maximize shared resources? NOTE: Realize making the app web-based would be most effective way, but looking for advice on...

Can I develop a .NET application in Windows and deploy versions for Linux and Mac?

Is this possible with, e.g., MonoDevelop perhaps? ...

Compiling Scheme to Java and/or Objective-C

We have Bigloo.NET does anyone know of such a project that offers the same but for the Java and/or Objective-C language? I am developing a component of a project that will also have a Windows and Apple GUI built around it. Would be nice if I could develop this component in a single language and have it compiled into the native language ...

Cross platform UI for Clozure

I am looking for a GUI toolkit to use on a Clozure CL project that I am working on. I would like a toolkit that is usable by a commercial project (so GPL is out unfortunetly, but LGPL is in) without a large fee like QT. I have looked into wxWidgets (which looks awesome) but Clozure's FFI only has C bindings so it appears I am out of lu...

Python & Cross platform way to list disk drives on Linux, Windows and Mac

I am trying to list the disk drives that a system may have. On Windows, it may be something like "C:/", "D:/", "E:/". On Linux, it may be something like "/boot", "/media/SDCard", etc. And I don't know what it's like on a Mac. Maybe something under /Volumes. Does anyone know of a cross platform way (that is, one which works on Linux,...

Need assistance with Database Schema (platform independant)

Good morning everyone, Please read everything before answering. I have sort of an opinion question but at the same time one that may have a right answer. I'm trying to develop a suite of products and want to make sure that since I'm doing it myself, that I do it right the first time. I've re-wrote the schema multiple times, each time...

How to determine the target machine from a DLL?

How can I determine the machine on which a given DLL can run. There are many platforms ARM, SH4, x64, x32. When I have no other information than the DLL itself how to do that? Background: There is a set off DLLs and some of them are not appropriate. How to detect them "offline"? SOLUTION Thanks for the help: the solution I use is th...

How to configure Eclipse project to compile both on Windows and Linux?

It's a simple OpenGL app. The problem is, JOGL needs native libraries, and I need to set "Native library location", which is different for Windows and Linux. Is it possible to share project settings between platforms? I want to make the workspace setup process as simple as "checkout from SVN, compile, run". ...

Python Directory Display in Finder, Explorer, Dolphin, etc... (Cross-Platform).

I would like to find some way of Viewing a Directory in the default file system viewer (Windows Explorer, Finder, Dolphin, etc...) that will work on all major platforms. I do not have the detailed knowledge of Linux, nor of OSX in order to write this. Is there some script out there that will do what I want? ...

How can my AIR app communicate with my server?

I want my app to communicate with with server. I want the app to store something like notes and contacts. They can run the app on any system, and get their contacts on any machine by entering their username and password... As you can see authentication security of user's data is important. I am considering using Google App Engine as the...

Writing cross-platform C++ Code (Windows, Linux and Mac OSX)

This is my first-attempt at writing anything even slightly complicated in C++, I'm attempting to build a shared library that I can interface with from Objective-C, and .NET apps (ok, that part comes later...) The code I have is - #ifdef TARGET_OS_MAC // Mac Includes Here #endif #ifdef __linux__ // Windows Includes Here #error C...

How can I move file into Recycle Bin / trash on different platforms using PyQt4?

I would like to add the next feature to my cross-platform PyQt4 application: when user selects some file and select "remove" action on it that file will be moved to Recycle Bin folder instead of being permantly removed. I think I can find Windows-specific solution using Win32 API or something similar, but I'd like to know does similar op...

Largest representable negative floating-point number

What is a platform-independent way of specifying the largest representable negative floating-point number? We found an algorithm that broke when run on a PS3's SPU, but worked fine when compiled for the PPU: float x = -FLT_MAX; /* stuff */ if (x > 0.0f) { // If x is unchanged, code is executed on SPU } Essentially, is there a wel...