Back to project page wigle-wifi-wardriving-badfork.
The source code is released under:
/* * Copyright (c) 2010-2012, Andrew Carra, Robert Hagemann, Hugh Kennedy * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permi...
If you think the Android project wigle-wifi-wardriving-badfork listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package net.wigle.wigleandroid.listener; // w ww . j a v a 2 s. c o m import net.wigle.wigleandroid.ListActivity; public final class PhoneStateFactory { private PhoneStateFactory() {} public static PhoneState createPhoneState() { try { Class.forName("android.telephony.SignalStrength"); ListActivity.info("Using PhoneState7"); return new PhoneState7(); } catch (Exception ex) { ListActivity.info("Using original PhoneState"); } return new PhoneState(); } }