Back to project page mitlocate.
The source code is released under:
MIT License
If you think the Android project mitlocate 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 edu.mit.locate.tabs; // w w w . j a v a 2s .c o m import android.content.SharedPreferences; import android.content.SharedPreferences.Editor; import android.os.Bundle; import android.support.v4.app.Fragment; public class NavigationTab extends Fragment { SharedPreferences prefs; String installID; Editor editor; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); prefs = getActivity().getSharedPreferences("MITLOCATE", 0); installID = prefs.getString("InstallID", null); } }