Home > Back-end >  How to make good programming c into software to phone also can play?
How to make good programming c into software to phone also can play?

Time:11-11

How to make good programming c into software to phone also can play?

CodePudding user response:

C language should not be possible, using C + + Builder code FMX libraries can be compiled into a number of platforms, including computers and mobile phones,

CodePudding user response:

C is not possible? Linux platform does not support C, method are many, depends how you want to play

CodePudding user response:

refer to the second floor gouyanfen response:
C could not? Linux platform does not support C, to have a lot of, see how you want to play


Pure C program can compile shing can run on android or iOS application? I have never heard of,

CodePudding user response:

refer to the second floor gouyanfen response:
C could not? Linux platform does not support C, to have a lot of, see how you want to play


I can think of is that you give phone to brush a Linux kernel, no android, you write programs in the kernel, directly from 0 to start building a graphical system, and the programs are a graphical interface, the equivalent of development on the DOS graphics interface program, if your graphics system can general, becomes another android,

CodePudding user response:

reference 4 floor ooolinux response:
Quote: refer to the second floor gouyanfen response:

C is not possible? Linux platform does not support C, to have a lot of, see how you want to play


I can think of is that you give a phone to brush a Linux kernel, no android, you write programs in the kernel, directly from 0 to start building a graphical system, and the programs are a graphical interface, the equivalent of development on the DOS graphics interface program, if your graphics system can general, becomes another android,

What you said is a solution, it has AndroidVirtual Terminal such as virtual Terminal solution, although around a circle, but his shoulder

CodePudding user response:

reference 5 floor gouyanfen reply:
Quote: refer to 4th floor ooolinux response:

Quote: refer to the second floor gouyanfen response:

C is not possible? Linux platform does not support C, to have a lot of, see how you want to play


I can think of is that you give a phone to brush a Linux kernel, no android, you write programs in the kernel, directly from 0 to start building a graphical system, and the programs are a graphical interface, the equivalent of development on the DOS graphics interface program, if your graphics system can general, becomes another android,

What you said is a solution, it has AndroidVirtual Terminal such as virtual Terminal solution, although around a circle, but the shoulder can

Virtual terminal is equivalent to the Windows command line? So can only write characters program,

CodePudding user response:

C language is C + +, a big reason is that not all kinds of libraries (including graphics library) and STL available, only based on the system API,

CodePudding user response:

Theoretically, pure C calls the android SDK and the NDK functions can also write android applications, like pure C calls the Windows API can also write, I'm afraid no one practical application these written

CodePudding user response:

Practical application, I'm afraid no one so write

CodePudding user response:

refer to eight floor early play play nuclear response:
theory, pure C calls the android SDK and the NDK functions can also write android applications, like pure C calls the Windows API can also write a program, I'm afraid no one practical application of these write


Don't use a Java code?

CodePudding user response:

Don't need a Java program itself, but on the android start need Java, because although the android is based on the Linux kernel, but it is not allowed to run Linux directly executable, run native applications have two kinds of methods:
Compile application for Shared libraries. So, use a Java program calls. So the entry point, based on android the NDK native applications, like Delphi, CB generated android applications are using this method
The second is using the debug tools adb can directly load the Linux executables, this method is not practical, because need root permission

CodePudding user response:

11 references, play big shoot early nuclear response:
don't need a Java program itself, but on the android start need Java, because although the android is based on the Linux kernel, but it is not allowed to run Linux directly executable, run native applications have two kinds of methods:
Compile application for Shared libraries. So, use a Java program calls. So the entry point, based on android the NDK native applications, like Delphi, CB generated android applications are using this method
2 it is to use debugging tools adb can directly load the Linux executables, this method is not practical, because need root authority


I see ~
  • Related