Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C++ Command Line Apps on Android?

Is it possible to make a command line app for linux, and then run it on android with shell? Since android runs on linux, I don't see why there would be any problems running it. I know that /system/bin/* has all the things you can use from adb so this should be the same.

like image 546
nebkat Avatar asked Jan 06 '11 11:01

nebkat


People also ask

Can you use C for Android apps?

Can I make Android Apps in the C language? Google offers the native development kit (NDK) that uses native languages like C and C++ for Android development. But you can't build an entire Android app with C or C++. You need to learn Java.

Can we run cmd in Android?

Open the Command Shell on an Remote Endpoint Using the Android Access Console. Remote command shell enables privileged users to open a virtual command line interface on remote computers. Users can then type locally but have the commands executed on the remote system. You can work from multiple shells.

What is command-line tool for Android?

The Android SDK Command-Line Tools package contains various tools for building and debugging Android apps. It is released concurrently with Android Studio and is installed in the android_sdk /cmdline-tools/ version /bin/ directory.

Can we make APK using C?

yes you can. theoretically! or you may even write the assembly for your apk directly. Save this answer.


1 Answers

Yes, it's possible. Here is one claim of doing this successfully.

like image 114
Jaywalker Avatar answered Oct 06 '22 02:10

Jaywalker