Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[discussion] Other platforms support #3

Open
zabojad opened this issue Nov 2, 2017 · 10 comments
Open

[discussion] Other platforms support #3

zabojad opened this issue Nov 2, 2017 · 10 comments

Comments

@zabojad
Copy link

zabojad commented Nov 2, 2017

Hi @Aurel300 !

Just a little discussion about this project to understand more where you are heading to.

Are you planning to support Android? (that would be awesome...).

@zabojad zabojad changed the title [discussion] Other platform support [discussion] Other platforms support Nov 2, 2017
@Aurel300
Copy link
Owner

Aurel300 commented Nov 2, 2017

Hey,

As the README says, other platforms are planned. The first target I will try after iOS will indeed be Android. I have installed the NDK, the emulator and the Android build tools on my computer, but I have no experience with how Android apps are actually bundled, so I will have to figure that out. I don't have an Android device, but it seems that hxcpp builds for Android only have one target, unlike iOS, which has a separate simulator and real device targets. So hopefully the apps will work the same on a real Android device as they do in the emulator.

Another platform in the list is OS X. This is a lower priority, because I want to get proper mobile apps first and foremost. However, OS X builds should be quite straightforward – I will need to use my extern generator to create externs from AppKit in the OS X SDK. The application bundling is slightly different than iOS bundling but not much.

After that perhaps Windows and Linux builds for various desktop environments? I have not decided yet. Did you have any suggestions?

@zabojad
Copy link
Author

zabojad commented Nov 2, 2017

I'm mainly interested in the Android platform (along with the iOS one of course).

Unfortunately, I've not practice cpp development for too long so the only things I could give you a hand with are using, testing and reporting.

I do develop regularly for Android with the java SDK or with tools like Cordova (that I extend with plugins) so testing on different Android devices is not a problem (the Android simulator is crappy).

Well, I can only hope you'll get with a testable Android port soon!

@darmie
Copy link

darmie commented Nov 28, 2017

Hi @Aurel300 do you mind if i take on the android bit?

@Aurel300
Copy link
Owner

@darmie Well, I don't have time for plumob in the coming week or two, so sure, why not!

See what you can do on your fork, try to make sure there are no additional Haxe dependencies for a simple build. The Android platform should use hxcpp's Android target, which uses Android NDK. The NDK and builds should absolutely work without Android studio (i.e. only the command-line tools are needed). I don't know how .apk's are packaged yet, but plumob should do that as well.

Good luck and thanks in advance.

@darmie
Copy link

darmie commented Nov 29, 2017 via email

@darmie
Copy link

darmie commented Nov 29, 2017

By simply having Android SDK and Android NDK stored somewhere on the computer, you don't need Android Studio. Everything can be built from the command line.

@Aurel300
Copy link
Owner

@darmie I'm somewhat biased against Java, and I'd think having both platforms use hxcpp would be simpler. Nonetheless, if you think building via the Java target would be easier to develop, go for it. As long as it brings us closer to native apps on the Android, it is a success.

@darmie
Copy link

darmie commented Nov 29, 2017 via email

@Aurel300
Copy link
Owner

Aurel300 commented Dec 15, 2017

@darmie Any progress with the Android version? No pressure of course but please let me know if you can't make it for any reason so I know what's up.

@darmie
Copy link

darmie commented Feb 28, 2018

@Aurel300 sorry for the long silence, life happened and day job stole my soul. I have not been able to do something tangible yet, although I did look into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants