AHPSDR
Android client for listening to dspservers
- The original APK can be downloaded HERE:http://napan.com/ve9gj/aHPSDR.apk
- May 4 2012
aHPSDR (opengl branch). This version uses opengl for waterfall display. Experimental. Uses opengl es v2.0 for waterfall display. Uses Orthographic 2D projection so should work in all devices in portrait and landscape orientations. With offloading of workload from CPU to GPU the app runs smoother and the audio is uninterrupted. http://code.google.com/p/sdr-widget/downloads/detail?name=aHPSDRgl.apk&can=2&q=
- Apr 18 2012 New build of aHPSDR from the opengl branch. Improvements in the spectrum/waterfall refresh rates. Only works with Protocol-3 capable dspservers. Uses newer API's so may not work in older Android. WIP for opengl display - not activated yet.: [1]
- Feb 11 2012 Alternate download: http://napan.com/ve9gj/aHPSDR.apk
- Feb 11 2012 svn: TAPR svn
Change list for the Feb 11 2012 build: AHPSDR now has a Server list feature just like QtRadio look under >>menu >>Servers and select from among the active servers.
- Not current pre Feb 11 2012 build can be found HERE:[[2]]
- See the AHPSDR Android Client in use on YouTube:http://www.youtube.com/watch?v=up-BEKxTTXs
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
- I noted that if you rebuild aHPSDR for 2.3.3 and when you are using Android 2.3, the performance is improved a lot, so following Kevin's instructions is better than just installing the default aHPSDR.apk with (from the platform-tools directory
./adb install aHPSDR.apk