News for hackers. Stuff that matters.
Re:How to write an iOS app purely in C by aninteger on Friday June 06, 2014 @10:22PM (#7861070)
Well done.. I'm curious about whether this would be possible in Android. I'm not talking about OpenGL and using the ndk but creating Android activities. Would it be much much more difficult?
Re:How to write an iOS app purely in C by Ologn on Friday June 06, 2014 @11:19PM (#7861151)
"I'm not talking about OpenGL and using the ndk but creating Android activities"

I'm not really sure what you mean. Any program for Android which is 100% C code is going to be using the NDK in most cases. Including ones creating an activity natively ( http://developer.android.com/reference/android/app/NativeAct... ).

Re:How to write an iOS app purely in C by speeder on Friday June 06, 2014 @11:43PM (#7861198)
Seemly Marmalade SDK create android apps without using NDK...

Seemly what it do is compile a valid ARM code using arm abi (not even the linux abi), and then there is a component that do use android OS stuff to load in the memory the code you compiled for arm abi...

Funky stuff. And patended. (Marmalade website make VERY CLEAR that their "Secret sauce" is their loaders, that are also very much patended...)

Re:How to write an iOS app purely in C by zachlipton on Friday June 06, 2014 @10:32PM (#7861081)
Well I suppose the Android equivalent would be writing raw Dalvik bytecode. Certainly possible, but probably not a lot of fun. It wouldn't be nearly as informative about the underlying architecture in any case.
Re:How to write an iOS app purely in C by richardjrossiii on Friday June 06, 2014 @11:09PM (#7861136)
I'm not sure how the JNI works on Android, but theoretically, yes. I am not a huge android fan however, so I probably won't be the one to attempt it.