AHPSDR

From Ghpsdr3 SDR project
Revision as of 02:56, 24 September 2012 by Alexlee188 (Talk | contribs) (Android client for listening to dspservers)

Jump to: navigation, search

Android client

NOTE: with the change in the LO_offset mechanism in dspserver to support zoom, older clients (such as aHPSDR) are DEPRECATED. Please update to the latest glSDR and QtRadio client versions.

For those with incompatible opengl ES v2.0 devices (such as those with Adreno GPU's), the non-opengl aHPSDR client will give wrong frequency offsets on the display. Currently we have no plans to update a non-opengl version of the android client. You can change your android device to one that is compatible (eg Mali GPU, Imagination SGX540 GPU etc. but just NOT Adreno). We have no plans to write a version of glSDR that can work around the problem (bugs?) in the Adreno opengl driver. (None of the glSDR developers have a device with Adreno GPU for debugging anyway.) As this is an open source GPL'ed project, any interested parties can fork the source code and develop a version for their favorite device :-)

Android client for listening to dspservers

  • Sep 24 2012 glSDR version 15 is in Play Store. You can also download here:

http://code.google.com/p/sdr-widget/downloads/detail?name=glSDR15.apk&can=2&q=

  • Sep 20 2012 glSDR version 12 is in Play Store. You can also download here:

http://code.google.com/p/sdr-widget/downloads/detail?name=glSDR12.apk&can=2&q=

It has an 80khz FM filter for listening to FM broadcasts and also options for Spectrum Averaging.

  • Sep 14 2012 glSDR version 10 is in Play Store, For those without access to Play, you can download from:

http://code.google.com/p/sdr-widget/downloads/detail?name=glSDR10.apk&can=2&q=


  • Sep 12 2012 The zoom feature has been ported to glSDR. Ver 9 is now in Play store. For those without access to Play store, you can download the apk here:

http://code.google.com/p/sdr-widget/downloads/detail?name=glSDR9.apk&can=2&q=

With the recent changes, high bandwidth rigs are now adequately supported by ghpsdr3-alex. You can zoom in and out to spectrum/waterfall up to 960 ksps and beyond.



  • July 3 2012 Experimental version of glSDR (version 5) that has Tx capabilities. Will only work in certain devices capable of 8khz microphone audio recording and with fast CPU at the moment. Go to MENU > Allow Tx to enable tx. You need to supply the User and Password to enable Tx with servers with password protected Tx (ie ALL the 'public' ones). glSDR (v5) is in Google Play.


Change log: Biuld now has a Server list feature just like QtRadio look under >>menu >>Servers and select from among the active servers.


  • Pre Feb 11 2012 build can be found HERE:[[1]]






Set up a programming environment for aHPSDR


Install Eclipse -I chose the "Eclipse Classic 3.7.x" and got it here: <http://www.eclipse.org/downloads/>

Download and set up the Android SDK and ADT plugins for Eclipse by following the instructions located here: <http://developer.android.com/sdk/installing.html>

You may also need to install Java. See the instruction at the bottom of the above link.

Once all above is installed start Eclipse and go to the menu / Window and select the "Android SDK Manager" Here you add the API packages for the target Android platform(s.)

John Melton's aHPSDR is currently written for Android 2.2, API level 8. Be sure to check the top level box for API level 8. It should also run well under API level 7 if your device is 2.1. You may have to adjust the properties to get it to build, though.

Unless you want to tackle rewriting the application for a higher API level, you really don't need to download any of the higher levels, although it wont hurt anything.

You can also install an android device simulator. You can bypass this step if you would rather test the .apk directly on your USB connected device. The simulators are quite slow and require patience when they initialize. The aHPSDR program runs slow and choppy as well (at least on my box -YMMV). You can set up the simulator from the Menu/ Window / AVD manager

Get the aHPSDR sources from: svn co http://svn.tapr.org/repos_sdr_hpsdr/trunk/N6LYT/ghpsdr3/branches/android/ This will create a folder named android in you home directory.

To get started create a new project: File / New / Project. From the select a Wizard window select Android / Android Project then click Next>

Give your project a new name then click Create project from existing source Then Browse to the location the sources are located home/android/aHPSDR then click Next. Select the target platform/API, Select Android 2.2 (Platform 2.2 API Level 8) then click Finish.

You will now see your new project in the Package Explorer window on the left. Select it then from the Menu Run/ Run. When the window opens select run as android application then click OK

Wait for the ADP simulator to initialize ( could take several minutes and you will have to unlock, etc just like the real device. ) Go to the applications on the device and select aHPSDR.

Have fun!

73, Kevin

  • If you rebuild aHPSDR for 2.3.3 and when you are using Android 2.3, the performance is improved a lot over the one built for 2.1, so following Kevin's instructions is better than just installing the default aHPSDR.apk with (from the platform-tools directory
./adb install aHPSDR.apk