Difference between revisions of "AHPSDR"

From Ghpsdr3 SDR project
Jump to: navigation, search
(Android client for listening to dspservers)
(Android client for listening to dspservers)
Line 1: Line 1:
 
==Android client for listening to dspservers==
 
==Android client for listening to dspservers==
 +
 +
 +
----
 +
 +
 +
'''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
 +
 +
----
  
  

Revision as of 11:59, 13 February 2012

Android client for listening to dspservers



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



QR AHPSDR.png


 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:[[1]]