[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

How to write an Android app in C++ ?

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 21
Thread images: 1

File: mathphd.jpg (34KB, 640x427px) Image search: [Google]
mathphd.jpg
34KB, 640x427px
How to write an Android app in C++ ?
>>
>>57833325
BTW, why isn't there an app dev general like there's for web dev? Isn't app developing a faster growing industry now?
>>
>>57833333
>>
>>57833325
Visual Studio
>>
>>57833325
Qt
>>
>>57833359
No
>>
>>57834832
(not OP) It's a pain to get the android kit set up and working, really.
I actually gave up on the last attempt.
Is there maybe some step-by-step how-to? The official Qt documentation is not helping very much.
>>
>>57836690
Isn't there a
 sudo apt-get install [installs all the shit] 
for it ?
>>
>>57833325
Just don't. Everyone, even the developers of the NDK recommend against it.
>>
>>57836801
That's what non mentally challenged people call a package.
>>
>>57836829
>playing a smartass anonymously
So is there a
 package 
that installs all the shit for Qt Android development?
>>
>>57833325
Write the gui using java and then reference the C code into it.

Or use SDL or Qt.
>>
>>57836819
Can it even be done with Python? Wouldn't be nearly as efficient as C++, no?

I forgot the little Java I knew, don't have the time to relearn now for one or two apps I want to write.
>>
>>57836865
There are several packages in AUR (SDK, NDK, Qt5-android) and more, but nothing worked for me just like that. Also there are catches like you can't just take the latest NDK, but one specific version and apply some Qt patch, which you can find somewhere on their website.
I got it working once, but can't seem to do it again.
>>
>>57836819
The possibility to simply compile one application for desktop or for android with just using different toolchain is amazing, tbqh
>>
>>57836983
Qt spent so much time advertising it being MULTIPLATFORM you'd think it was all available with one click.
>>
>>57837109
Yeah, this was kind of a disappointment. But maybe I'm doing something wrong. Also once you get it set up, it seems to work fine.
>>
>>57837842
Damn, I finally got it working again on Manjaro. Thanks /g/ for reminding me!
Maybe I could write a blog post or something about setting up Qt for Android, if anybody was interested?
>>
>>57833325
>Download Android Studio
>New Project
>C/C++ Project
>Select Template
>Select Target Devices

done
>>
>>57838518
>>Download Android Studio
This? https://developer.android.com/studio/index.html
>>
>>57838607
Yes
Thread posts: 21
Thread images: 1


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.