Settings

Theme

Ask HN: Hobbyist Cross Platform App Development

5 points by roberjo 12 years ago · 8 comments · 1 min read


Most enterprise app dev shops are going with paid systems such as Appcelerator Titanium, Xamarin, CoronaSDK where if you buy in, you get all of the goodies.

What is the best solution for hobbyist app developers who want to build cross-platform apps from a single code base and don't want large up-front costs?

tzm 12 years ago

Titanium is free for building/distributed apps and hosting data using their mobile backend (ACS). The paid components are related to Appcelerator Platform, which is a suite of testing, performance, analytics, data and integration modules. If you're a hobbyist, you likely don't need the enterprise suite.

If you go with Phonegap / Cordova, I recommend looking into Appgyver's implementation which offers great tooling (cli), tight codebase (Angular) and an extended feature set for native components. They also have a great support for data integration and provide a nice visual editor (Composer).

Fwiw, I have been using Titanium since 2009 and have worked with many clients over the years as a consultant and trainer. I primarily use Titanium (Alloy) for rapid development and write native modules to extend the framework as needed. Expect about 85% cross-platform code coverage (business logic) and about 95% coverage for views/styles.

Gamblor 12 years ago

Cordova is great. I work for an app dev shop. We do both native and hybrid.

If you dont want to mess with building for iOS and Android and XYZ then I would recommend looking into Phonegap. Phonegap uses Cordova to access all of the native apis etc. However what Phonegap does offer thats different is the entire build system. So if you are DIY with Cordova you run all of the build tasks but if you are doing it with Phonegap you can hook up your github repo and they will build for all of the supported platforms for you. No messing with XCode etc.

  • roberjoOP 12 years ago

    That is exactly the kind of discussion that I'm looking for. Thanks for your great reply!

brucehart 12 years ago

I would recommend developing your code base using Qt, which will export to Android and iOS. I think Windows Phone will be supported in the future, but has not been fully released yet. Qt is open source and free to use under LGPL.

  • roberjoOP 12 years ago

    I have seen some really good things about Qt.

    Are there any user paradigms that work better for Qt? For instance, CoronaSDK really excells at game development.

    • brucehart 12 years ago

      There are a wide range of modules in the Qt library including an OpenGL library if you want to do 3D games. I would say that Qt is strongest in doing basic apps with standard components like buttons, images, sliders, etc. since there is a large built-in library of Qt widgets to use. The down sides are that your apps may not look 100% native and the Qt libraries add a few MB of bloat to your app size.

ig1 12 years ago

Having built apps with apps with phonegap my advice is don't. Pick a single platform and build natively unless you have a very very good reason you have to be cross-platform.

  • roberjoOP 12 years ago

    What do you currently build?

    Native Android or iOS?

    What IDE do you use and what issues do you face?

    Thanks for your comment!

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection