Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I used to think native code is only for one platform and you should re-write the code to run it on another platform.
But then i heard about this Java slogan.
Can i write native code for Windows and then run it on Android?

I know about html5 and so on, but i am talking about native code.
Posted
Updated 31-Dec-14 22:36pm
v2

See my response to your repost of this question.

And no, you can certainly not run native Windows code on an Android device. Android uses Java, but its program structure is very specific to the Android OS so it will not run on other systems.
 
Share this answer
 
No.
Native code (not Java), written for Windows, depends on the Windows API, that is not present in Android.

Best wishes,
Pablo.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900