Can cc or gcc produce an APK output file?

Trenix25

Member
Joined
Aug 15, 2017
Messages
67
Reaction score
15
Credits
508
What exactly is an APK file? Is it an acronym? Can I write C source code, perhaps including inline assembly, and then have cc or gcc produce an APK output file so I can transfer it to my Android tablet and run the newly written app on my tablet? I have both an ftp server and client on my tablet. I also have a telnet server and telnet client on my tablet.

I would be doing the work on a laptop or desktop running Linux. Then I would want to transfer the program to my tablet to be run.

Do Apple devices use APK files too or something else? Will cc or gcc produce code that can run on an iTab or iPhone even if I'm writing the source code on a PC running Linux?

Signed,

Matthew Campbell
 


Bayou Bengal

Active Member
Joined
Sep 14, 2017
Messages
189
Reaction score
220
Credits
77
Hi Trenix, I'm not a PC programmer, but a quick search of the net produced this: APK File Description
 

atanere

Well-Known Member
Joined
Apr 6, 2017
Messages
2,624
Reaction score
2,765
Credits
-11
I'm not a programmer either. This page gives you a "Hello-World" introduction to programming for Android though, so it might be useful, especially noting the tools you need... Java Development Kit (JDK), Android Software Development Kit (SDK), and Android Studio IDE (although I think other IDE's may be available).

It sounds like you first test your new app in an emulator, but then it describes transferring the app to real devices (your tablet). It all sounds like heavy Java lifting too, so hopefully your skill in C will translate well into that language.

I think that eventually, you will land here too:
https://source.android.com/
https://developer.android.com/index.html

Cheers
 
MALIBAL Linux Laptops

Linux Laptops Custom Built for You
MALIBAL is an innovative computer manufacturer that produces high-performance, custom laptops for Linux.

For more info, visit: https://www.malibal.com

Members online


Latest posts

Top