开发者

Objective C to Java Android [closed]

开发者 https://www.devze.com 2023-03-30 18:24 出处:网络
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time,or an extraor开发者_开发知识库dinarily narrow situation that is not
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraor开发者_开发知识库dinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. Closed 11 years ago.

I have to use an Objective C code and translate it into Java for Android.Actually I've never use Objective C before and it's really gives me headache to translate the code,because it's really different from Java (for me as syntax).Can anyone help me a little with the tranlate or help me to understand what the code is doing..I can't get the idea.

Thanks in advance!!!

Here is the code that I need to translate:

EDIT : Code is removed.


Im not sure about you requirement. But this might be some help. You could convert you obj-c code to c and use the android NDK

http://marakana.com/forums/android/examples/49.html

The above is an example to call c code from android apps.

0

精彩评论

暂无评论...
验证码 换一张
取 消