search

Home  >  Q&A  >  body text

开源硬件 - android手机能用C语言或python直接控制硬件吗?

android手机也是基于LINUX的,能不能直接在LINUX基础上做开发控制各硬件的使用呢?比如用c语言控制wifi连接并上网。有没有相关的接口呢?谢谢

巴扎黑巴扎黑2947 days ago385

reply all(3)I'll reply

  • 伊谢尔伦

    伊谢尔伦2017-04-17 13:13:14

    See Android NDK
    (Looks like the homepage is blocked?)

    reply
    0
  • 高洛峰

    高洛峰2017-04-17 13:13:14

    c seems to be ok. Is Android developed on the basis of linux? According to common sense, it is definitely ok

    reply
    0
  • 天蓬老师

    天蓬老师2017-04-17 13:13:14

    It is easier to use python. In fact, it is still the java interface that is called.
    Using c, you basically have to deal with the davlik virtual machine and other underlying interfaces, which is also possible, but requires root permissions.

    reply
    0
  • Cancelreply