Android Development using C++ | Coursera Community
Coursera Header
Question

Android Development using C++

  • 16 October 2020
  • 2 replies
  • 117 views

Badge +1

I am an M.Tech student and in my project, I want to use C++ for developing an Android App. This app will utilize the fasttext library from facebook to solve some NLP related classification tasks. I want to use C++ because it will help me in becoming a better ML Engineer. 

 

I am not able to find any tutorial for developing Android Apps using C++. Can anyone help me with this?


2 replies

Userlevel 6
Badge +11

Hi, can you find here below something for you? Android is Google, isn’t it?

https://developers.google.com/edu/c++?hl=en

Badge

Hi,

 

I will say that 99% of the ML code I have seen on customers’ side is Python or Scala :-/ I have not seen any C++ code anywhere. I agree they are not doing Android applications, but even on Coursera classes they are using Python for ML on Android.

 

So while it’s most probably doable, I have the feeling that finding tutorials and examples is not going to be very easy :-/

 

fasttext seems to have to be called in Python. Here is an extract of the documentation:

For the word-similarity evaluation script you will need:

  • Python 2.6 or newer
  • NumPy & SciPy

For the python bindings (see the subdirectory python) you will need:

  • Python version 2.7 or >=3.4
  • NumPy & SciPy
  • pybind11

 

I don’t want to get you away of C++ (I tried to do what ever I can in Java), but I feel that it might not be your best option.

 

JM

Reply