0

I'd like to develop a stand-alone desktop application targeting Windows (XP through 7) and Mac (Tiger through Snow Leopard), and if possible iPhone and Android. In order to make it all work with as much common code as possible (and because it's the only thing I'm good at), I'd like to handle the main logic with HTML and JS. Using Adobe AIR is a possibility. And I think I can do this with various application wrappers, using .NET for Windows XP, Objective C for iPhone, Java for Android and native "widget" platform support for Mac and Windows Vista & 7 (though I'd like to keep the widget in the foreground, so the Mac dashboard isn't ideal). Does anyone have any suggestions on where to start? The two sticking points are:

  1. I'll certainly need some form of persistent storage (cookies perhaps) to keep state between sessions
  2. I'll also probably need access to remote data files, so if I use AJAX and the hosting HTML file resides on the device, it will need to be able to do cross-domain requests. I've done this on the iPhone without any problems, but I'd be surprised if this were possible on other platforms.

For me, Android and iPhone will be the easiest to handle, and it looks like I can use Adobe AIR to handle the rest. But I wanted to know if there are any other alternatives. Does anyone have any suggesions?

2 Answers 2

1

You might be interested in Appcelerator's Titanium. It's an alternative to Adobe AIR that lets you build native mobile and desktop apps using HTML and JS (with the WebKit rendering engine, so you can take full advantage of HTML5 and CSS3). It also satisfies your two sticking points:

  1. SQLite is available for persistence storage.
  2. There are no restrictions on cross-domain requests.

I used Titanium Desktop for a recent project and it was a relatively smooth development process. It's also open source so you have access to the full application at all times.

Check it out and let me know if it works for you.

Sign up to request clarification or add additional context in comments.

2 Comments

Titanium does look interesting. You say development went relatively smoothly; what issues did you encounter?
I have tried without success to issue Ajax calls from a Titanium Desktop app against REST services hosted in ASP.NET but requiring Windows (NTLM) Authentication. Do you have some experience in that area?
0

You can create a desktop application with HTML, CSS & Javascript using either of the following two frameworks

For mobile you can use the similar HTML and Javascript using PhoneGap

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.