Widespread Augmented Reality

Widespread Augmented Reality
Click on the image to get the Android Augmented Reality Heads up Display

Sunday, November 15, 2020

HackRF One and Portapack Installation with Mayhem

Since the PortaPack that I bought off eBay was only $66.45, what could I expect but bare bones and not even bolts to hold the corners down. See images.

Nevertheless, the purpose of this exercise is loading Mayhem not aesthetics.  I followed the instructions HackRF+PortaPack+Mayhem firmware instructions on YouTube.

Here is my experience that includes the Mayhem flash tool NOT recognizing the HackRF+PortaPack.

1.  I had to first find a USB / SD card adapter so that I could format a 16 GB card to Fat32 from my Windows PC

2. Leaving the USB / SD card plugged in to my PC,  I then downloaded the Mayhem fork from GitHub. Two folders: mayhem_v1.3.0_COPY_TO_SDCARD.7z, mayhem_v1.3.0_FIRMWARE.7z

 3. After using the PC to copy the files to the SD card, I plugged that card into the newly assembled HackRF+PortPack.

4. Then I attached the antenna and connected the HackRF+PortPack to my PC with a USB cable.

5. The BIG SNAP was that the Mayhem flash tool (flash_portapack_mayhem.bat)  did not recognize the HackRF+Portapack.

6. I resolved this, by uninstalling the USB driver from inside Windows Device Manager. See images.

7. After the uninstall, I UNPLUGGED and PLUGGED back in the HackRF+PortaPack.

8. Windows then recognized it again and so did the Mayhem flash tool.

9. All good now. See success image.

Bare bones set up on the cheap.

Device Manger


Success


 



Tuesday, November 10, 2020

Yet Another Ham Radio Contact Logger

 The newest version now has export to CSV and edit record functions.  Try it out at https://play.google.com/store/apps/details?id=com.s33me.hamsandwich.


The source code is at https://github.com/shimart96/HamSandwich2




Friday, November 6, 2020

Android 10 - Adding Icons to Menu Items

They don't make it easy and previous methods like the following do not work.

<item android:id="@+id/action_settings2"    
   android:title="@string/action_settings2"
   android:icon=@drawable/your_image"/>
 
I had to add a menu type image through Android Studio (See screen shots) and use the following menu XML:
 
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
tools:context="com.s33me.hamsandwich.BaseMenu"
android:layout_height="match_parent" android:layout_width="match_parent">
<item
android:id="@+id/action_more"
android:title=""
>
<item android:id="@+id/item1"
android:icon="@drawable/ic_action_search"
app:showAsAction="always"
android:title="Search"
/>

<item android:id="@+id/item4"
android:icon="@drawable/ic_action_mail"
app:showAsAction="always"
android:title="Export"
/>
<item android:id="@+id/item2"
android:icon="@drawable/ic_action_home"
app:showAsAction="ifRoom"
android:title="Home"/>
<item android:id="@+id/item3"
android:icon="@drawable/ic_action_exit"
app:showAsAction="ifRoom"
android:title="Exit"
/>
</item>
</menu>
This looks like this (ugly and inconsistent):

 

 

 

 
 
 

Thursday, November 5, 2020

Ham Radio QSO Logger for Android

While I removed nearly twenty five of my old apps from Google Play, I also added a few that are meaningful to my current technological station in life like Ham Sandwich.  https://play.google.com/store/apps/details?id=com.s33me.hamsandwich