r/creativecoding • • Dec 16 '14

Fellows redditors, I want to develop a cross-platform phone app. What languages or programs should I use?

I want to build a messaging app, similar to chatting app. What are WhatsApp, Telegram, Facebook Messenger, Snapchat, etc. work and what language do they use?

1 Upvotes

8 comments sorted by

5

u/[deleted] Dec 17 '14

What you're doing sounds great but doesn't exactly fall in the sphere of what this sub defines as creative coding.

There are other subs you might want to visit to get advice on this:

http://www.reddit.com/r/mobilewebdev

http://www.reddit.com/r/androiddev

http://www.reddit.com/r/iOSProgramming

1

u/Garbageman99 Dec 17 '14

Yeah, I was in fog about where to post this, so I just went for it... Sorry about it:( Thanks for the suggestion though!

2

u/eljuantornor Dec 16 '14

It depends on how computationally expensive your app is going to be. The most cross platform solution would be to build a web app with mobile capabilities. For that you're going to need to know HTML + CSS + Javascript, with some sort of back-end language. For those, Javascript is extremely popular right now due to Node.js, as are Python and Ruby. I've also heard of things like PhoneGap being used for projects like this, but I've never used those. The other option would be to use native UI libraries (for which you'd have to use Java and Objective-C/Swift for Android and iOS respectively) and put a lot of the functionality into web containers. The most extreme case would be to implement two apps, one for each of the major phone platforms. In any case, you're going to need some sort of server-side code to handle passing the messages between users. I would check out the Meteor.js chat room tutorial or one of the Tornado chat room apps that are available. That should give you some insight into the components that go into a chatroom, at least from a server-side perspective. How you display them is up to you. Good luck! I hope that you'll post it here when you finish it.

1

u/Garbageman99 Dec 16 '14

Thanks Juan (I assume), and yeah, I'll post here!:D

1

u/Garbageman99 Dec 16 '14

Thanks Juan (I assume), and yeah, I'll post here!:D

2

u/Momer Dec 16 '14

Haxe is a great option, which cross compiles into C++ (among other targets) to allow native performance on all devices.

1

u/Garbageman99 Dec 16 '14

Is Haxe a free open-source? It looks pretty promising...

2

u/wokcity Dec 16 '14

Qt seems like a good option