Codec2 on Android: C or Java

510 views
Skip to first unread message

Matthew Pitts

unread,
Oct 5, 2017, 7:19:09 PM10/5/17
to digita...@googlegroups.com
Evening all,


I've recently acquired a Motorola Moto Z2 Play smartphone, mostly for
its experimental aspects, and am beginning to code a Digital Voice
application for Android. One thing I am wondering about is what language
I should use to incorporate support for Codec2 into the application,
which will also be used to control an SDR transceiver Moto Mod that I
plan to build as well.


Matthew Pitts

N8OHU


Adrian Musceac

unread,
Oct 5, 2017, 8:18:59 PM10/5/17
to digita...@googlegroups.com
Hi Matthew,

I wrote a SDR application which works on Android, coincidentally it's
the Moto G phone, a slightly older generation. But I needed a Linux
userspace for all the bells and whistles. The application is called
qradiolink and you can find it on Github and Youtube. I had intended
to port it over to native Android,at least the GUI, but the project
(codenamed DroidDV) didn't quite take legs.

I can share some of my experience if you want. You'll have to juggle a
limited CPU budget while dealing with high data rates over USB (maybe
up to tens of Msps/second depending on your requirements) so plan to
rely as much as you can on the FPGA to do the hard work for you.
The best SDR device for that is the Ettus bus series as the software
support is absolutely excellent.
If you use Java, plan on getting familiar with the NDK as you'll be
dealing with it a lot. In my opinion the Android platform libraries
are inferior to recent Qt with QML, but it does have a wide support
and developer base so you'll find plenty of information on the
internet.

The next problem you'll confront is hardware support. Right now,
between Gnuradio, SoapySDR, Osmosdr and UHD, you have support on Linux
for anything out there made easy. With Android, you'll be limited to a
couple of devices, specifically the Ettus devices, and AFAIK you'll
have to do all Lime support by yourself.

Let me know if you have other questions.

Cheers,
Adrian

On 10/6/17, 'Matthew Pitts' via digitalvoice
> --
> You received this message because you are subscribed to the Google Groups
> "digitalvoice" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to digitalvoice...@googlegroups.com.
> To post to this group, send email to digita...@googlegroups.com.
> Visit this group at https://groups.google.com/group/digitalvoice.
> For more options, visit https://groups.google.com/d/optout.
>
Reply all
Reply to author
Forward
0 new messages