Back to project page pinpoint-android.
The source code is released under:
MIT License
If you think the Android project pinpoint-android 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 co.islovely.pinpoint; //w w w . ja va 2s . c o m import android.util.Log; public class Pinpoint { public static final String EXTRA_LAUNCHERITEM = "LauncherItem"; private static User attacker = new User(User.TYPE_ATTACKER), user = new User(User.TYPE_USER); private static User currentUser = user; public static void log(String message) { Log.i("Pinpoint", message); } public static User getAttacker() { return Pinpoint.attacker; } public static User getCurrentUser() { return Pinpoint.currentUser; } public static User getUser() { return Pinpoint.user; } public static void handoffToAttacker() { Pinpoint.currentUser = Pinpoint.attacker; } }