Small Aircraft
Flight Crew Instrument; Flight Crew Private
Flight Crew Last 90 Days 3.1; Flight Crew Total 690; Flight Crew Type 300
Situational Awareness; Human-Machine Interface; Distraction
Aircraft Equipment Problem Less Severe; Airspace Violation All Types; Deviation / Discrepancy - Procedural FAR; Deviation / Discrepancy - Procedural Published Material / Policy
Flight Crew Exited Penetrated Airspace
Aircraft; Human Factors; Airspace Structure; Software and Automation
VFR flight from ZZZ1 towards ZZZ2 and return with no specific route. Tablet GPS lost connection with autopilot and I lost situational awareness trying to get the GPS reconnected (using AVARE app). When I finally abandoned the effort and looked at the GPS I realized I was in ZZZ Class B airspace at approximately 3;200 MSL instead of below the 3;000 MSL floor as I usually am. Corrected altitude immediately and left the Class B; went home and landed.I should have had the GPS completely set up before departure and should also have stayed at my usual altitude of 2;500 MSL for local flights.  I really don't have an excuse for losing situational awareness. Problem was exacerbated by opening a 2nd app (Naviator) at which point I didn't know which app might have been trying to control the autopilot.  I will certainly not make that mistake again! Had not flown at all from 5 months so I am admittedly not as proficient as I would like to be. Will be correcting that situation shortly also!
GA pilot reported losing GPS connection on tablet resulting in a Class B airspace incursion.