Denton-L / based-connect

A reverse-engineered Bose Connect imitation program for Linux.
GNU General Public License v3.0
262 stars 27 forks source link

Is it possible to compile on Android? #7

Closed nadnerb33 closed 5 years ago

nadnerb33 commented 5 years ago

I know there is an Android app already, but I would like to run some of the functions as part of automated process which you can't do via the app.

Any idea if this should compile on Android? I downloaded the repo, and a copy of bluez src. After fixing a few linking issues I now get some errors buildsSources/main.c:488: undefined reference to 'str2ba'

As far as I can see, str2ba is defined in the bluez bluetooth.c file.

Denton-L commented 5 years ago

This wasn't really written with Android in mind so I can't guarantee that it'll even compile for that.

Grimler91 commented 5 years ago

Android uses fluoride (bluedroid) and not bluez so to get it to work you need to compile your own custom android ROM (or at least kernel) to make bluez work. This project: https://bluez-android.github.io/ does that for android 5 and android 4.4. I guess no one has managed/bothered to do it for newer android versions.

This issue can be closed in my opinion.

nadnerb33 commented 5 years ago

Thanks, agreed, will close the issue.